2011-08-02 12:37:57 -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
|
|
|
|
|
|
|
|
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>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-main</artifactId>
|
2011-08-25 16:32:04 -04:00
|
|
|
<version>0.24.0-SNAPSHOT</version>
|
2011-08-02 12:37:57 -04:00
|
|
|
<description>Apache Hadoop Main</description>
|
|
|
|
<name>Apache Hadoop Main</name>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
2011-10-17 13:06:42 -04:00
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
2011-11-03 02:34:32 -04:00
|
|
|
<id>apache.staging.https</id>
|
2011-10-17 13:06:42 -04:00
|
|
|
<name>Apache Release Distribution Repository</name>
|
|
|
|
<url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
|
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>apache.snapshots.https</id>
|
|
|
|
<name>${distMgmtSnapshotsName}</name>
|
|
|
|
<url>${distMgmtSnapshotsUrl}</url>
|
|
|
|
</snapshotRepository>
|
2011-10-28 20:16:16 -04:00
|
|
|
<site>
|
|
|
|
<id>apache.website</id>
|
|
|
|
<url>scpexe://people.apache.org/www/hadoop.apache.org/docs/r${project.version}</url>
|
|
|
|
</site>
|
2011-10-17 13:06:42 -04:00
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>apache.snapshots.https</id>
|
|
|
|
<name>${distMgmtSnapshotsName}</name>
|
|
|
|
<url>${distMgmtSnapshotsUrl}</url>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>repository.jboss.org</id>
|
|
|
|
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2011-08-02 12:37:57 -04:00
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<organization>
|
|
|
|
<name>Apache Software Foundation</name>
|
|
|
|
<url>http://www.apache.org</url>
|
|
|
|
</organization>
|
|
|
|
|
2011-10-17 13:06:42 -04:00
|
|
|
<properties>
|
|
|
|
<distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
|
|
|
|
<distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
|
|
|
|
</properties>
|
|
|
|
|
2011-08-02 12:37:57 -04:00
|
|
|
<modules>
|
|
|
|
<module>hadoop-project</module>
|
2011-08-22 13:40:58 -04:00
|
|
|
<module>hadoop-project-dist</module>
|
2011-08-02 12:37:57 -04:00
|
|
|
<module>hadoop-assemblies</module>
|
2011-08-24 20:20:52 -04:00
|
|
|
<module>hadoop-common-project</module>
|
|
|
|
<module>hadoop-hdfs-project</module>
|
|
|
|
<module>hadoop-mapreduce-project</module>
|
2011-10-06 21:01:18 -04:00
|
|
|
<module>hadoop-tools</module>
|
2011-10-11 20:27:32 -04:00
|
|
|
<module>hadoop-dist</module>
|
2011-08-02 12:37:57 -04:00
|
|
|
</modules>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
</plugin>
|
2011-08-05 14:47:53 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
</plugin>
|
2011-08-02 12:37:57 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<version>0.7</version>
|
|
|
|
</plugin>
|
2011-10-13 18:38:03 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.6</version>
|
|
|
|
</plugin>
|
2011-10-20 17:38:58 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2011-10-28 20:16:16 -04:00
|
|
|
<version>3.0</version>
|
|
|
|
<configuration>
|
2011-11-01 00:47:10 -04:00
|
|
|
<generateReports>true</generateReports>
|
2011-10-28 20:16:16 -04:00
|
|
|
</configuration>
|
2011-10-20 17:38:58 -04:00
|
|
|
</plugin>
|
2011-08-02 12:37:57 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireMavenVersion>
|
|
|
|
<version>[3.0.0,)</version>
|
|
|
|
</requireMavenVersion>
|
|
|
|
<requireJavaVersion>
|
|
|
|
<version>1.6</version>
|
|
|
|
</requireJavaVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>clean</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-clean</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>validate</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>site</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>dev-support/*</include>
|
|
|
|
<include>pom.xml</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
2011-10-28 20:16:16 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>3.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-descriptor</id>
|
|
|
|
<goals>
|
|
|
|
<goal>attach-descriptor</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2011-08-02 12:37:57 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2011-10-28 20:16:16 -04:00
|
|
|
|
2011-11-01 00:47:10 -04:00
|
|
|
<reporting>
|
|
|
|
<excludeDefaults>true</excludeDefaults>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.8</version>
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<id>aggregate</id>
|
|
|
|
<configuration>
|
|
|
|
<maxmemory>1024m</maxmemory>
|
|
|
|
<linksource>true</linksource>
|
|
|
|
<quiet>true</quiet>
|
|
|
|
<verbose>false</verbose>
|
|
|
|
<source>${maven.compile.source}</source>
|
|
|
|
<charset>${maven.compile.encoding}</charset>
|
|
|
|
<reportOutputDirectory>${project.build.directory}/site</reportOutputDirectory>
|
|
|
|
<destDir>hadoop-project/api</destDir>
|
|
|
|
<!-- Non-public APIs -->
|
|
|
|
<excludePackageNames>org.apache.hadoop.authentication*,org.apache.hadoop.hdfs*,org.apache.hadoop.mapreduce.v2.proto,org.apache.hadoop.yarn.proto,org.apache.hadoop.yarn.server*,org.apache.hadoop.yarn.webapp*</excludePackageNames>
|
|
|
|
<groups>
|
|
|
|
<group>
|
|
|
|
<title>Common</title>
|
|
|
|
<packages>org.apache.hadoop*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>MapReduce</title>
|
|
|
|
<packages>org.apache.hadoop.mapred*</packages>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<title>YARN</title>
|
|
|
|
<packages>org.apache.hadoop.yarn*</packages>
|
|
|
|
</group>
|
|
|
|
</groups>
|
|
|
|
<doclet>org.apache.hadoop.classification.tools.IncludePublicAnnotationsStandardDoclet</doclet>
|
|
|
|
<docletArtifacts>
|
|
|
|
<docletArtifact>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</docletArtifact>
|
|
|
|
</docletArtifacts>
|
|
|
|
<useStandardDocletOptions>true</useStandardDocletOptions>
|
|
|
|
|
|
|
|
<!-- switch on dependency-driven aggregation -->
|
|
|
|
<includeDependencySources>false</includeDependencySources>
|
|
|
|
|
|
|
|
<dependencySourceIncludes>
|
|
|
|
<!-- include ONLY dependencies I control -->
|
|
|
|
<dependencySourceInclude>org.apache.hadoop:hadoop-annotations</dependencySourceInclude>
|
|
|
|
</dependencySourceIncludes>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
<reports>
|
|
|
|
<report>aggregate</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
2011-10-13 18:38:03 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>src</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>src-dist</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<attach>false</attach>
|
2011-11-17 19:19:53 -05:00
|
|
|
<finalName>hadoop-${project.version}-src</finalName>
|
2011-10-13 18:38:03 -04:00
|
|
|
<outputDirectory>hadoop-dist/target</outputDirectory>
|
|
|
|
<!-- Not using descriptorRef and hadoop-assembly dependency -->
|
|
|
|
<!-- to avoid making hadoop-main to depend on a module -->
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>hadoop-assemblies/src/main/resources/assemblies/hadoop-src.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>src-dist-msg</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<echo/>
|
2011-11-17 19:19:53 -05:00
|
|
|
<echo>Hadoop source tar available at: ${basedir}/hadoop-dist/target/hadoop-${project.version}-src.tar.gz</echo>
|
2011-10-13 18:38:03 -04:00
|
|
|
<echo/>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2011-11-03 02:20:46 -04:00
|
|
|
<profile>
|
|
|
|
<id>dist</id>
|
|
|
|
<!-- Profile for generating all maven artifacts and documentation. -->
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<!-- build javadoc jars per jar for publishing to maven -->
|
|
|
|
<id>module-javadocs</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<!-- build aggregate javadoc in parent only -->
|
|
|
|
<id>default-cli</id>
|
|
|
|
<goals>
|
|
|
|
<goal>aggregate</goal>
|
|
|
|
</goals>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<configuration>
|
|
|
|
<overview>hadoop-common-project/hadoop-common/src/main/java/overview.html</overview>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<!-- builds source jars and attaches them to the project for publishing -->
|
|
|
|
<id>hadoop-java-sources</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>sign</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2011-10-13 18:38:03 -04:00
|
|
|
</profiles>
|
2011-08-02 12:37:57 -04:00
|
|
|
</project>
|