diff --git a/execution/mapreduce/pom.xml b/execution/mapreduce/pom.xml index e529f556..13dbbdca 100644 --- a/execution/mapreduce/pom.xml +++ b/execution/mapreduce/pom.xml @@ -50,18 +50,91 @@ limitations under the License. test - - org.apache.hadoop - hadoop-common - provided - - - - org.apache.hadoop - hadoop-mapreduce-client-jobclient - provided - + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + hadoop${hadoop.profile} + + + + + + + + + + + hadoop100 + + + + hadoop.profile + 100 + + + + + + com.google.guava + guava + ${guava.version} + provided + + + + org.apache.hadoop + hadoop-core + provided + + + + + + + hadoop200 + + + true + + hadoop.profile + 200 + + + + + 200 + + + + + org.apache.hadoop + hadoop-common + provided + + + + org.apache.hadoop + hadoop-mapreduce-client-core + provided + + + + org.apache.hadoop + hadoop-mapreduce-client-jobclient + provided + + + + + + diff --git a/pom.xml b/pom.xml index c2fbd6ca..f63ff521 100644 --- a/pom.xml +++ b/pom.xml @@ -94,7 +94,9 @@ limitations under the License. 1.4 2.5 10.8.2.2 - 2.0.0-SNAPSHOT + 1.0.3 + 2.0.2-alpha + 11.0.2 1.1 4.9 1.2.16 @@ -108,6 +110,83 @@ limitations under the License. + + + + + + hadoop100 + + + + hadoop.profile + 100 + + + + + + + com.google.guava + guava + ${guava.version} + provided + + + + org.apache.hadoop + hadoop-core + ${hadoop.1.version} + provided + + + + + + + + hadoop200 + + + true + + hadoop.profile + 200 + + + + + 200 + + + + + + org.apache.hadoop + hadoop-common + ${hadoop.2.version} + provided + + + + org.apache.hadoop + hadoop-mapreduce-client-core + ${hadoop.2.version} + provided + + + + org.apache.hadoop + hadoop-mapreduce-client-jobclient + ${hadoop.2.version} + provided + + + + + + + @@ -198,16 +277,6 @@ limitations under the License. derby ${derby.version} - - org.apache.hadoop - hadoop-common - ${hadoop.version} - - - org.apache.hadoop - hadoop-mapreduce-client-jobclient - ${hadoop.version} - diff --git a/server/pom.xml b/server/pom.xml index 71aa6c9c..732094a4 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -49,6 +49,7 @@ limitations under the License. org.apache.sqoop.submission sqoop-submission-mapreduce 2.0.0-SNAPSHOT + hadoop${hadoop.profile} diff --git a/submission/mapreduce/pom.xml b/submission/mapreduce/pom.xml index f8a7d3de..37b9ded1 100644 --- a/submission/mapreduce/pom.xml +++ b/submission/mapreduce/pom.xml @@ -40,6 +40,7 @@ limitations under the License. org.apache.sqoop.execution sqoop-execution-mapreduce 2.0.0-SNAPSHOT + hadoop${hadoop.profile} @@ -56,18 +57,77 @@ limitations under the License. test - - org.apache.hadoop - hadoop-common - provided - - - - org.apache.hadoop - hadoop-mapreduce-client-jobclient - provided - + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + hadoop${hadoop.profile} + + + + + + + + + + + hadoop100 + + + + hadoop.profile + 100 + + + + + + org.apache.hadoop + hadoop-core + provided + + + + + + + hadoop200 + + + true + + hadoop.profile + 200 + + + + + 200 + + + + + org.apache.hadoop + hadoop-common + provided + + + + org.apache.hadoop + hadoop-mapreduce-client-core + provided + + + + +