aboutsummaryrefslogtreecommitdiff
path: root/yarn
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2013-12-15 22:02:30 -0800
committerPatrick Wendell <pwendell@gmail.com>2013-12-15 22:02:30 -0800
commita51f3404ad8711f5fe66381122c5fa1ead09b3da (patch)
treee5e8e166be9fde468b21f64c4eff3c2566d04415 /yarn
parentd2ced6d58c5e8aea23f909c2fc4ac11aa1b55607 (diff)
parent09ed7ddfa0ef8dde12304a26be776232cadc8b1e (diff)
downloadspark-a51f3404ad8711f5fe66381122c5fa1ead09b3da.tar.gz
spark-a51f3404ad8711f5fe66381122c5fa1ead09b3da.tar.bz2
spark-a51f3404ad8711f5fe66381122c5fa1ead09b3da.zip
Merge pull request #265 from markhamstra/scala.binary.version
DRY out the POMs with scala.binary.version ...instead of hard-coding 2.10 repeatedly. As long as it's not a `<project>`-level `<artifactId>`, I think that we are okay parameterizing these.
Diffstat (limited to 'yarn')
-rw-r--r--yarn/pom.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/yarn/pom.xml b/yarn/pom.xml
index d18ac3736d..bc64a190fd 100644
--- a/yarn/pom.xml
+++ b/yarn/pom.xml
@@ -33,7 +33,7 @@
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
- <artifactId>spark-core_2.10</artifactId>
+ <artifactId>spark-core_${scala.binary.version}</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
@@ -63,7 +63,7 @@
</dependency>
<dependency>
<groupId>org.scalatest</groupId>
- <artifactId>scalatest_2.10</artifactId>
+ <artifactId>scalatest_${scala.binary.version}</artifactId>
<scope>test</scope>
</dependency>
<dependency>
@@ -74,8 +74,8 @@
</dependencies>
<build>
- <outputDirectory>target/scala-2.10/classes</outputDirectory>
- <testOutputDirectory>target/scala-2.10/test-classes</testOutputDirectory>
+ <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
+ <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>