diff options
author | Mark Hamstra <markhamstra@gmail.com> | 2013-12-15 12:39:58 -0800 |
---|---|---|
committer | Mark Hamstra <markhamstra@gmail.com> | 2013-12-15 12:39:58 -0800 |
commit | 09ed7ddfa0ef8dde12304a26be776232cadc8b1e (patch) | |
tree | 0a4d76764093a12882e346b59db5122b7ab73d0c /examples/pom.xml | |
parent | 7db916596144a8b9e55fabf859d921a093d3c59f (diff) | |
download | spark-09ed7ddfa0ef8dde12304a26be776232cadc8b1e.tar.gz spark-09ed7ddfa0ef8dde12304a26be776232cadc8b1e.tar.bz2 spark-09ed7ddfa0ef8dde12304a26be776232cadc8b1e.zip |
Use scala.binary.version in POMs
Diffstat (limited to 'examples/pom.xml')
-rw-r--r-- | examples/pom.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/pom.xml b/examples/pom.xml index e16b1c80aa..7a7032c319 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -49,25 +49,25 @@ <dependencies> <dependency> <groupId>org.apache.spark</groupId> - <artifactId>spark-core_2.10</artifactId> + <artifactId>spark-core_${scala.binary.version}</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.spark</groupId> - <artifactId>spark-streaming_2.10</artifactId> + <artifactId>spark-streaming_${scala.binary.version}</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.spark</groupId> - <artifactId>spark-mllib_2.10</artifactId> + <artifactId>spark-mllib_${scala.binary.version}</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.spark</groupId> - <artifactId>spark-bagel_2.10</artifactId> + <artifactId>spark-bagel_${scala.binary.version}</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> @@ -88,7 +88,7 @@ </dependency> <dependency> <groupId>com.sksamuel.kafka</groupId> - <artifactId>kafka_2.10</artifactId> + <artifactId>kafka_${scala.binary.version}</artifactId> <version>0.8.0-beta1</version> <exclusions> <exclusion> @@ -107,17 +107,17 @@ </dependency> <dependency> <groupId>com.twitter</groupId> - <artifactId>algebird-core_2.10</artifactId> + <artifactId>algebird-core_${scala.binary.version}</artifactId> <version>0.1.11</version> </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> @@ -166,8 +166,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> |