Reverted MAPREDUCE-3003

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1180283 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Alejandro Abdelnur 2011-10-08 00:38:41 +00:00
parent 0d1fe120c8
commit 4972959173
22 changed files with 121 additions and 110 deletions

View File

@ -22,9 +22,6 @@ Trunk (unreleased changes)
MAPREDUCE-2836. Provide option to fail jobs when submitted to non-existent MAPREDUCE-2836. Provide option to fail jobs when submitted to non-existent
fair scheduler pools. (Ahmed Radwan via todd) fair scheduler pools. (Ahmed Radwan via todd)
MAPREDUCE-3003. Publish Yarn and MapReduce artifacts to Maven snapshot
repository. (tucu)
BUG FIXES BUG FIXES
MAPREDUCE-2950. [Gridmix] TestUserResolve fails in trunk. MAPREDUCE-2950. [Gridmix] TestUserResolve fails in trunk.

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-mapreduce-client</artifactId> <artifactId>hadoop-mapreduce-client</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${hadoop-mapreduce.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client-app</artifactId> <artifactId>hadoop-mapreduce-client-app</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-mapreduce-client-app</name> <name>hadoop-mapreduce-client-app</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-mapreduce-client</artifactId> <artifactId>hadoop-mapreduce-client</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${hadoop-mapreduce.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client-common</artifactId> <artifactId>hadoop-mapreduce-client-common</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-mapreduce-client-common</name> <name>hadoop-mapreduce-client-common</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-mapreduce-client</artifactId> <artifactId>hadoop-mapreduce-client</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${hadoop-mapreduce.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client-core</artifactId> <artifactId>hadoop-mapreduce-client-core</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-mapreduce-client-core</name> <name>hadoop-mapreduce-client-core</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-mapreduce-client</artifactId> <artifactId>hadoop-mapreduce-client</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${hadoop-mapreduce.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client-hs</artifactId> <artifactId>hadoop-mapreduce-client-hs</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-mapreduce-client-hs</name> <name>hadoop-mapreduce-client-hs</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-mapreduce-client</artifactId> <artifactId>hadoop-mapreduce-client</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${hadoop-mapreduce.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client-jobclient</artifactId> <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-mapreduce-client-jobclient</name> <name>hadoop-mapreduce-client-jobclient</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-mapreduce-client</artifactId> <artifactId>hadoop-mapreduce-client</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${hadoop-mapreduce.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client-shuffle</artifactId> <artifactId>hadoop-mapreduce-client-shuffle</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-mapreduce-client-shuffle</name> <name>hadoop-mapreduce-client-shuffle</name>
<properties> <properties>

View File

@ -17,11 +17,10 @@
<parent> <parent>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce</artifactId> <artifactId>hadoop-mapreduce</artifactId>
<version>0.24.0-SNAPSHOT</version> <version>${hadoop-mapreduce.version}</version>
</parent> </parent>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client</artifactId> <artifactId>hadoop-mapreduce-client</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-mapreduce-client</name> <name>hadoop-mapreduce-client</name>
<packaging>pom</packaging> <packaging>pom</packaging>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-yarn</artifactId> <artifactId>hadoop-yarn</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-api</artifactId> <artifactId>hadoop-yarn-api</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-api</name> <name>hadoop-yarn-api</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-yarn-applications</artifactId> <artifactId>hadoop-yarn-applications</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-applications-distributedshell</artifactId> <artifactId>hadoop-yarn-applications-distributedshell</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-applications-distributedshell</name> <name>hadoop-yarn-applications-distributedshell</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-yarn</artifactId> <artifactId>hadoop-yarn</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-applications</artifactId> <artifactId>hadoop-yarn-applications</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-applications</name> <name>hadoop-yarn-applications</name>
<packaging>pom</packaging> <packaging>pom</packaging>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-yarn</artifactId> <artifactId>hadoop-yarn</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-common</artifactId> <artifactId>hadoop-yarn-common</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-common</name> <name>hadoop-yarn-common</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-yarn-server</artifactId> <artifactId>hadoop-yarn-server</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-server-common</artifactId> <artifactId>hadoop-yarn-server-common</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-server-common</name> <name>hadoop-yarn-server-common</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-yarn-server</artifactId> <artifactId>hadoop-yarn-server</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-server-nodemanager</artifactId> <artifactId>hadoop-yarn-server-nodemanager</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-server-nodemanager</name> <name>hadoop-yarn-server-nodemanager</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-yarn-server</artifactId> <artifactId>hadoop-yarn-server</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-server-resourcemanager</artifactId> <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-server-resourcemanager</name> <name>hadoop-yarn-server-resourcemanager</name>
<properties> <properties>

View File

@ -16,11 +16,10 @@
<parent> <parent>
<artifactId>hadoop-yarn-server</artifactId> <artifactId>hadoop-yarn-server</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-server-tests</artifactId> <artifactId>hadoop-yarn-server-tests</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-server-tests</name> <name>hadoop-yarn-server-tests</name>
<properties> <properties>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-yarn</artifactId> <artifactId>hadoop-yarn</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-server</artifactId> <artifactId>hadoop-yarn-server</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-server</name> <name>hadoop-yarn-server</name>
<packaging>pom</packaging> <packaging>pom</packaging>

View File

@ -16,12 +16,11 @@
<parent> <parent>
<artifactId>hadoop-yarn</artifactId> <artifactId>hadoop-yarn</artifactId>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-site</artifactId> <artifactId>hadoop-yarn-site</artifactId>
<version>0.24.0-SNAPSHOT</version>
<name>hadoop-yarn-site</name> <name>hadoop-yarn-site</name>
<properties> <properties>

View File

@ -14,15 +14,9 @@
--> -->
<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"> <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> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-project</artifactId>
<version>0.24.0-SNAPSHOT</version>
<relativePath>../../hadoop-project</relativePath>
</parent>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn</artifactId> <artifactId>hadoop-yarn</artifactId>
<version>0.24.0-SNAPSHOT</version> <version>${yarn.version}</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>hadoop-yarn</name> <name>hadoop-yarn</name>
<url>http://hadoop.apache.org/mapreduce</url> <url>http://hadoop.apache.org/mapreduce</url>
@ -39,19 +33,6 @@
<yarn.basedir>${basedir}</yarn.basedir> <yarn.basedir>${basedir}</yarn.basedir>
</properties> </properties>
<distributionManagement>
<repository>
<id>apache.releases.https</id>
<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>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories> <repositories>
<repository> <repository>
<id>repository.jboss.org</id> <id>repository.jboss.org</id>

View File

@ -15,15 +15,9 @@
<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"> <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> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-project</artifactId>
<version>0.24.0-SNAPSHOT</version>
<relativePath>../hadoop-project</relativePath>
</parent>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce</artifactId> <artifactId>hadoop-mapreduce</artifactId>
<version>0.24.0-SNAPSHOT</version> <version>${hadoop-mapreduce.version}</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>hadoop-mapreduce</name> <name>hadoop-mapreduce</name>
<url>http://hadoop.apache.org/mapreduce/</url> <url>http://hadoop.apache.org/mapreduce/</url>
@ -42,19 +36,6 @@
<mr.basedir>${basedir}</mr.basedir> <mr.basedir>${basedir}</mr.basedir>
</properties> </properties>
<distributionManagement>
<repository>
<id>apache.releases.https</id>
<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>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories> <repositories>
<repository> <repository>
<id>repository.jboss.org</id> <id>repository.jboss.org</id>

View File

@ -14,11 +14,6 @@
--> -->
<project> <project>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-main</artifactId>
<version>0.24.0-SNAPSHOT</version>
</parent>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-project</artifactId> <artifactId>hadoop-project</artifactId>
<version>0.24.0-SNAPSHOT</version> <version>0.24.0-SNAPSHOT</version>
@ -26,6 +21,39 @@
<name>Apache Hadoop Project POM</name> <name>Apache Hadoop Project POM</name>
<packaging>pom</packaging> <packaging>pom</packaging>
<distributionManagement>
<repository>
<id>apache.releases.https</id>
<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>
</distributionManagement>
<repositories>
<repository>
<id>apache.snapshots.https</id>
<name>${distMgmtSnapshotsName}</name>
<url>${distMgmtSnapshotsUrl}</url>
</repository>
</repositories>
<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>
<properties> <properties>
<failIfNoTests>false</failIfNoTests> <failIfNoTests>false</failIfNoTests>
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile> <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
@ -37,13 +65,16 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- These 2 versions are defined here becuase they are used --> <!-- These 2 versions are defined here becuase they are used in the *-docs -->
<!-- JDIFF generation from embedded ant in the antrun plugin --> <!-- module(s) for JDIFF generation from embedded ant in the antrun plugin -->
<hadoop.annotations.version>${project.version}</hadoop.annotations.version> <hadoop.annotations.version>${project.version}</hadoop.annotations.version>
<jdiff.version>1.0.9</jdiff.version> <jdiff.version>1.0.9</jdiff.version>
<hadoop.assemblies.version>${project.version}</hadoop.assemblies.version> <hadoop.assemblies.version>${project.version}</hadoop.assemblies.version>
<distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
<distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
<commons-daemon.version>1.0.3</commons-daemon.version> <commons-daemon.version>1.0.3</commons-daemon.version>
<test.build.dir>${project.build.directory}/test-dir</test.build.dir> <test.build.dir>${project.build.directory}/test-dir</test.build.dir>
@ -369,6 +400,11 @@
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
@ -429,6 +465,11 @@
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version> <version>2.6</version>
</plugin> </plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.7</version>
</plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>native-maven-plugin</artifactId> <artifactId>native-maven-plugin</artifactId>
@ -444,6 +485,11 @@
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version> <version>2.1.2</version>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin> <plugin>
<groupId>org.apache.avro</groupId> <groupId>org.apache.avro</groupId>
<artifactId>avro-maven-plugin</artifactId> <artifactId>avro-maven-plugin</artifactId>
@ -473,6 +519,44 @@
</pluginManagement> </pluginManagement>
<plugins> <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> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>

37
pom.xml
View File

@ -21,27 +21,6 @@
<name>Apache Hadoop Main</name> <name>Apache Hadoop Main</name>
<packaging>pom</packaging> <packaging>pom</packaging>
<distributionManagement>
<repository>
<id>apache.releases.https</id>
<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>
</distributionManagement>
<repositories>
<repository>
<id>apache.snapshots.https</id>
<name>${distMgmtSnapshotsName}</name>
<url>${distMgmtSnapshotsUrl}</url>
</repository>
</repositories>
<licenses> <licenses>
<license> <license>
<name>The Apache Software License, Version 2.0</name> <name>The Apache Software License, Version 2.0</name>
@ -54,11 +33,6 @@
<url>http://www.apache.org</url> <url>http://www.apache.org</url>
</organization> </organization>
<properties>
<distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
<distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
</properties>
<modules> <modules>
<module>hadoop-project</module> <module>hadoop-project</module>
<module>hadoop-project-dist</module> <module>hadoop-project-dist</module>
@ -77,6 +51,11 @@
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
<version>1.0</version> <version>1.0</version>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-3</version>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId> <artifactId>maven-deploy-plugin</artifactId>
@ -129,6 +108,12 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.rat</groupId> <groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId> <artifactId>apache-rat-plugin</artifactId>