2018-10-23 06:16:06 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
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
|
|
|
|
|
2019-05-28 07:29:44 +00:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2018-10-23 06:16:06 +00:00
|
|
|
|
|
|
|
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="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-05-27 06:24:59 +00:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2018-10-23 06:16:06 +00:00
|
|
|
<parent>
|
|
|
|
<artifactId>hadoop-yarn</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2020-03-29 17:54:25 +00:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2018-10-23 06:16:06 +00:00
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>hadoop-yarn-csi</artifactId>
|
|
|
|
<name>Apache Hadoop YARN CSI</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
2023-12-01 04:23:47 +00:00
|
|
|
<grpc.version>1.53.0</grpc.version>
|
|
|
|
<animal-sniffer.version>1.21</animal-sniffer.version>
|
2018-10-23 06:16:06 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2020-11-10 06:19:40 +00:00
|
|
|
<groupId>org.apache.hadoop.thirdparty</groupId>
|
|
|
|
<artifactId>hadoop-shaded-guava</artifactId>
|
2018-10-23 06:16:06 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
2021-04-28 03:44:13 +00:00
|
|
|
<version>${hadoop.protobuf.version}</version>
|
2023-10-13 12:48:38 +00:00
|
|
|
<scope>${transient.protobuf2.scope}</scope>
|
2018-10-23 06:16:06 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-05-14 09:39:34 +00:00
|
|
|
<groupId>io.netty</groupId>
|
2018-10-23 06:16:06 +00:00
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-core</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
2023-12-01 04:23:47 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>animal-sniffer-annotations</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>animal-sniffer-annotations</artifactId>
|
|
|
|
<version>${animal-sniffer.version}</version>
|
2018-10-23 06:16:06 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-protobuf</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
2021-04-28 03:44:13 +00:00
|
|
|
<exclusions>
|
|
|
|
<!-- Exclude protobuf-java 2.5.0 -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-10-23 06:16:06 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-stub</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-netty</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
2020-07-09 04:59:47 +00:00
|
|
|
<exclusions>
|
|
|
|
<!-- Contained in netty-all. skip -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec-http2</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<!-- Contained in netty-all. skip -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-handler-proxy</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-10-23 06:16:06 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</dependency>
|
2019-04-17 16:18:19 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2022-08-30 08:26:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-10-23 06:16:06 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
2021-04-28 03:44:13 +00:00
|
|
|
<exclusions>
|
|
|
|
<!-- Exclude protobuf-java 2.5.0 -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-10-23 06:16:06 +00:00
|
|
|
</dependency>
|
2018-11-20 02:32:11 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
2018-12-05 20:56:10 +00:00
|
|
|
<scope>provided</scope>
|
2021-04-28 03:44:13 +00:00
|
|
|
<exclusions>
|
|
|
|
<!-- Exclude protobuf-java 2.5.0 -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-11-20 02:32:11 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-yarn-common</artifactId>
|
2018-12-05 20:56:10 +00:00
|
|
|
<scope>provided</scope>
|
2021-04-28 03:44:13 +00:00
|
|
|
<exclusions>
|
|
|
|
<!-- Exclude protobuf-java 2.5.0 -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-11-20 02:32:11 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-yarn-api</artifactId>
|
2018-12-05 20:56:10 +00:00
|
|
|
<scope>provided</scope>
|
2021-04-28 03:44:13 +00:00
|
|
|
<exclusions>
|
|
|
|
<!-- Exclude protobuf-java 2.5.0 -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-11-20 02:32:11 +00:00
|
|
|
</dependency>
|
2018-11-01 10:11:21 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2018-10-23 06:16:06 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2018-12-05 20:56:10 +00:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeScope>runtime</includeScope>
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2018-10-23 06:16:06 +00:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>target/</directory>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|
|
|
|
<version>${protobuf-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
2021-04-28 03:44:13 +00:00
|
|
|
<protocArtifact>com.google.protobuf:protoc:${hadoop.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
|
2018-10-23 06:16:06 +00:00
|
|
|
<pluginId>grpc-java</pluginId>
|
2023-12-01 04:23:47 +00:00
|
|
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
|
2018-10-23 06:16:06 +00:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>compile-custom</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>target/generated-sources/**</exclude>
|
|
|
|
<exclude>target/surefire-reports/**</exclude>
|
|
|
|
<exclude>target/protoc-dependencies/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-10-24 10:02:45 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludePackageNames>csi.v0</excludePackageNames>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-01-04 06:40:00 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${basedir}/target/generated-sources/protobuf/java</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-10-23 06:16:06 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-03-18 23:58:42 +00:00
|
|
|
</project>
|