diff --git a/assembly/pom.xml b/assembly/pom.xml index 808a829e192615f3fc2666fcca3576951c97cf52..47a110ca6cbd759bd27417200d7046b66a3a89d2 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -79,7 +79,7 @@ <artifactId>maven-shade-plugin</artifactId> <configuration> <shadedArtifactAttached>false</shadedArtifactAttached> - <outputFile>${project.build.directory}/scala-${scala.version}/${project.artifactId}-${project.version}-hadoop${hadoop.version}.jar</outputFile> + <outputFile>${project.build.directory}/scala-${scala-short.version}/${project.artifactId}-${project.version}-hadoop${hadoop.version}.jar</outputFile> <artifactSet> <includes> <include>*:*</include> diff --git a/bagel/pom.xml b/bagel/pom.xml index 51173c32b2c152ddfb3166df80deccad86f31c1a..feaed6d2b05395bacbf43f5f057d6959d2ecd7de 100644 --- a/bagel/pom.xml +++ b/bagel/pom.xml @@ -43,18 +43,18 @@ </dependency> <dependency> <groupId>org.scalatest</groupId> - <artifactId>scalatest_${scala.version}</artifactId> + <artifactId>scalatest_${scala-short.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalacheck</groupId> - <artifactId>scalacheck_${scala.version}</artifactId> + <artifactId>scalacheck_${scala-short.version}</artifactId> <scope>test</scope> </dependency> </dependencies> <build> - <outputDirectory>target/scala-${scala.version}/classes</outputDirectory> - <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory> + <outputDirectory>target/scala-${scala-short.version}/classes</outputDirectory> + <testOutputDirectory>target/scala-${scala-short.version}/test-classes</testOutputDirectory> <plugins> <plugin> <groupId>org.scalatest</groupId> diff --git a/core/pom.xml b/core/pom.xml index d42c2ee2fdb66d9bbc8cbac253f704da1e3ab113..8d9f0e386f28099b5342323b999e42242c27e8e5 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -83,7 +83,7 @@ </dependency> <dependency> <groupId>com.twitter</groupId> - <artifactId>chill_2.10</artifactId> + <artifactId>chill_${scala-short.version}</artifactId> <version>0.3.1</version> </dependency> <dependency> @@ -91,21 +91,13 @@ <artifactId>chill-java</artifactId> <version>0.3.1</version> </dependency> - <dependency> - <groupId>org.scala-lang</groupId> - <artifactId>scala-actors</artifactId> - </dependency> <dependency> <groupId>com.typesafe.akka</groupId> - <artifactId>akka-remote_${scala.version}</artifactId> + <artifactId>akka-remote_${scala-short.version}</artifactId> </dependency> <dependency> <groupId>com.typesafe.akka</groupId> - <artifactId>akka-slf4j_${scala.version}</artifactId> - </dependency> - <dependency> - <groupId>org.scala-lang</groupId> - <artifactId>scalap</artifactId> + <artifactId>akka-slf4j_${scala-short.version}</artifactId> </dependency> <dependency> <groupId>org.scala-lang</groupId> @@ -113,7 +105,7 @@ </dependency> <dependency> <groupId>net.liftweb</groupId> - <artifactId>lift-json_2.10</artifactId> + <artifactId>lift-json_${scala-short.version}</artifactId> </dependency> <dependency> <groupId>it.unimi.dsi</groupId> @@ -125,7 +117,7 @@ </dependency> <dependency> <groupId>com.github.scala-incubator.io</groupId> - <artifactId>scala-io-file_2.10</artifactId> + <artifactId>scala-io-file_${scala-short.version}</artifactId> </dependency> <dependency> <groupId>org.apache.mesos</groupId> @@ -160,14 +152,19 @@ <artifactId>derby</artifactId> <scope>test</scope> </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <scope>test</scope> + </dependency> <dependency> <groupId>org.scalatest</groupId> - <artifactId>scalatest_${scala.version}</artifactId> + <artifactId>scalatest_${scala-short.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalacheck</groupId> - <artifactId>scalacheck_${scala.version}</artifactId> + <artifactId>scalacheck_${scala-short.version}</artifactId> <scope>test</scope> </dependency> <dependency> @@ -187,8 +184,8 @@ </dependency> </dependencies> <build> - <outputDirectory>target/scala-${scala.version}/classes</outputDirectory> - <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory> + <outputDirectory>target/scala-${scala-short.version}/classes</outputDirectory> + <testOutputDirectory>target/scala-${scala-short.version}/test-classes</testOutputDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/examples/pom.xml b/examples/pom.xml index 9eb6c8a77ffa6309cf1a6cd6828da0f95998bceb..b44a1265468cf44689dcead0ef47d56067a5deaa 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -77,17 +77,17 @@ </dependency> <dependency> <groupId>com.twitter</groupId> - <artifactId>algebird-core_2.10</artifactId> + <artifactId>algebird-core_${scala-short.version}</artifactId> <version>0.1.11</version> </dependency> <dependency> <groupId>org.scalatest</groupId> - <artifactId>scalatest_${scala.version}</artifactId> + <artifactId>scalatest_${scala-short.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalacheck</groupId> - <artifactId>scalacheck_${scala.version}</artifactId> + <artifactId>scalacheck_${scala-short.version}</artifactId> <scope>test</scope> </dependency> <dependency> @@ -128,8 +128,8 @@ </dependencies> <build> - <outputDirectory>target/scala-${scala.version}/classes</outputDirectory> - <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory> + <outputDirectory>target/scala-${scala-short.version}/classes</outputDirectory> + <testOutputDirectory>target/scala-${scala-short.version}/test-classes</testOutputDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/mllib/pom.xml b/mllib/pom.xml index 966caf6835561f0a876970aeaf2118c6568d16e4..f4190148b18f4a88ef5cc86af9f5fd05f92421de 100644 --- a/mllib/pom.xml +++ b/mllib/pom.xml @@ -48,12 +48,12 @@ </dependency> <dependency> <groupId>org.scalatest</groupId> - <artifactId>scalatest_${scala.version}</artifactId> + <artifactId>scalatest_2.10</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalacheck</groupId> - <artifactId>scalacheck_${scala.version}</artifactId> + <artifactId>scalacheck_2.10</artifactId> <scope>test</scope> </dependency> <dependency> @@ -63,8 +63,8 @@ </dependency> </dependencies> <build> - <outputDirectory>target/scala-${scala.version}/classes</outputDirectory> - <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory> + <outputDirectory>target/scala-${scala-short.version}/classes</outputDirectory> + <testOutputDirectory>target/scala-${scala-short.version}/test-classes</testOutputDirectory> <plugins> <plugin> <groupId>org.scalatest</groupId> diff --git a/pom.xml b/pom.xml index cd4593388f16331408ec36e3f6a52bd98bb18e6d..403395696884eb24eb1a47c903c55726d4ba2275 100644 --- a/pom.xml +++ b/pom.xml @@ -76,9 +76,10 @@ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.5</java.version> - <scala.version>2.10</scala.version> - <mesos.version>0.9.0-incubating</mesos.version> - <akka.version>2.1.4</akka.version> + <scala-short.version>2.10</scala-short.version> + <scala.version>2.10.2</scala.version> + <mesos.version>0.12.1</mesos.version> + <akka.version>2.2.1</akka.version> <slf4j.version>1.7.2</slf4j.version> <log4j.version>1.2.17</log4j.version> <hadoop.version>1.0.4</hadoop.version> @@ -214,7 +215,7 @@ </dependency> <dependency> <groupId>com.twitter</groupId> - <artifactId>chill_2.9.3</artifactId> + <artifactId>chill_${scala-short.version}</artifactId> <version>0.3.1</version> </dependency> <dependency> @@ -222,19 +223,14 @@ <artifactId>chill-java</artifactId> <version>0.3.1</version> </dependency> - <dependency> - <groupId>org.scala-lang</groupId> - <artifactId>scala-actors</artifactId> - <version>2.10.0</version> - </dependency> <dependency> <groupId>com.typesafe.akka</groupId> - <artifactId>akka-remote_${scala.version}</artifactId> + <artifactId>akka-remote_${scala-short.version}</artifactId> <version>${akka.version}</version> </dependency> <dependency> <groupId>com.typesafe.akka</groupId> - <artifactId>akka-slf4j_${scala.version}</artifactId> + <artifactId>akka-slf4j_${scala-short.version}</artifactId> <version>${akka.version}</version> </dependency> <dependency> @@ -249,7 +245,7 @@ </dependency> <dependency> <groupId>com.github.scala-incubator.io</groupId> - <artifactId>scala-io-file_2.10</artifactId> + <artifactId>scala-io-file_${scala-short.version}</artifactId> <version>0.4.1</version> </dependency> <dependency> @@ -270,7 +266,7 @@ </dependency> <dependency> <groupId>net.liftweb</groupId> - <artifactId>lift-json_2.10</artifactId> + <artifactId>lift-json_${scala-short.version}</artifactId> <version>2.5.1</version> </dependency> <dependency> @@ -296,36 +292,34 @@ <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-compiler</artifactId> - <version>2.10.0</version> + <version>${scala.version}</version> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>jline</artifactId> - <version>2.10.0</version> - </dependency> - <dependency> - <groupId>org.scala-lang</groupId> - <artifactId>scala-library</artifactId> <version>${scala.version}</version> </dependency> <dependency> <groupId>org.scala-lang</groupId> - <artifactId>scalap</artifactId> + <artifactId>scala-library</artifactId> <version>${scala.version}</version> </dependency> - <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>${log4j.version}</version> </dependency> - <dependency> <groupId>org.scalatest</groupId> - <artifactId>scalatest_${scala.version}</artifactId> + <artifactId>scalatest_${scala-short.version}</artifactId> <version>1.9.1</version> <scope>test</scope> </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.4</version> + </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> @@ -334,7 +328,7 @@ </dependency> <dependency> <groupId>org.scalacheck</groupId> - <artifactId>scalacheck_${scala.version}</artifactId> + <artifactId>scalacheck_${scala-short.version}</artifactId> <version>1.10.0</version> <scope>test</scope> </dependency> diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index f18ebf14002b4dc93ca9b820c3cc8cb0c0e43a18..ffa9c93925a483de27ed9ad396568c73f9607a9c 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -183,8 +183,7 @@ object SparkBuild extends Build { def coreSettings = sharedSettings ++ Seq( name := "spark-core", resolvers ++= Seq( - // "JBoss Repository" at "http://repository.jboss.org/nexus/content/repositories/releases/", - // "Spray Repository" at "http://repo.spray.cc/", + "JBoss Repository" at "http://repository.jboss.org/nexus/content/repositories/releases/", "Cloudera Repository" at "https://repository.cloudera.com/artifactory/cloudera-repos/" ), diff --git a/repl/pom.xml b/repl/pom.xml index b1ca5220bc947fef4dc4522077c7c68b483f6086..a7b5e1f3c7a7a6866adaf82c9cd55a1382f4c7e6 100644 --- a/repl/pom.xml +++ b/repl/pom.xml @@ -61,12 +61,12 @@ <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-compiler</artifactId> - <version>2.10.0</version> + <version>${scala.version}</version> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>jline</artifactId> - <version>2.10.0</version> + <version>${scala.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> @@ -78,18 +78,18 @@ </dependency> <dependency> <groupId>org.scalatest</groupId> - <artifactId>scalatest_${scala.version}</artifactId> + <artifactId>scalatest_${scala-short.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalacheck</groupId> - <artifactId>scalacheck_${scala.version}</artifactId> + <artifactId>scalacheck_${scala-short.version}</artifactId> <scope>test</scope> </dependency> </dependencies> <build> - <outputDirectory>target/scala-${scala.version}/classes</outputDirectory> - <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory> + <outputDirectory>target/scala-${scala-short.version}/classes</outputDirectory> + <testOutputDirectory>target/scala-${scala-short.version}/test-classes</testOutputDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/streaming/pom.xml b/streaming/pom.xml index 3c9baf5f695a8947df219b7ab13e9216b1ca3153..8367256004e4392064f5e8296e4fcb47687db016 100644 --- a/streaming/pom.xml +++ b/streaming/pom.xml @@ -86,17 +86,17 @@ </dependency> <dependency> <groupId>com.typesafe.akka</groupId> - <artifactId>akka-zeromq_${scala.version}</artifactId> + <artifactId>akka-zeromq_${scala-short.version}</artifactId> <version>${akka.version}</version> </dependency> <dependency> <groupId>org.scalatest</groupId> - <artifactId>scalatest_${scala.version}</artifactId> + <artifactId>scalatest_${scala-short.version}</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalacheck</groupId> - <artifactId>scalacheck_${scala.version}</artifactId> + <artifactId>scalacheck_${scala-short.version}</artifactId> <scope>test</scope> </dependency> <dependency> @@ -109,10 +109,14 @@ <artifactId>slf4j-log4j12</artifactId> <scope>test</scope> </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + </dependency> </dependencies> <build> - <outputDirectory>target/scala-${scala.version}/classes</outputDirectory> - <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory> + <outputDirectory>target/scala-${scala-short.version}/classes</outputDirectory> + <testOutputDirectory>target/scala-${scala-short.version}/test-classes</testOutputDirectory> <plugins> <plugin> <groupId>org.scalatest</groupId> diff --git a/tools/pom.xml b/tools/pom.xml index 77646a68165adea8bb810259f91ff368367f652d..0933c75a7fd69a7c60ca7d79682b84ca286e99a2 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -43,14 +43,14 @@ </dependency> <dependency> <groupId>org.scalatest</groupId> - <artifactId>scalatest_${scala.version}</artifactId> + <artifactId>scalatest_${scala-short.version}</artifactId> <scope>test</scope> </dependency> </dependencies> <build> - <outputDirectory>target/scala-${scala.version}/classes</outputDirectory> - <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory> + <outputDirectory>target/scala-${scala-short.version}/classes</outputDirectory> + <testOutputDirectory>target/scala-${scala-short.version}/test-classes</testOutputDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> diff --git a/yarn/pom.xml b/yarn/pom.xml index 21b650d1ea7ce5a21053515782a6f92d6f5cee9b..47e27ee41cf80e08647e67fcb596c202dd0dda56 100644 --- a/yarn/pom.xml +++ b/yarn/pom.xml @@ -64,8 +64,8 @@ </dependencies> <build> - <outputDirectory>target/scala-${scala.version}/classes</outputDirectory> - <testOutputDirectory>target/scala-${scala.version}/test-classes</testOutputDirectory> + <outputDirectory>target/scala-${scala-short.version}/classes</outputDirectory> + <testOutputDirectory>target/scala-${scala-short.version}/test-classes</testOutputDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId>