diff options
author | Patrick Wendell <pwendell@gmail.com> | 2013-12-15 22:02:30 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2013-12-15 22:02:30 -0800 |
commit | a51f3404ad8711f5fe66381122c5fa1ead09b3da (patch) | |
tree | e5e8e166be9fde468b21f64c4eff3c2566d04415 /mllib/pom.xml | |
parent | d2ced6d58c5e8aea23f909c2fc4ac11aa1b55607 (diff) | |
parent | 09ed7ddfa0ef8dde12304a26be776232cadc8b1e (diff) | |
download | spark-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 'mllib/pom.xml')
-rw-r--r-- | mllib/pom.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mllib/pom.xml b/mllib/pom.xml index 228f8c029b..dda3900afe 100644 --- a/mllib/pom.xml +++ b/mllib/pom.xml @@ -34,7 +34,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> @@ -48,12 +48,12 @@ </dependency> <dependency> <groupId>org.scalatest</groupId> - <artifactId>scalatest_2.10</artifactId> + <artifactId>scalatest_${scala.binary.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalacheck</groupId> - <artifactId>scalacheck_2.10</artifactId> + <artifactId>scalacheck_${scala.binary.version}</artifactId> <scope>test</scope> </dependency> <dependency> @@ -63,8 +63,8 @@ </dependency> </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.scalatest</groupId> |