From ebdfa6bb9766209bc5a3c4241fa47141c5e9c5cb Mon Sep 17 00:00:00 2001 From: Raymond Liu Date: Thu, 2 Jan 2014 11:23:33 +0800 Subject: Using name yarn-alpha/yarn instead of yarn-2.0/yarn-2.2 --- yarn/alpha/pom.xml | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 yarn/alpha/pom.xml (limited to 'yarn/alpha/pom.xml') diff --git a/yarn/alpha/pom.xml b/yarn/alpha/pom.xml new file mode 100644 index 0000000000..94812f8c45 --- /dev/null +++ b/yarn/alpha/pom.xml @@ -0,0 +1,112 @@ + + + + 4.0.0 + + org.apache.spark + spark-yarn-aggregator_2.10 + 0.9.0-incubating-SNAPSHOT + ../pom.xml + + + org.apache.spark + spark-yarn-alpha_2.10 + jar + Spark Project YARN Alpha API + http://spark.incubator.apache.org/ + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-scala-sources + generate-sources + + add-source + + + + src/main/scala + ../common/src/main/scala + + + + + add-scala-test-sources + generate-test-sources + + add-test-source + + + + src/test/scala + ../common/src/test/scala + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + test + + run + + + true + + + + + + + + + + + + + + + + + + + + org.scalatest + scalatest-maven-plugin + + + ${basedir}/../.. + 1 + ${spark.classpath} + + + + + + target/scala-${scala.binary.version}/classes + target/scala-${scala.binary.version}/test-classes + + -- cgit v1.2.3 From c59029402d0348a5721cc128c20b79683a75f4ca Mon Sep 17 00:00:00 2001 From: Raymond Liu Date: Thu, 2 Jan 2014 14:04:56 +0800 Subject: move duplicate pom config into parent pom --- yarn/alpha/pom.xml | 82 +------------------------------------------- yarn/pom.xml | 99 ++++++++++++++++++++++++++++++++++++++++++++--------- yarn/stable/pom.xml | 82 +------------------------------------------- 3 files changed, 84 insertions(+), 179 deletions(-) (limited to 'yarn/alpha/pom.xml') diff --git a/yarn/alpha/pom.xml b/yarn/alpha/pom.xml index 94812f8c45..8291e9e7a3 100644 --- a/yarn/alpha/pom.xml +++ b/yarn/alpha/pom.xml @@ -19,7 +19,7 @@ 4.0.0 org.apache.spark - spark-yarn-aggregator_2.10 + yarn-parent_2.10 0.9.0-incubating-SNAPSHOT ../pom.xml @@ -28,85 +28,5 @@ spark-yarn-alpha_2.10 jar Spark Project YARN Alpha API - http://spark.incubator.apache.org/ - - - - org.codehaus.mojo - build-helper-maven-plugin - - - add-scala-sources - generate-sources - - add-source - - - - src/main/scala - ../common/src/main/scala - - - - - add-scala-test-sources - generate-test-sources - - add-test-source - - - - src/test/scala - ../common/src/test/scala - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - test - - run - - - true - - - - - - - - - - - - - - - - - - - - org.scalatest - scalatest-maven-plugin - - - ${basedir}/../.. - 1 - ${spark.classpath} - - - - - - target/scala-${scala.binary.version}/classes - target/scala-${scala.binary.version}/test-classes - diff --git a/yarn/pom.xml b/yarn/pom.xml index 7c145ef362..aea8b0cdde 100644 --- a/yarn/pom.xml +++ b/yarn/pom.xml @@ -25,25 +25,10 @@ org.apache.spark - spark-yarn-aggregator_2.10 + yarn-parent_2.10 pom - Spark Project YARN Aggregator - http://spark.incubator.apache.org/ + Spark Project YARN Parent POM - - - maven-root - Maven root repository - http://repo1.maven.org/maven2 - - true - - - false - - - - org.apache.spark @@ -103,4 +88,84 @@ + + + + org.codehaus.mojo + build-helper-maven-plugin + + + add-scala-sources + generate-sources + + add-source + + + + src/main/scala + ../common/src/main/scala + + + + + add-scala-test-sources + generate-test-sources + + add-test-source + + + + src/test/scala + ../common/src/test/scala + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + test + + run + + + true + + + + + + + + + + + + + + + + + + + + org.scalatest + scalatest-maven-plugin + + + ${basedir}/../.. + 1 + ${spark.classpath} + + + + + + target/scala-${scala.binary.version}/classes + target/scala-${scala.binary.version}/test-classes + + diff --git a/yarn/stable/pom.xml b/yarn/stable/pom.xml index 45a14313f6..62fe3e2742 100644 --- a/yarn/stable/pom.xml +++ b/yarn/stable/pom.xml @@ -19,7 +19,7 @@ 4.0.0 org.apache.spark - spark-yarn-aggregator_2.10 + yarn-parent_2.10 0.9.0-incubating-SNAPSHOT ../pom.xml @@ -28,85 +28,5 @@ spark-yarn_2.10 jar Spark Project YARN Stable API - http://spark.incubator.apache.org/ - - - - org.codehaus.mojo - build-helper-maven-plugin - - - add-scala-sources - generate-sources - - add-source - - - - src/main/scala - ../common/src/main/scala - - - - - add-scala-test-sources - generate-test-sources - - add-test-source - - - - src/test/scala - ../common/src/test/scala - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - - - test - - run - - - true - - - - - - - - - - - - - - - - - - - - org.scalatest - scalatest-maven-plugin - - - ${basedir}/../.. - 1 - ${spark.classpath} - - - - - - target/scala-${scala.binary.version}/classes - target/scala-${scala.binary.version}/test-classes - -- cgit v1.2.3