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>
|
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
|
|
<relativePath>../../hadoop-project-dist</relativePath>
|
|
|
|
</parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
|
|
<description>Apache Hadoop HDFS Client</description>
|
|
|
|
<name>Apache Hadoop HDFS Client</name>
|
|
|
|
<packaging>jar</packaging>
|
2015-04-08 23:30:08 +00:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<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>
|
|
|
|
</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>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<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-07-08 17:37:10 +00:00
|
|
|
</includes>
|
|
|
|
</source>
|
|
|
|
<output>${project.build.directory}/generated-sources/java</output>
|
|
|
|
</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>
|