From 60026c8cd83583a364be2e83a43f48db2d4090fc Mon Sep 17 00:00:00 2001 From: Andre Hacker Date: Sun, 22 Sep 2013 12:55:14 +0200 Subject: [PATCH] 1) Changed profile activation to properties (like hbase) 2) moved all properties to top of pom 3) moved module list to top of pom --- nephele/nephele-hdfs/pom.xml | 30 +++++++++------ nephele/pom.xml | 27 +++++++------- pact/pact-examples/pom.xml | 72 ++++++++++++++++++++---------------- pact/pact-runtime/pom.xml | 22 +++++++---- pact/pom.xml | 41 ++++++++++++-------- pom.xml | 61 +++++++++++++++--------------- stratosphere-dist/pom.xml | 27 +++++++++----- 7 files changed, 160 insertions(+), 120 deletions(-) diff --git a/nephele/nephele-hdfs/pom.xml b/nephele/nephele-hdfs/pom.xml index 7da52635f49..c919e482b94 100644 --- a/nephele/nephele-hdfs/pom.xml +++ b/nephele/nephele-hdfs/pom.xml @@ -28,29 +28,37 @@ - hadoop_yarn + hadoop-1 + + + !hadoop.profile + + - - - org.apache.hadoop - hadoop-common - + org.apache.hadoop - hadoop-hdfs + hadoop-core - hadoop_v1 + hadoop-2 - true + + hadoop.profile + 2 + - + org.apache.hadoop - hadoop-core + hadoop-common + + + org.apache.hadoop + hadoop-hdfs diff --git a/nephele/pom.xml b/nephele/pom.xml index 2b8357486f4..a70f4d86b34 100644 --- a/nephele/pom.xml +++ b/nephele/pom.xml @@ -36,6 +36,19 @@ + + nephele-common + nephele-management + nephele-profiling + nephele-queuescheduler + nephele-clustermanager + nephele-hdfs + nephele-s3 + nephele-visualization + nephele-server + nephele-examples + + @@ -74,17 +87,5 @@ - - - nephele-common - nephele-management - nephele-profiling - nephele-queuescheduler - nephele-clustermanager - nephele-hdfs - nephele-s3 - nephele-visualization - nephele-server - nephele-examples - + diff --git a/pact/pact-examples/pom.xml b/pact/pact-examples/pom.xml index 98024a58b44..1eddd51f9c1 100644 --- a/pact/pact-examples/pom.xml +++ b/pact/pact-examples/pom.xml @@ -336,7 +336,46 @@ - hadoop_yarn + hadoop-1 + + + !hadoop.profile + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + default-compile + compile + + + **/hbase/*.java + + + + compile + + + + + + + + + hadoop-2 + + + hadoop.profile + 2 + + eu.stratosphere @@ -380,37 +419,6 @@ - - hadoop_v1 - - true - - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - default-compile - compile - - - **/hbase/*.java - - - - compile - - - - - - - diff --git a/pact/pact-runtime/pom.xml b/pact/pact-runtime/pom.xml index 96cc1ada52d..b041aea23b7 100644 --- a/pact/pact-runtime/pom.xml +++ b/pact/pact-runtime/pom.xml @@ -36,25 +36,33 @@ - hadoop_yarn + hadoop-1 + + + !hadoop.profile + + - + org.apache.hadoop - hadoop-common + hadoop-core - hadoop_v1 + hadoop-2 - true + + hadoop.profile + 2 + - + org.apache.hadoop - hadoop-core + hadoop-common diff --git a/pact/pom.xml b/pact/pom.xml index cfa365b7e75..508877abbd8 100644 --- a/pact/pom.xml +++ b/pact/pom.xml @@ -26,6 +26,17 @@ + + pact-common + pact-runtime + pact-compiler + pact-compiler-tests + pact-clients + pact-examples + pact-tests + pact-array-datamodel + + @@ -63,32 +74,30 @@ - - - pact-common - pact-runtime - pact-compiler - pact-compiler-tests - pact-clients - pact-examples - pact-tests - pact-array-datamodel - + - hadoop_yarn + hadoop-1 + + + !hadoop.profile + + - pact-hbase + - hadoop_v1 + hadoop-2 - true + + hadoop.profile + 2 + - + pact-hbase diff --git a/pom.xml b/pom.xml index 95b2114a2ce..fa3e48f57a8 100644 --- a/pom.xml +++ b/pom.xml @@ -24,9 +24,17 @@ + + nephele + pact + stratosphere-dist + + UTF-8 UTF-8 + 1.2.1 + 2.0.0-cdh4.2.1 @@ -121,53 +129,50 @@ - - hadoop_yarn + hadoop-1 + + + !hadoop.profile + + - 2.0.0-cdh4.2.1 + ${hadoop-one.version} - - - org.apache.hadoop - hadoop-common - ${hadoop.version} - + org.apache.hadoop - hadoop-hdfs + hadoop-core ${hadoop.version} - hadoop_v1 + hadoop-2 - true + + hadoop.profile + 2 + - 1.2.1 + ${hadoop-two.version} - + org.apache.hadoop - hadoop-core + hadoop-common + ${hadoop.version} + + + org.apache.hadoop + hadoop-hdfs ${hadoop.version} @@ -414,10 +419,4 @@ - - - nephele - pact - stratosphere-dist - diff --git a/stratosphere-dist/pom.xml b/stratosphere-dist/pom.xml index a0c1e2476e5..92502233558 100644 --- a/stratosphere-dist/pom.xml +++ b/stratosphere-dist/pom.xml @@ -96,23 +96,30 @@ - hadoop_yarn + hadoop-1 + + + !hadoop.profile + + - - eu.stratosphere - pact-hbase - ${project.version} - + - - hadoop_v1 + hadoop-2 - true + + hadoop.profile + 2 + - + + eu.stratosphere + pact-hbase + ${project.version} + -- GitLab