237 lines
7.9 KiB
XML
237 lines
7.9 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
Licensed 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. See accompanying LICENSE file.
|
|
-->
|
|
<project xmlns:pom="http://maven.apache.org/POM/4.0.0">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<artifactId>hadoop-yarn</artifactId>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<version>3.4.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>hadoop-yarn-client</artifactId>
|
|
<version>3.4.0-SNAPSHOT</version>
|
|
<name>Apache Hadoop YARN Client</name>
|
|
|
|
<properties>
|
|
<!-- Needed for generating FindBugs warnings using parent pom -->
|
|
<yarn.basedir>${project.parent.basedir}</yarn.basedir>
|
|
<should.run.jdiff>true</should.run.jdiff>
|
|
<dev-support.relative.dir>../dev-support</dev-support.relative.dir>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-common</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.ow2.asm</groupId>
|
|
<artifactId>asm-commons</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hadoop.thirdparty</groupId>
|
|
<artifactId>hadoop-shaded-guava</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-cli</groupId>
|
|
<artifactId>commons-cli</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.websocket</groupId>
|
|
<artifactId>websocket-client</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey.jersey-test-framework</groupId>
|
|
<artifactId>jersey-test-framework-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey.jersey-test-framework</groupId>
|
|
<artifactId>jersey-test-framework-grizzly2</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-common</artifactId>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
<artifactId>zookeeper</artifactId>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.dropwizard.metrics</groupId>
|
|
<artifactId>metrics-core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xerial.snappy</groupId>
|
|
<artifactId>snappy-java</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-yarn-api</artifactId>
|
|
</dependency>
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-yarn-common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-yarn-common</artifactId>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-yarn-server-common</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-yarn-server-resourcemanager</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-yarn-server-tests</artifactId>
|
|
<scope>test</scope>
|
|
<type>test-jar</type>
|
|
</dependency>
|
|
<!-- 'mvn dependency:analyze' fails to detect use of this dependency -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-yarn-server-resourcemanager</artifactId>
|
|
<scope>test</scope>
|
|
<type>test-jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.rat</groupId>
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>src/test/resources/application_1440536969523_0001.har/_index</exclude>
|
|
<exclude>src/test/resources/application_1440536969523_0001.har/part-0</exclude>
|
|
<exclude>src/test/resources/application_1440536969523_0001.har/_masterindex</exclude>
|
|
<exclude>src/test/resources/application_1440536969523_0001.har/_SUCCESS</exclude>
|
|
<exclude>src/test/resources/resource-profiles.json</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>src-test-compile-protoc</id>
|
|
<configuration>
|
|
<skip>false</skip>
|
|
<additionalProtoPathElements>
|
|
<additionalProtoPathElement>
|
|
${basedir}/../../../hadoop-common-project/hadoop-common/src/main/proto
|
|
</additionalProtoPathElement>
|
|
<additionalProtoPathElement>
|
|
${basedir}/../hadoop-yarn-api/src/main/proto
|
|
</additionalProtoPathElement>
|
|
</additionalProtoPathElements>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
<artifactId>replacer</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>replace-generated-test-sources</id>
|
|
<configuration>
|
|
<skip>false</skip>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>replace-test-sources</id>
|
|
<configuration>
|
|
<skip>false</skip>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|