See <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/677/changes>
Changes: [mduerig] SLING-2012 Sling Scala Hello World example concurrent access fails adding unit test demonstrating the issue ------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Building Scala Script Engine [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] artifact org.scala-tools:maven-scala-plugin: checking for updates from scala-tools.org [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from scala-tools.org [INFO] snapshot org.apache.maven.plugins:maven-eclipse-plugin:2.9-SNAPSHOT: checking for updates from scala-tools.org Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-eclipse-plugin/2.9-SNAPSHOT/maven-eclipse-plugin-2.9-SNAPSHOT.pom [INFO] Unable to find resource 'org.apache.maven.plugins:maven-eclipse-plugin:pom:2.9-SNAPSHOT' in repository scala-tools.org (http://scala-tools.org/repo-releases) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-eclipse-plugin/2.9-SNAPSHOT/maven-eclipse-plugin-2.9-SNAPSHOT.jar [INFO] Unable to find resource 'org.apache.maven.plugins:maven-eclipse-plugin:maven-plugin:2.9-SNAPSHOT' in repository scala-tools.org (http://scala-tools.org/repo-releases) [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting file set: <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/ws/target> (included: [**], excluded: []) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-eclipse-plugin/2.9-SNAPSHOT/maven-eclipse-plugin-2.9-SNAPSHOT.jar [INFO] Unable to find resource 'org.apache.maven.plugins:maven-eclipse-plugin:maven-plugin:2.9-SNAPSHOT' in repository scala-tools.org (http://scala-tools.org/repo-releases) [INFO] [enforcer:enforce {execution: enforce-java}] [INFO] [remote-resources:process {execution: default}] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [echo] ********************** WARNING (SLING-443) ********************************** [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set [echo] MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=128M", see SLING-443. [echo] ***************************************************************************** [INFO] Executed tasks [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [scala:compile {execution: default}] [INFO] Checking for multiple versions of scala [INFO] includes = [**/*.scala,**/*.java,] [INFO] excludes = [] [INFO] <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/ws/src/main/scala>:-1: info: compiling [INFO] Compiling 16 source files to <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/ws/target/classes> at 1299797610971 [WARNING] warning: there were deprecation warnings; re-run with -deprecation for details [WARNING] one warning found [INFO] prepare-compile in 0 s [INFO] compile in 12 s [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/ws/src/test/resources> [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Nothing to compile - all classes are up to date [INFO] [scala:testCompile {execution: default}] [INFO] Checking for multiple versions of scala [INFO] includes = [**/*.scala,**/*.java,] [INFO] excludes = [] [INFO] <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/ws/src/test/scala>:-1: info: compiling [INFO] Compiling 7 source files to <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/ws/target/test-classes> at 1299797623511 [ERROR] <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/ws/src/test/scala/org/apache/sling/scripting/scala/ScriptEngineTest.scala>:21: error: ServiceLoader is not a member of java.util [INFO] import java.util.ServiceLoader [INFO] ^ [ERROR] <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/ws/src/test/scala/org/apache/sling/scripting/scala/ScriptEngineTest.scala>:44: error: not found: value ServiceLoader [INFO] for (val load <- ServiceLoader.load(classOf[ScriptEngineFactory])) yield load.getEngineName match { [INFO] ^ [ERROR] two errors found [JENKINS] Archiving <https://hudson.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.scripting.scala.script/ws/pom.xml> to /home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.scripting.scala.script/builds/2011-03-10_22-46-48/archive/org.apache.sling/org.apache.sling.scripting.scala.script/0.9.0-SNAPSHOT/pom.xml [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 minutes 31 seconds [INFO] Finished at: Thu Mar 10 14:53:48 GMT-08:00 2011 [INFO] Final Memory: 67M/113M [INFO] ------------------------------------------------------------------------