2016-08-02 16:18:01 +00: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 16:59:55 +00:00
|
|
|
<artifactId>hadoop-yarn-services</artifactId>
|
2018-10-02 17:11:41 +00:00
|
|
|
<version>3.3.0-SNAPSHOT</version>
|
2016-08-02 16:18:01 +00:00
|
|
|
</parent>
|
2017-08-28 16:59:55 +00:00
|
|
|
<artifactId>hadoop-yarn-services-core</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
<packaging>jar</packaging>
|
2017-08-28 16:59:55 +00:00
|
|
|
<name>Apache Hadoop YARN Services Core</name>
|
2016-08-02 16:18:01 +00:00
|
|
|
|
2016-12-19 20:09:53 +00:00
|
|
|
<properties>
|
|
|
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
|
|
|
<yarn.basedir>${project.parent.basedir}</yarn.basedir>
|
|
|
|
</properties>
|
|
|
|
|
2016-08-02 16:18:01 +00: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 21:27:04 +00: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 21:12:12 +00:00
|
|
|
<include>ClientAMProtocol.proto</include>
|
2016-12-03 21:27:04 +00:00
|
|
|
</includes>
|
|
|
|
</source>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2016-08-02 16:18:01 +00: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-02 01:45:44 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.json</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2016-08-02 16:18:01 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<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>
|
2018-12-07 07:39:53 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
2016-08-16 16:42:24 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 18:09:00 +00:00
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
2016-08-16 16:42:24 +00:00
|
|
|
</dependency>
|
|
|
|
|
2016-08-02 16:18:01 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 18:09:00 +00:00
|
|
|
<artifactId>hadoop-yarn-client</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-04-18 06:04:35 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2018-10-19 23:46:48 +00:00
|
|
|
<artifactId>hadoop-registry</artifactId>
|
2017-04-18 06:04:35 +00:00
|
|
|
</dependency>
|
|
|
|
|
2016-08-02 16:18:01 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 18:09:00 +00:00
|
|
|
<artifactId>hadoop-yarn-common</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-10-12 04:05:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-yarn-server-common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2016-08-02 16:18:01 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 18:09:00 +00:00
|
|
|
<artifactId>hadoop-common</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2017-08-29 18:09:00 +00:00
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-yarn-api</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
2018-05-01 20:46:34 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2016-08-02 16:18:01 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
2017-08-29 18:09:00 +00:00
|
|
|
<artifactId>commons-configuration2</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-client</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-framework</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
2017-08-29 18:09:00 +00:00
|
|
|
<!-- ======================================================== -->
|
|
|
|
<!-- Test dependencies -->
|
|
|
|
<!-- ======================================================== -->
|
2016-08-02 16:18:01 +00:00
|
|
|
|
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2019-01-30 02:29:09 +00:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2016-08-02 16:18:01 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2016-08-16 16:42:24 +00:00
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-minicluster</artifactId>
|
2016-08-16 16:42:24 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2017-04-20 15:53:04 +00:00
|
|
|
<dependency>
|
2017-08-29 18:09:00 +00:00
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-test</artifactId>
|
2017-04-20 15:53:04 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2019-04-17 16:18:19 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2016-08-02 16:18:01 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</project>
|