| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>slider-install</artifactId> |
| <name>Slider Install</name> |
| <packaging>pom</packaging> |
| <description> |
| |
| Builds any RPMs and other install packaging for Slider. |
| This is downstream of the slider assembly and the app packages, so |
| that anything from these can be installed in the RPM. |
| </description> |
| <parent> |
| <groupId>org.apache.slider</groupId> |
| <artifactId>slider</artifactId> |
| <version>0.40</version> |
| </parent> |
| |
| <properties> |
| <basedir>/usr/local/slider</basedir> |
| <confdir>${basedir}/conf</confdir> |
| <bindir>${basedir}/bin</bindir> |
| </properties> |
| |
| <build> |
| <plugins> |
| <!--read in a build.properties file if defined--> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>properties-maven-plugin</artifactId> |
| <version>${maven.properties.version}</version> |
| <executions> |
| <execution> |
| <phase>initialize</phase> |
| <goals> |
| <goal>read-project-properties</goal> |
| </goals> |
| <configuration> |
| <quiet>true</quiet> |
| <files> |
| <file>build.properties</file> |
| <file>../build.properties</file> |
| </files> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| |
| |
| </build> |
| |
| <reporting> |
| <plugins> |
| |
| |
| |
| </plugins> |
| </reporting> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.slider</groupId> |
| <artifactId>slider-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- |
| needed to order the build and ensure the agent tar is found |
| the test scope ensures that it isn't copied into the lib dir |
| --> |
| <dependency> |
| <groupId>org.apache.slider</groupId> |
| <artifactId>slider-agent</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <type>tar.gz</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.beust</groupId> |
| <artifactId>jcommander</artifactId> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| </dependency> |
| |
| </dependencies> |
| |
| |
| </project> |