2016-08-02 12:18:01 -04:00
|
|
|
<!--
|
|
|
|
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>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-28 12:59:55 -04:00
|
|
|
<artifactId>hadoop-yarn-services</artifactId>
|
2017-07-26 02:54:17 -04:00
|
|
|
<version>3.0.0-beta1-SNAPSHOT</version>
|
2016-08-02 12:18:01 -04:00
|
|
|
</parent>
|
2017-08-28 12:59:55 -04:00
|
|
|
<artifactId>hadoop-yarn-services-core</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
<packaging>jar</packaging>
|
2017-08-28 12:59:55 -04:00
|
|
|
<name>Apache Hadoop YARN Services Core</name>
|
2016-08-02 12:18:01 -04:00
|
|
|
|
2016-12-19 15:09:53 -05:00
|
|
|
<properties>
|
|
|
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
|
|
|
<yarn.basedir>${project.parent.basedir}</yarn.basedir>
|
|
|
|
</properties>
|
|
|
|
|
2016-08-02 12:18:01 -04:00
|
|
|
<build>
|
|
|
|
<!-- resources are filtered for dynamic updates. This gets build info in-->
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
2016-12-03 16:27:04 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-maven-plugins</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>compile-protoc</id>
|
|
|
|
<goals>
|
|
|
|
<goal>protoc</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<protocVersion>${protobuf.version}</protocVersion>
|
|
|
|
<protocCommand>${protoc.path}</protocCommand>
|
|
|
|
<imports>
|
|
|
|
<param>${basedir}/src/main/proto</param>
|
|
|
|
</imports>
|
|
|
|
<source>
|
|
|
|
<directory>${basedir}/src/main/proto</directory>
|
|
|
|
<includes>
|
2017-08-14 17:12:12 -04:00
|
|
|
<include>ClientAMProtocol.proto</include>
|
2016-12-03 16:27:04 -05:00
|
|
|
</includes>
|
|
|
|
</source>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2016-08-02 12:18:01 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<environmentVariables>
|
|
|
|
<JAVA_HOME>${java.home}</JAVA_HOME>
|
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2016-12-01 20:45:44 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.json</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2016-08-02 12:18:01 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.beust</groupId>
|
|
|
|
<artifactId>jcommander</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
2016-08-16 12:42:24 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 14:09:00 -04:00
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
2016-08-16 12:42:24 -04:00
|
|
|
</dependency>
|
|
|
|
|
2016-08-02 12:18:01 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 14:09:00 -04:00
|
|
|
<artifactId>hadoop-yarn-client</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
2017-04-18 02:04:35 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 14:09:00 -04:00
|
|
|
<artifactId>hadoop-yarn-registry</artifactId>
|
2017-04-18 02:04:35 -04:00
|
|
|
</dependency>
|
|
|
|
|
2016-08-02 12:18:01 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 14:09:00 -04:00
|
|
|
<artifactId>hadoop-yarn-common</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 14:09:00 -04:00
|
|
|
<artifactId>hadoop-common</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 14:09:00 -04:00
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-yarn-api</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
2017-08-29 14:09:00 -04:00
|
|
|
<artifactId>commons-configuration2</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-client</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-framework</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
2017-08-29 14:09:00 -04:00
|
|
|
<!-- ======================================================== -->
|
|
|
|
<!-- Test dependencies -->
|
|
|
|
<!-- ======================================================== -->
|
2016-08-02 12:18:01 -04:00
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2016-08-16 12:42:24 -04:00
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-minicluster</artifactId>
|
2016-08-16 12:42:24 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-yarn-server-resourcemanager</artifactId>
|
2016-08-16 12:42:24 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2017-04-20 11:53:04 -04:00
|
|
|
<dependency>
|
2017-08-29 14:09:00 -04:00
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-test</artifactId>
|
2017-04-20 11:53:04 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2016-08-02 12:18:01 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</project>
|