2015-04-02 22:29:18 +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
|
|
|
|
|
|
|
|
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="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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project-dist</artifactId>
|
2018-10-02 17:11:41 +00:00
|
|
|
<version>3.3.0-SNAPSHOT</version>
|
2015-04-02 22:29:18 +00:00
|
|
|
<relativePath>../../hadoop-project-dist</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
2018-10-02 17:11:41 +00:00
|
|
|
<version>3.3.0-SNAPSHOT</version>
|
2015-04-02 22:29:18 +00:00
|
|
|
<description>Apache Hadoop HDFS Client</description>
|
|
|
|
<name>Apache Hadoop HDFS Client</name>
|
|
|
|
<packaging>jar</packaging>
|
2015-04-08 23:30:08 +00:00
|
|
|
|
2016-03-04 23:42:04 +00:00
|
|
|
<properties>
|
|
|
|
<hadoop.component>hdfs</hadoop.component>
|
|
|
|
</properties>
|
|
|
|
|
2015-04-08 23:30:08 +00:00
|
|
|
<dependencies>
|
2015-08-30 01:37:05 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp</groupId>
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
</dependency>
|
2015-04-08 23:30:08 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<scope>provided</scope>
|
2015-06-23 18:40:21 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2015-04-08 23:30:08 +00:00
|
|
|
</dependency>
|
2015-10-28 22:54:37 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2019-01-30 02:29:09 +00:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2015-10-28 22:54:37 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-07-14 09:20:18 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-10-28 22:54:37 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mock-server</groupId>
|
|
|
|
<artifactId>mockserver-netty</artifactId>
|
|
|
|
<scope>test</scope>
|
2016-07-14 09:20:18 +00: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 22:54:37 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2016-09-23 02:36:16 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
</dependency>
|
2016-11-07 02:16:31 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
</dependency>
|
2015-04-08 23:30:08 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2015-04-02 22:29:18 +00: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 17:37:10 +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}/../../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 05:52:32 +00:00
|
|
|
<include>erasurecoding.proto</include>
|
2015-12-05 04:24:08 +00:00
|
|
|
<include>ReconfigurationProtocol.proto</include>
|
2015-07-08 17:37:10 +00: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 22:29:18 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|