2015-04-02 18:29:18 -04: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-29 04:39:49 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2015-04-02 18:29:18 -04: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"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
2019-05-27 02:28:21 -04:00
|
|
|
https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2015-04-02 18:29:18 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project-dist</artifactId>
|
2019-01-07 13:04:58 -05:00
|
|
|
<version>3.1.3-SNAPSHOT</version>
|
2015-04-02 18:29:18 -04:00
|
|
|
<relativePath>../../hadoop-project-dist</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
2019-01-07 13:04:58 -05:00
|
|
|
<version>3.1.3-SNAPSHOT</version>
|
2015-04-02 18:29:18 -04:00
|
|
|
<description>Apache Hadoop HDFS Client</description>
|
|
|
|
<name>Apache Hadoop HDFS Client</name>
|
|
|
|
<packaging>jar</packaging>
|
2015-04-08 19:30:08 -04:00
|
|
|
|
2016-03-04 18:42:04 -05:00
|
|
|
<properties>
|
|
|
|
<hadoop.component>hdfs</hadoop.component>
|
|
|
|
</properties>
|
|
|
|
|
2015-04-08 19:30:08 -04:00
|
|
|
<dependencies>
|
2015-08-29 21:37:05 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp</groupId>
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
</dependency>
|
2015-04-08 19:30:08 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<scope>provided</scope>
|
2015-06-23 14:40:21 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2015-04-08 19:30:08 -04:00
|
|
|
</dependency>
|
2015-10-28 18:54:37 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-07-14 05:20:18 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-10-28 18:54:37 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mock-server</groupId>
|
|
|
|
<artifactId>mockserver-netty</artifactId>
|
|
|
|
<scope>test</scope>
|
2016-07-14 05:20:18 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-buffer</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec-http</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-common</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-handler</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2015-10-28 18:54:37 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2016-09-22 22:36:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
</dependency>
|
2016-11-06 21:16:31 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
</dependency>
|
2015-04-08 19:30:08 -04:00
|
|
|
</dependencies>
|
|
|
|
|
2015-04-02 18:29:18 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>dev-support/findbugsExcludeFile.xml</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-07-08 13:37:10 -04: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}/../../hadoop-common-project/hadoop-common/src/main/proto</param>
|
|
|
|
<param>${basedir}/src/main/proto</param>
|
|
|
|
</imports>
|
|
|
|
<source>
|
|
|
|
<directory>${basedir}/src/main/proto</directory>
|
|
|
|
<includes>
|
|
|
|
<include>ClientDatanodeProtocol.proto</include>
|
|
|
|
<include>ClientNamenodeProtocol.proto</include>
|
|
|
|
<include>acl.proto</include>
|
|
|
|
<include>xattr.proto</include>
|
|
|
|
<include>datatransfer.proto</include>
|
|
|
|
<include>hdfs.proto</include>
|
|
|
|
<include>encryption.proto</include>
|
|
|
|
<include>inotify.proto</include>
|
2015-08-20 01:52:32 -04:00
|
|
|
<include>erasurecoding.proto</include>
|
2015-12-04 23:24:08 -05:00
|
|
|
<include>ReconfigurationProtocol.proto</include>
|
2015-07-08 13:37:10 -04:00
|
|
|
</includes>
|
|
|
|
</source>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludePackageNames>org.apache.hadoop.hdfs.protocol.proto</excludePackageNames>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-04-02 18:29:18 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|