From 15a1d9af19c286a7d1b36bb6ab42a65f36b868a4 Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Mon, 17 Oct 2011 17:06:42 +0000 Subject: [PATCH] MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1185286 13f79535-47bb-0310-9956-ffa450edef68 --- BUILDING.txt | 1 + hadoop-mapreduce-project/CHANGES.txt | 2 + .../hadoop-mapreduce-client-app/pom.xml | 4 +- .../hadoop-mapreduce-client-common/pom.xml | 4 +- .../hadoop-mapreduce-client-core/pom.xml | 4 +- .../hadoop-mapreduce-client-hs/pom.xml | 4 +- .../hadoop-mapreduce-client-jobclient/pom.xml | 4 +- .../hadoop-mapreduce-client-shuffle/pom.xml | 4 +- .../hadoop-mapreduce-client/pom.xml | 163 ++++++++++-- .../hadoop-yarn/hadoop-yarn-api/pom.xml | 4 +- .../pom.xml | 16 +- .../hadoop-yarn-applications/pom.xml | 3 +- .../hadoop-yarn/hadoop-yarn-common/pom.xml | 6 +- .../hadoop-yarn-server-common/pom.xml | 4 +- .../hadoop-yarn-server-nodemanager/pom.xml | 4 +- .../pom.xml | 4 +- .../hadoop-yarn-server-tests/pom.xml | 4 +- .../hadoop-yarn/hadoop-yarn-server/pom.xml | 3 +- .../hadoop-yarn/hadoop-yarn-site/pom.xml | 4 +- hadoop-mapreduce-project/hadoop-yarn/pom.xml | 247 +++++++++++------- hadoop-mapreduce-project/ivy.xml | 1 + hadoop-mapreduce-project/pom.xml | 106 ++------ hadoop-project-dist/pom.xml | 2 +- hadoop-project/pom.xml | 100 +------ pom.xml | 44 +++- 25 files changed, 399 insertions(+), 343 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index 4a4bc9998b9..662bd2577a3 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -49,6 +49,7 @@ Maven build goals: * Run Rat : mvn apache-rat:check * Build javadocs : mvn javadoc:javadoc * Build distribution : mvn package [-Pdist][-Pdocs][-Psrc][-Pnative][-Dtar] + * Change Hadoop version : mvn versions:set -DnewVersion=NEWVERSION Build options: diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 16c55764185..60ed0e58437 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -53,6 +53,8 @@ Trunk (unreleased changes) MAPREDUCE-3192. Fix Javadoc warning in JobClient.java and Cluster.java. (jitendra) + MAPREDUCE-3003. Publish MR JARs to Maven snapshot repository. (tucu) + Release 0.23.0 - Unreleased INCOMPATIBLE CHANGES diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml index 0f12598fc17..5770ad699eb 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/pom.xml @@ -16,15 +16,15 @@ hadoop-mapreduce-client org.apache.hadoop - ${hadoop-mapreduce.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-mapreduce-client-app + 0.24.0-SNAPSHOT hadoop-mapreduce-client-app - ${project.artifact.file} ${project.build.directory}/${project.name} ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml index d367a9ead20..6cd3eef456d 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/pom.xml @@ -16,15 +16,15 @@ hadoop-mapreduce-client org.apache.hadoop - ${hadoop-mapreduce.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-mapreduce-client-common + 0.24.0-SNAPSHOT hadoop-mapreduce-client-common - ${project.artifact.file} ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml index be98eb7cdf9..5cf2e26e2bc 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/pom.xml @@ -16,15 +16,15 @@ hadoop-mapreduce-client org.apache.hadoop - ${hadoop-mapreduce.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-mapreduce-client-core + 0.24.0-SNAPSHOT hadoop-mapreduce-client-core - ${project.artifact.file} ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/pom.xml index b9e409cad67..0bc9601dee2 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/pom.xml @@ -16,15 +16,15 @@ hadoop-mapreduce-client org.apache.hadoop - ${hadoop-mapreduce.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-mapreduce-client-hs + 0.24.0-SNAPSHOT hadoop-mapreduce-client-hs - ${project.artifact.file} ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml index ef388fcd86a..21804443193 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/pom.xml @@ -16,15 +16,15 @@ hadoop-mapreduce-client org.apache.hadoop - ${hadoop-mapreduce.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-mapreduce-client-jobclient + 0.24.0-SNAPSHOT hadoop-mapreduce-client-jobclient - ${project.artifact.file} always ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle/pom.xml index 20a27eebd62..bdb1aba3075 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle/pom.xml @@ -16,15 +16,15 @@ hadoop-mapreduce-client org.apache.hadoop - ${hadoop-mapreduce.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-mapreduce-client-shuffle + 0.24.0-SNAPSHOT hadoop-mapreduce-client-shuffle - ${project.artifact.file} ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml index 2a5cef3cbc9..de288836ba5 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml @@ -16,11 +16,13 @@ 4.0.0 org.apache.hadoop - hadoop-mapreduce - ${hadoop-mapreduce.version} + hadoop-project + 0.24.0-SNAPSHOT + ../../hadoop-project org.apache.hadoop hadoop-mapreduce-client + 0.24.0-SNAPSHOT hadoop-mapreduce-client pom @@ -35,99 +37,222 @@ org.apache.hadoop hadoop-yarn - ${yarn.version} + ${project.version} pom org.apache.hadoop hadoop-yarn-api - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-server - ${yarn.version} + ${project.version} pom org.apache.hadoop hadoop-yarn-server-common - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-hdfs - ${hadoop-hdfs.version} + ${project.version} org.apache.hadoop hadoop-yarn-common - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-common - ${yarn.version} + ${project.version} test-jar org.apache.hadoop hadoop-yarn-server-tests - ${yarn.version} + ${project.version} test-jar org.apache.hadoop hadoop-yarn-server-nodemanager - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-server-resourcemanager - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-server-resourcemanager - ${yarn.version} + ${project.version} test-jar org.apache.hadoop hadoop-mapreduce-client-core - ${hadoop-mapreduce.version} + ${project.version} org.apache.hadoop hadoop-mapreduce-client-common - ${hadoop-mapreduce.version} + ${project.version} org.apache.hadoop hadoop-mapreduce-client-app - ${hadoop-mapreduce.version} + ${project.version} org.apache.hadoop hadoop-mapreduce-client-app - ${hadoop-mapreduce.version} + ${project.version} test-jar org.apache.hadoop hadoop-mapreduce-client-hs - ${hadoop-mapreduce.version} + ${project.version} org.apache.hadoop hadoop-mapreduce-client-shuffle - ${hadoop-mapreduce.version} + ${project.version} + + + com.google.protobuf + protobuf-java + 2.4.0a + + + org.apache.avro + avro + 1.5.3 + + + org.mortbay.jetty + jetty + + + org.apache.ant + ant + + + org.jboss.netty + netty + + + org.apache.velocity + velocity + + + org.slf4j + slf4j-api + + + paranamer-ant + com.thoughtworks.paranamer + + + + + org.apache.hadoop + hadoop-common + ${project.version} + provided + + + commons-el + commons-el + + + tomcat + jasper-runtime + + + tomcat + jasper-compiler + + + org.mortbay.jetty + jsp-2.1-jetty + + + hsqldb + hsqldb + + + + + + org.slf4j + slf4j-api + 1.6.1 + + + org.slf4j + slf4j-log4j12 + 1.6.1 + + + org.apache.hadoop + hadoop-annotations + ${project.version} + + + org.mockito + mockito-all + 1.8.5 + test + + + org.apache.hadoop + hadoop-common + ${project.version} + test-jar + test + + + org.apache.hadoop + + hadoop-hdfs + ${project.version} + + + com.google.inject.extensions + guice-servlet + 2.0 + + + junit + junit + 4.8.2 + + + org.jboss.netty + netty + 3.2.3.Final + + + com.cenqua.clover + clover + 3.0.2 + + + + hadoop-mapreduce-client-core hadoop-mapreduce-client-common diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-api/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-api/pom.xml index 52fe416f468..4ae00f814a1 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-api/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-api/pom.xml @@ -16,15 +16,15 @@ hadoop-yarn org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-api + 0.24.0-SNAPSHOT hadoop-yarn-api - ${project.artifact.file} ${project.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/pom.xml index 406ec436d5a..06c99ece4e4 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/pom.xml @@ -16,15 +16,15 @@ hadoop-yarn-applications org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-applications-distributedshell + 0.24.0-SNAPSHOT hadoop-yarn-applications-distributedshell - ${project.artifact.file} ${project.parent.parent.basedir} @@ -32,37 +32,37 @@ org.apache.hadoop hadoop-yarn-api - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-common - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-server-nodemanager test - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-server-resourcemanager test - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-server-common test - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-server-tests test-jar test - ${yarn.version} + ${project.version} diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-applications/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-applications/pom.xml index 713731004f6..ecd886bb96d 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-applications/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-applications/pom.xml @@ -16,11 +16,12 @@ hadoop-yarn org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-applications + 0.24.0-SNAPSHOT hadoop-yarn-applications pom diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/pom.xml index a2f6bbfccab..971a273dfe6 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/pom.xml @@ -16,15 +16,15 @@ hadoop-yarn org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-common + 0.24.0-SNAPSHOT hadoop-yarn-common - ${project.artifact.file} ${project.parent.basedir} @@ -109,7 +109,7 @@ scripts/saveVersion.sh - ${yarn.version} + ${project.version} ${project.build.directory} diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml index ed6c3b5a4d1..c7532ad5fa7 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml @@ -16,15 +16,15 @@ hadoop-yarn-server org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-server-common + 0.24.0-SNAPSHOT hadoop-yarn-server-common - ${project.artifact.file} ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml index 7017342993c..38d956afdcd 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml @@ -16,15 +16,15 @@ hadoop-yarn-server org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-server-nodemanager + 0.24.0-SNAPSHOT hadoop-yarn-server-nodemanager - ${project.artifact.file} ${project.parent.parent.basedir} /etc/hadoop diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml index d94f5973144..193a9439bb4 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml @@ -16,15 +16,15 @@ hadoop-yarn-server org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-server-resourcemanager + 0.24.0-SNAPSHOT hadoop-yarn-server-resourcemanager - ${project.artifact.file} ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml index e3b44bd0a46..1d6d691356c 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/pom.xml @@ -16,14 +16,14 @@ hadoop-yarn-server org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT org.apache.hadoop hadoop-yarn-server-tests + 0.24.0-SNAPSHOT hadoop-yarn-server-tests - ${project.artifact.file} ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/pom.xml index 12d7226c1e5..9997cb22ab8 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/pom.xml @@ -16,11 +16,12 @@ hadoop-yarn org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-server + 0.24.0-SNAPSHOT hadoop-yarn-server pom diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/pom.xml index 83d7c29a28f..33295a02d99 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/pom.xml @@ -16,15 +16,15 @@ hadoop-yarn org.apache.hadoop - ${yarn.version} + 0.24.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-site + 0.24.0-SNAPSHOT hadoop-yarn-site - ${project.artifact.file} ${project.parent.parent.basedir} diff --git a/hadoop-mapreduce-project/hadoop-yarn/pom.xml b/hadoop-mapreduce-project/hadoop-yarn/pom.xml index 7ff5fa7341f..cc5098df1b5 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/pom.xml +++ b/hadoop-mapreduce-project/hadoop-yarn/pom.xml @@ -14,9 +14,15 @@ --> 4.0.0 + + org.apache.hadoop + hadoop-project + 0.24.0-SNAPSHOT + ../../hadoop-project + org.apache.hadoop hadoop-yarn - ${yarn.version} + 0.24.0-SNAPSHOT pom hadoop-yarn http://hadoop.apache.org/mapreduce @@ -25,14 +31,21 @@ UTF-8 true 600000 - ${project.version} - 0.24.0-SNAPSHOT - 0.24.0-SNAPSHOT - 0.24.0-SNAPSHOT - ${project.build.directory}/saner-pom.xml - ${install.pom} ${basedir} + + + + apache.releases.https + Apache Release Distribution Repository + https://repository.apache.org/service/local/staging/deploy/maven2 + + + apache.snapshots.https + Apache Development Snapshot Repository + https://repository.apache.org/content/repositories/snapshots + + @@ -54,6 +67,126 @@ + + com.google.protobuf + protobuf-java + 2.4.0a + + + org.apache.avro + avro + 1.5.3 + + + org.mortbay.jetty + jetty + + + org.apache.ant + ant + + + org.jboss.netty + netty + + + org.apache.velocity + velocity + + + org.slf4j + slf4j-api + + + paranamer-ant + com.thoughtworks.paranamer + + + + + org.apache.hadoop + hadoop-common + ${project.version} + provided + + + commons-el + commons-el + + + tomcat + jasper-runtime + + + tomcat + jasper-compiler + + + org.mortbay.jetty + jsp-2.1-jetty + + + hsqldb + hsqldb + + + + + + org.slf4j + slf4j-api + 1.6.1 + + + org.slf4j + slf4j-log4j12 + 1.6.1 + + + org.apache.hadoop + hadoop-annotations + ${project.version} + + + org.mockito + mockito-all + 1.8.5 + test + + + org.apache.hadoop + hadoop-common + ${project.version} + test-jar + test + + + org.apache.hadoop + + hadoop-hdfs + ${project.version} + + + com.google.inject.extensions + guice-servlet + 2.0 + + + junit + junit + 4.8.2 + + + org.jboss.netty + netty + 3.2.3.Final + + + com.cenqua.clover + clover + 3.0.2 + + org.apache.avro avro @@ -93,7 +226,7 @@ org.apache.hadoop hadoop-common - ${hadoop-common.version} + ${project.version} org.apache.avro @@ -124,7 +257,7 @@ org.apache.hadoop hadoop-annotations - ${hadoop-common.version} + ${project.version} junit @@ -141,14 +274,14 @@ org.apache.hadoop hadoop-common - ${hadoop-common.version} + ${project.version} test-jar test org.apache.hadoop hadoop-hdfs - ${hadoop-hdfs.version} + ${project.version} runtime @@ -183,33 +316,33 @@ org.apache.hadoop hadoop-yarn-api - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-common - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-common - ${yarn.version} + ${project.version} test-jar org.apache.hadoop hadoop-yarn-server-common - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-server-resourcemanager - ${yarn.version} + ${project.version} org.apache.hadoop hadoop-yarn-server-nodemanager - ${yarn.version} + ${project.version} org.apache.zookeeper @@ -317,86 +450,6 @@ - - org.apache.maven.plugins - maven-assembly-plugin - - - org.apache.hadoop - hadoop-assemblies - ${hadoop.assemblies.version} - - - - gnu - false - false - ${project.artifactId}-${project.version} - - hadoop-mapreduce-dist - - - - - tar - package - - single - - - - - - maven-antrun-plugin - - - santize-pom - package - - - - - - - - - - - - - - - - - run - - - - - - maven-install-plugin - - - install-sanitized-pom - - ${install.file} - ${install.pom} - - install - - install-file - - - - org.codehaus.mojo findbugs-maven-plugin diff --git a/hadoop-mapreduce-project/ivy.xml b/hadoop-mapreduce-project/ivy.xml index b0a472639b9..f886bfa3f53 100644 --- a/hadoop-mapreduce-project/ivy.xml +++ b/hadoop-mapreduce-project/ivy.xml @@ -150,6 +150,7 @@ + diff --git a/hadoop-mapreduce-project/pom.xml b/hadoop-mapreduce-project/pom.xml index cd2d013d52d..5ac9b4301ad 100644 --- a/hadoop-mapreduce-project/pom.xml +++ b/hadoop-mapreduce-project/pom.xml @@ -15,9 +15,15 @@ 4.0.0 + + org.apache.hadoop + hadoop-project + 0.24.0-SNAPSHOT + ../hadoop-project + org.apache.hadoop hadoop-mapreduce - ${hadoop-mapreduce.version} + 0.24.0-SNAPSHOT pom hadoop-mapreduce http://hadoop.apache.org/mapreduce/ @@ -26,36 +32,15 @@ UTF-8 true 600000 - ${project.version} - 0.24.0-SNAPSHOT - 0.24.0-SNAPSHOT - 0.24.0-SNAPSHOT - 0.24.0-SNAPSHOT - ${project.build.directory}/saner-pom.xml - ${install.pom} once ${basedir} - - - - repository.jboss.org - http://repository.jboss.org/nexus/content/groups/public/ - - false - - - - apache.snapshots - http://repository.apache.org/snapshots - - - - true - - - - + + + hadoop-yarn + hadoop-mapreduce-client + + com.google.protobuf @@ -96,7 +81,7 @@ org.apache.hadoop hadoop-common - ${hadoop-common.version} + ${project.version} provided @@ -121,7 +106,7 @@ - + org.slf4j slf4j-api @@ -135,7 +120,7 @@ org.apache.hadoop hadoop-annotations - ${hadoop-common.version} + ${project.version} org.mockito @@ -146,7 +131,7 @@ org.apache.hadoop hadoop-common - ${hadoop-common.version} + ${project.version} test-jar test @@ -154,7 +139,7 @@ org.apache.hadoop hadoop-hdfs - ${hadoop-hdfs.version} + ${project.version} com.google.inject.extensions @@ -176,9 +161,9 @@ clover 3.0.2 - + - + @@ -271,37 +256,6 @@ maven-antrun-plugin - - santize-pom - package - - - - - - - - - - - - - - - - - run - - tar package @@ -331,22 +285,6 @@ - - maven-install-plugin - - - install-sanitized-pom - - ${install.file} - ${install.pom} - - install - - install-file - - - - com.atlassian.maven.plugins maven-clover2-plugin @@ -442,10 +380,6 @@ - - hadoop-yarn - hadoop-mapreduce-client - diff --git a/hadoop-project-dist/pom.xml b/hadoop-project-dist/pom.xml index 517b6f90afc..5ccf9f2c296 100644 --- a/hadoop-project-dist/pom.xml +++ b/hadoop-project-dist/pom.xml @@ -400,7 +400,7 @@ org.apache.hadoop hadoop-assemblies - ${hadoop.assemblies.version} + ${project.version} diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index 418a3edf6f9..c44f3e2f213 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -14,6 +14,11 @@ --> 4.0.0 + + org.apache.hadoop + hadoop-main + 0.24.0-SNAPSHOT + org.apache.hadoop hadoop-project 0.24.0-SNAPSHOT @@ -21,39 +26,6 @@ Apache Hadoop Project POM pom - - - apache.releases.https - Apache Release Distribution Repository - https://repository.apache.org/service/local/staging/deploy/maven2 - - - apache.snapshots.https - ${distMgmtSnapshotsName} - ${distMgmtSnapshotsUrl} - - - - - - apache.snapshots.https - ${distMgmtSnapshotsName} - ${distMgmtSnapshotsUrl} - - - - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - - - - - Apache Software Foundation - http://www.apache.org - - false true @@ -65,16 +37,13 @@ UTF-8 UTF-8 - - + + ${project.version} 1.0.9 ${project.version} - Apache Development Snapshot Repository - https://repository.apache.org/content/repositories/snapshots - 1.0.3 ${project.build.directory}/test-dir @@ -91,7 +60,7 @@ org.apache.hadoop hadoop-assemblies - ${hadoop.assemblies.version} + ${project.version} org.apache.hadoop @@ -415,11 +384,6 @@ - - org.apache.maven.plugins - maven-enforcer-plugin - 1.0 - org.apache.maven.plugins maven-compiler-plugin @@ -480,11 +444,6 @@ maven-checkstyle-plugin 2.6 - - org.apache.rat - apache-rat-plugin - 0.7 - org.codehaus.mojo native-maven-plugin @@ -500,11 +459,6 @@ maven-source-plugin 2.1.2 - - org.apache.maven.plugins - maven-deploy-plugin - 2.5 - org.apache.avro avro-maven-plugin @@ -534,44 +488,6 @@ - - org.apache.maven.plugins - maven-enforcer-plugin - false - - - - [3.0.0,) - - - 1.6 - - - - - - clean - - enforce - - pre-clean - - - default - - enforce - - validate - - - site - - enforce - - pre-site - - - org.apache.maven.plugins maven-antrun-plugin diff --git a/pom.xml b/pom.xml index 67a6c965975..c257050b02c 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,34 @@ Apache Hadoop Main pom + + + apache.releases.https + Apache Release Distribution Repository + https://repository.apache.org/service/local/staging/deploy/maven2 + + + apache.snapshots.https + ${distMgmtSnapshotsName} + ${distMgmtSnapshotsUrl} + + + + + + apache.snapshots.https + ${distMgmtSnapshotsName} + ${distMgmtSnapshotsUrl} + + + repository.jboss.org + http://repository.jboss.org/nexus/content/groups/public/ + + false + + + + The Apache Software License, Version 2.0 @@ -33,6 +61,11 @@ http://www.apache.org + + Apache Development Snapshot Repository + https://repository.apache.org/content/repositories/snapshots + + hadoop-project hadoop-project-dist @@ -52,11 +85,6 @@ maven-enforcer-plugin 1.0 - - org.apache.maven.plugins - maven-assembly-plugin - 2.2-beta-3 - org.apache.maven.plugins maven-deploy-plugin @@ -114,12 +142,6 @@ - - maven-deploy-plugin - - true - - org.apache.rat apache-rat-plugin