|
@@ -0,0 +1,161 @@
|
|
|
+<?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.
|
|
|
+
|
|
|
+
|
|
|
+-->
|
|
|
+<project>
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <parent>
|
|
|
+ <groupId>org.apache.hadoop</groupId>
|
|
|
+ <artifactId>hadoop-project</artifactId>
|
|
|
+ <version>3.0.0-SNAPSHOT</version>
|
|
|
+ <relativePath>../../../../../hadoop-project</relativePath>
|
|
|
+ </parent>
|
|
|
+ <groupId>org.apache.hadoop.contrib</groupId>
|
|
|
+ <artifactId>hadoop-hdfs-fuse</artifactId>
|
|
|
+ <version>3.0.0-SNAPSHOT</version>
|
|
|
+ <packaging>pom</packaging>
|
|
|
+
|
|
|
+ <name>Apache Hadoop HDFS Fuse</name>
|
|
|
+ <description>Apache Hadoop HDFS Fuse</description>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.hadoop</groupId>
|
|
|
+ <artifactId>hadoop-hdfs</artifactId>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.hadoop</groupId>
|
|
|
+ <artifactId>hadoop-hdfs</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ <type>test-jar</type>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <!-- workaround for filtered/unfiltered resources in same directory -->
|
|
|
+ <!-- remove when maven-eclipse-plugin 2.9 is available -->
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-eclipse-plugin</artifactId>
|
|
|
+ <version>2.6</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <threadCount>1</threadCount>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>javadoc</goal>
|
|
|
+ </goals>
|
|
|
+ <phase>site</phase>
|
|
|
+ <configuration>
|
|
|
+ <linksource>true</linksource>
|
|
|
+ <quiet>true</quiet>
|
|
|
+ <verbose>false</verbose>
|
|
|
+ <source>${maven.compile.source}</source>
|
|
|
+ <charset>${maven.compile.encoding}</charset>
|
|
|
+ <groups>
|
|
|
+ <group>
|
|
|
+ <title>HttpFs API</title>
|
|
|
+ <packages>*</packages>
|
|
|
+ </group>
|
|
|
+ </groups>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <configuration>
|
|
|
+ <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
|
|
+ </configuration>
|
|
|
+ <goals>
|
|
|
+ <goal>dependencies</goal>
|
|
|
+ </goals>
|
|
|
+ <phase>site</phase>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.rat</groupId>
|
|
|
+ <artifactId>apache-rat-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <excludes>
|
|
|
+ </excludes>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>fuse</id>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>false</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-antrun-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>prepare-compile-native</id>
|
|
|
+ <phase>generate-sources</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>run</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <target>
|
|
|
+ <copy toDir="${project.build.directory}/fuse-dfs">
|
|
|
+ <fileset dir="${basedir}"/>
|
|
|
+ </copy>
|
|
|
+ </target>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ <execution>
|
|
|
+ <id>compile-fuse</id>
|
|
|
+ <phase>compile</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>run</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <target>
|
|
|
+ <ant antfile="${project.build.directory}/fuse-dfs/build.xml"
|
|
|
+ dir="${project.build.directory}/fuse-dfs">
|
|
|
+ <target name="compile"/>
|
|
|
+ </ant>
|
|
|
+ </target>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+</project>
|