From a24e7fa688cad6bd12d8541a76b5e0b04291a070 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Sat, 9 Nov 2013 12:53:10 -0800 Subject: M6 modules, partest depends on scala as provided. The new partest now marks its scala dependencies as provided. This is much more robust than before, and it breaks ugly cycles. Updated the build for partest-extras to provide the required scala-compiler dependency. Also, upgrade pax-url-aether to 1.6.0. Since our jenkins uses mirrors with passwords, we needed a fix for https://ops4j1.jira.com/browse/PAXURL-217 in order to run osgi.test on jenkins, now that we use maven more. We didn't hit this bug before because we were using a standard location for the maven local repository, but that causes problems with concurrent jenkins jobs accessing it. So, I added the following to `~/.m2/settings`, and then ran into the issue described above. Also removed some non-essential uses of the extra-repo (slows stuff down), and added a comment of how to make the osgi tests look in a certain local m2 repo (for /some/ operations...) ``` ${WORKSPACE}/m2repo ``` --- build.xml | 47 ++++++++++++------------------------- test/osgi/src/ScalaOsgiHelper.scala | 2 ++ versions.properties | 12 ++++++---- 3 files changed, 24 insertions(+), 37 deletions(-) diff --git a/build.xml b/build.xml index f37a6e6065..e2d7fc21a0 100755 --- a/build.xml +++ b/build.xml @@ -260,12 +260,14 @@ TODO: - + - + + @@ -282,8 +284,9 @@ TODO: - + + @@ -295,7 +298,7 @@ TODO: - + @@ -313,25 +316,6 @@ TODO: - - - - - - - - - - - - - - @@ -760,13 +744,13 @@ TODO: + - @@ -905,18 +889,16 @@ TODO: - - - - + + + @@ -1807,6 +1789,7 @@ TODO: + diff --git a/test/osgi/src/ScalaOsgiHelper.scala b/test/osgi/src/ScalaOsgiHelper.scala index bcdc5c0df1..7b14cf20e8 100644 --- a/test/osgi/src/ScalaOsgiHelper.scala +++ b/test/osgi/src/ScalaOsgiHelper.scala @@ -21,6 +21,8 @@ trait ScalaOsgiHelper { def standardOptions: Array[exam.Option] = { val bundles = (allBundleFiles map makeBundle) bundles ++ Array[exam.Option](felix(), equinox(), junitBundles()) + // to change the local repo used (for some operations, but not all -- which is why I didn't bother): + // systemProperty("org.ops4j.pax.url.mvn.localRepository").value(sys.props("maven.repo.local"))) } def justReflectionOptions: Array[exam.Option] = { diff --git a/versions.properties b/versions.properties index 865ce3e995..f4eed9d058 100644 --- a/versions.properties +++ b/versions.properties @@ -1,7 +1,9 @@ -starr.version=2.11.0-M5 +starr.version=2.11.0-M6 +starr.use.released=1 # the below is used for depending on dependencies like partest -scala.binary.version=2.11.0-M5 -partest.version.number=1.0-RC5 -scala-xml.version.number=1.0-RC4 -scala-parser-combinators.version.number=1.0-RC2 +scala.binary.version=2.11.0-M6 +partest.version.number=1.0.0-RC7 +scala-xml.version.number=1.0.0-RC6 +scala-parser-combinators.version.number=1.0.0-RC4 +scalacheck.version.number=1.10.1 \ No newline at end of file -- cgit v1.2.3