2013-06-07 17:45:06 -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-28 03:29:44 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2013-06-07 17:45:06 -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:24:59 -04:00
|
|
|
https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2013-06-07 17:45:06 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-project</artifactId>
|
2020-03-29 13:54:25 -04:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2013-06-07 17:45:06 -04:00
|
|
|
<relativePath>../../hadoop-project</relativePath>
|
|
|
|
</parent>
|
|
|
|
<artifactId>hadoop-nfs</artifactId>
|
2020-03-29 13:54:25 -04:00
|
|
|
<version>3.4.0-SNAPSHOT</version>
|
2013-06-07 17:45:06 -04:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>Apache Hadoop NFS</name>
|
|
|
|
<description>Apache Hadoop NFS library</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
|
|
|
|
<kerberos.realm>LOCALHOST</kerberos.realm>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<!-- Used, even though 'mvn dependency:analyze' doesn't find it -->
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2017-07-07 13:54:24 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<type>test-jar</type>
|
|
|
|
</dependency>
|
2013-06-07 17:45:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2018-05-02 04:30:10 -04:00
|
|
|
<scope>test</scope>
|
2013-06-07 17:45:06 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2019-01-29 21:29:09 -05:00
|
|
|
<artifactId>mockito-core</artifactId>
|
2018-05-02 04:30:10 -04:00
|
|
|
<scope>test</scope>
|
2013-06-07 17:45:06 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
2016-10-27 19:01:23 -04:00
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2013-06-07 17:45:06 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2015-09-21 12:32:25 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
2021-04-29 02:43:11 -04:00
|
|
|
<artifactId>netty-all</artifactId>
|
2015-09-21 12:32:25 -04:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2013-06-07 17:45:06 -04:00
|
|
|
<dependency>
|
2020-10-17 02:31:18 -04:00
|
|
|
<groupId>org.apache.hadoop.thirdparty</groupId>
|
|
|
|
<artifactId>hadoop-shaded-guava</artifactId>
|
2013-06-07 17:45:06 -04:00
|
|
|
</dependency>
|
2019-10-31 09:35:04 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-06-07 17:45:06 -04:00
|
|
|
</dependencies>
|
2013-08-21 13:54:08 -04:00
|
|
|
|
2014-06-27 08:00:55 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2021-03-10 20:56:07 -05:00
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
2014-06-27 08:00:55 -04:00
|
|
|
<configuration>
|
|
|
|
<excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml
|
|
|
|
</excludeFilterFile>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-10-06 22:23:35 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.skuzzle.enforcer</groupId>
|
|
|
|
<artifactId>restrict-imports-enforcer-rule</artifactId>
|
|
|
|
<version>${restrict-imports.enforcer.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>banned-illegal-imports</id>
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
<includeTestCode>true</includeTestCode>
|
2021-10-14 06:04:00 -04:00
|
|
|
<reason>Use hadoop-common provided implementations rather than the one provided by Guava</reason>
|
2021-10-06 22:23:35 -04:00
|
|
|
<bannedImports>
|
2021-10-14 06:04:00 -04:00
|
|
|
<bannedImport>org.apache.hadoop.thirdparty.com.google.common.base.Preconditions</bannedImport>
|
|
|
|
<bannedImport>com.google.common.base.Preconditions</bannedImport>
|
2021-10-06 22:23:35 -04:00
|
|
|
</bannedImports>
|
|
|
|
</restrictImports>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-06-27 08:00:55 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2013-08-21 13:54:08 -04:00
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>dist</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-assemblies</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>dist</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<attach>false</attach>
|
|
|
|
<!--<descriptorRefs>
|
|
|
|
<descriptorRef>hadoop-nfs-dist</descriptorRef>
|
|
|
|
</descriptorRefs>-->
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>../../hadoop-assemblies/src/main/resources/assemblies/hadoop-nfs-dist.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2013-06-07 17:45:06 -04:00
|
|
|
</project>
|