You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Apache Hudson Server <hu...@hudson.zones.apache.org> on 2009/11/25 14:49:25 UTC
Build failed in Hudson: sling-contrib-1.5 #266
See <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/266/changes>
Changes:
[cziegeler] Use latest commons html and remove workaround for nekohtml
[cziegeler] Use latest commons html and remove workaround for nekohtml
[cziegeler] SLING-1203 : Use tagsoup html parser instead of nekohtml
------------------------------------------
A SCM change trigger started this job
Building remotely on minerva.apache.org (Ubuntu)
Updating http://svn.apache.org/repos/asf/sling/trunk/contrib
A extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/components/HtmlSerializerFactory.java
A extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/components/XHtmlSerializerFactory.java
U extensions/rewriter/pom.xml
U commons/html/NOTICE
D commons/html/src/main/java/org/apache/sling/commons/html/impl/NekohtmlSaxParser.java
D commons/html/src/main/java/org/apache/sling/commons/html/impl/NekohtmlDomParser.java
U commons/html/src/main/java/org/apache/sling/commons/html/impl/HtmlParserImpl.java
AU commons/html/src/main/java/org/apache/sling/commons/html/impl/DOMBuilder.java
U commons/html/pom.xml
At revision 884093
Parsing POMs
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
<channel started
===[HUDSON REMOTING CAPACITY]===> Executing Maven: -B -f <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/pom.xml> -P jcrinstall-tests clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Sling Commons Java Compiler
[INFO] Apache Sling Commons FileSystem ClassLoader
[INFO] Apache Sling Commons HTML Utilities
[INFO] Apache Sling APT parser
[INFO] Apache Sling APT servlet
[INFO] Apache Sling Dojo JavaScript Library
[INFO] Apache Sling Dojo Data Extension
[INFO] Apache Sling Google Web Toolkit Servlet Library
[INFO] Apache Sling Google Web Toolkit Sample
[INFO] Apache Sling Internationalization Support
[INFO] Apache Sling OSGi Bundle Repository
[INFO] Apache Sling Rewriter
[INFO] Apache Sling RunMode service
[INFO] Apache Sling Jackrabbit API Bundle
[INFO] Apache Sling Repository Accessor
[INFO] Apache Sling JCR Java Compiler
[INFO] Apache Sling JCR Prefs
[INFO] Apache Sling Atom Tag Library
[INFO] Apache Sling Scripting Freemarker Support
[INFO] Apache Sling Scripting Java Support
[INFO] Apache Sling Scripting JST Support
[INFO] Apache Sling Scripting Python Support
[INFO] Apache Sling Scripting Ruby Support
[INFO] Apache Sling Scripting Scala Interpreter
[INFO] Apache Sling Scripting Scala Support
[INFO] Apache Sling Scripting Velocity Support
[INFO] Apache Sling Scripting W3C XML Processing Support
[INFO] Apache Sling Launchpad Jackrabbit Server
[INFO] Apache Sling Features for ServiceMix Kernel
[INFO] Apache Sling Launchpad Contrib Testing
[INFO] Apache Sling Contrib (Builder)
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Commons Java Compiler
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target> (included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[echo] ********************** WARNING (SLING-443) **********************************
[echo] On most platforms, building Apache Sling currently requires setting
[echo] MAVEN_OPTS="-Xmx256M", see https://issues.apache.org/jira/browse/SLING-443
[echo] You might get a "java.lang.OutOfMemoryError: Java heap space" if that
[echo] setting is not correct.
[echo] *****************************************************************************
[INFO] Executed tasks
[INFO] [compiler:compile]
[INFO] Compiling 7 source files to <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/classes>
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] Writing abstract service descriptor <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml> with 1 entries.
[INFO] Generating 1 Service Component Descriptors to <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml>
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/test-classes>
[INFO] [surefire:test]
[INFO] Surefire report directory: <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.sling.commons.compiler.impl.CompilerJava5Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.477 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[HUDSON] Recording test results
[INFO] [bundle:bundle]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/pom.xml> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.compiler/builds/2009-11-25_13-48-16/archive/org.apache.sling/org.apache.sling.commons.compiler/0.9.0-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.compiler/builds/2009-11-25_13-48-16/archive/org.apache.sling/org.apache.sling.commons.compiler/0.9.0-SNAPSHOT/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT.jar
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT-sources.jar>
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: org.apache.sling.commons.compiler-0.9.0-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.commons.compiler-0.9.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT.jar> to /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.compiler/0.9.0-SNAPSHOT/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT.jar
[INFO] Installing <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT-sources.jar> to /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.compiler/0.9.0-SNAPSHOT/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT-sources.jar
[INFO] [bundle:install]
[INFO] Parsing file:/home/hudson/.m2/repository/repository.xml
[INFO] Installing org/apache/sling/org.apache.sling.commons.compiler/0.9.0-SNAPSHOT/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT-sources.jar> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.compiler/builds/2009-11-25_13-48-16/archive/org.apache.sling/org.apache.sling.commons.compiler/0.9.0-SNAPSHOT/org.apache.sling.commons.compiler-0.9.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Commons FileSystem ClassLoader
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.commons.classloader/1.1.0-SNAPSHOT/org.apache.sling.commons.classloader-1.1.0-SNAPSHOT.pom
Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.commons.classloader/1.1.0-SNAPSHOT/org.apache.sling.commons.classloader-1.1.0-SNAPSHOT.jar
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/fsclassloader/pom.xml> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.fsclassloader/builds/2009-11-25_13-48-16/archive/org.apache.sling/org.apache.sling.commons.fsclassloader/0.9.0-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.sling:org.apache.sling.commons.classloader:jar:1.1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.commons.classloader -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.commons.classloader -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.sling:org.apache.sling.commons.fsclassloader:bundle:0.9.0-SNAPSHOT
2) org.apache.sling:org.apache.sling.commons.classloader:jar:1.1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.sling:org.apache.sling.commons.fsclassloader:bundle:0.9.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://repository.apache.org/snapshots)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52 seconds
[INFO] Finished at: Wed Nov 25 13:50:32 UTC 2009
[INFO] Final Memory: 29M/71M
[INFO] ------------------------------------------------------------------------
channel stopped
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Hudson build is back to normal: sling-contrib-1.5 #269
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/269/changes>
Build failed in Hudson: sling-contrib-1.5 #268
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/268/changes>
Changes:
[cziegeler] Use current snapshot
------------------------------------------
A SCM change trigger started this job
Building remotely on minerva.apache.org (Ubuntu)
Updating http://svn.apache.org/repos/asf/sling/trunk/contrib
U commons/fsclassloader/pom.xml
At revision 884644
Parsing POMs
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
<==channel started=[HUDSON REMOTING CAPACITY]===
> Executing Maven: -B -f <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/pom.xml> -P jcrinstall-tests clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Sling Commons Java Compiler
[INFO] Apache Sling Commons FileSystem ClassLoader
[INFO] Apache Sling Commons HTML Utilities
[INFO] Apache Sling APT parser
[INFO] Apache Sling APT servlet
[INFO] Apache Sling Dojo JavaScript Library
[INFO] Apache Sling Dojo Data Extension
[INFO] Apache Sling Google Web Toolkit Servlet Library
[INFO] Apache Sling Google Web Toolkit Sample
[INFO] Apache Sling Internationalization Support
[INFO] Apache Sling OSGi Bundle Repository
[INFO] Apache Sling Rewriter
[INFO] Apache Sling RunMode service
[INFO] Apache Sling Jackrabbit API Bundle
[INFO] Apache Sling Repository Accessor
[INFO] Apache Sling JCR Java Compiler
[INFO] Apache Sling JCR Prefs
[INFO] Apache Sling Atom Tag Library
[INFO] Apache Sling Scripting Freemarker Support
[INFO] Apache Sling Scripting Java Support
[INFO] Apache Sling Scripting JST Support
[INFO] Apache Sling Scripting Python Support
[INFO] Apache Sling Scripting Ruby Support
[INFO] Apache Sling Scripting Scala Interpreter
[INFO] Apache Sling Scripting Scala Support
[INFO] Apache Sling Scripting Velocity Support
[INFO] Apache Sling Scripting W3C XML Processing Support
[INFO] Apache Sling Launchpad Jackrabbit Server
[INFO] Apache Sling Features for ServiceMix Kernel
[INFO] Apache Sling Launchpad Contrib Testing
[INFO] Apache Sling Contrib (Builder)
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Commons Java Compiler
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target> (included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[echo] ********************** WARNING (SLING-443) **********************************
[echo] On most platforms, building Apache Sling currently requires setting
[echo] MAVEN_OPTS="-Xmx256M", see https://issues.apache.org/jira/browse/SLING-443
[echo] You might get a "java.lang.OutOfMemoryError: Java heap space" if that
[echo] setting is not correct.
[echo] *****************************************************************************
[INFO] Executed tasks
[INFO] [compiler:compile]
[INFO] Compiling 7 source files to <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/classes>
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] Writing abstract service descriptor <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml> with 1 entries.
[INFO] Generating 1 Service Component Descriptors to <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml>
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/test-classes>
[INFO] [surefire:test]
[INFO] Surefire report directory: <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.sling.commons.compiler.impl.CompilerJava5Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.413 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[HUDSON] Recording test results
[INFO] [bundle:bundle]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/pom.xml> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.compiler/builds/2009-11-26_17-01-14/archive/org.apache.sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.compiler/builds/2009-11-26_17-01-14/archive/org.apache.sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar>
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar> to /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar
[INFO] Installing <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar> to /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar
[INFO] [bundle:install]
[INFO] Parsing file:/home/hudson/.m2/repository/repository.xml
[INFO] Installing org/apache/sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar
[INFO] Writing OBR metadata
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.compiler/builds/2009-11-26_17-01-14/archive/org.apache.sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Commons FileSystem ClassLoader
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] snapshot org.apache.sling:org.apache.sling.commons.classloader:1.1.1-SNAPSHOT: checking for updates from apache.snapshots
Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.commons.classloader/1.1.1-SNAPSHOT/org.apache.sling.commons.classloader-1.1.1-SNAPSHOT.pom
Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.commons.classloader/1.1.1-SNAPSHOT/org.apache.sling.commons.classloader-1.1.1-SNAPSHOT.jar
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/fsclassloader/pom.xml> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.fsclassloader/builds/2009-11-26_17-01-14/archive/org.apache.sling/org.apache.sling.commons.fsclassloader/0.9.0-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.sling:org.apache.sling.commons.classloader:jar:1.1.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.commons.classloader -Dversion=1.1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.commons.classloader -Dversion=1.1.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.sling:org.apache.sling.commons.fsclassloader:bundle:0.9.0-SNAPSHOT
2) org.apache.sling:org.apache.sling.commons.classloader:jar:1.1.1-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.sling:org.apache.sling.commons.fsclassloader:bundle:0.9.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://repository.apache.org/snapshots)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48 seconds
[INFO] Finished at: Thu Nov 26 17:03:31 UTC 2009
[INFO] Final Memory: 29M/59M
[INFO] ------------------------------------------------------------------------
channel stopped
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Build failed in Hudson: sling-contrib-1.5 #267
Posted by Apache Hudson Server <hu...@hudson.zones.apache.org>.
See <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/267/changes>
Changes:
[cziegeler] Use snapshot until the bundle is released.
[cziegeler] [maven-release-plugin] prepare for next development iteration
[cziegeler] [maven-release-plugin] prepare release org.apache.sling.scripting.java-1.0.0
[cziegeler] [maven-release-plugin] prepare for next development iteration
[cziegeler] [maven-release-plugin] prepare release org.apache.sling.scripting.java-1.0.0
[cziegeler] [maven-release-plugin] prepare for next development iteration
[cziegeler] [maven-release-plugin] prepare release org.apache.sling.jcr.prefs-1.0.0
[cziegeler] [maven-release-plugin] prepare for next development iteration
[cziegeler] [maven-release-plugin] prepare release org.apache.sling.jcr.compiler-1.0.0
[cziegeler] Export version 1.0.0 of the API
[cziegeler] [maven-release-plugin] prepare for next development iteration
[cziegeler] Export version 1.0.0 of the API
[cziegeler] [maven-release-plugin] prepare release org.apache.sling.commons.html-1.0.0
[cziegeler] Export version 1.0.0 of the API
[cziegeler] [maven-release-plugin] prepare for next development iteration
[cziegeler] [maven-release-plugin] prepare release org.apache.sling.commons.compiler-1.0.0
[cziegeler] Use latest parent pom.
[cziegeler] Delete obsolete directories.
------------------------------------------
A SCM change trigger started this job
Building remotely on minerva.apache.org (Ubuntu)
Updating http://svn.apache.org/repos/asf/sling/trunk/contrib
U scripting/java/pom.xml
U commons/html/pom.xml
U commons/compiler/pom.xml
D jcr/resource2
U jcr/prefs/pom.xml
U jcr/compiler/pom.xml
At revision 884623
Parsing POMs
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
<===[HUDSON REMOTING CAPACITY]===> channel started
Executing Maven: -B -f <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/pom.xml> -P jcrinstall-tests clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Sling Commons Java Compiler
[INFO] Apache Sling Commons FileSystem ClassLoader
[INFO] Apache Sling Commons HTML Utilities
[INFO] Apache Sling APT parser
[INFO] Apache Sling APT servlet
[INFO] Apache Sling Dojo JavaScript Library
[INFO] Apache Sling Dojo Data Extension
[INFO] Apache Sling Google Web Toolkit Servlet Library
[INFO] Apache Sling Google Web Toolkit Sample
[INFO] Apache Sling Internationalization Support
[INFO] Apache Sling OSGi Bundle Repository
[INFO] Apache Sling Rewriter
[INFO] Apache Sling RunMode service
[INFO] Apache Sling Jackrabbit API Bundle
[INFO] Apache Sling Repository Accessor
[INFO] Apache Sling JCR Java Compiler
[INFO] Apache Sling JCR Prefs
[INFO] Apache Sling Atom Tag Library
[INFO] Apache Sling Scripting Freemarker Support
[INFO] Apache Sling Scripting Java Support
[INFO] Apache Sling Scripting JST Support
[INFO] Apache Sling Scripting Python Support
[INFO] Apache Sling Scripting Ruby Support
[INFO] Apache Sling Scripting Scala Interpreter
[INFO] Apache Sling Scripting Scala Support
[INFO] Apache Sling Scripting Velocity Support
[INFO] Apache Sling Scripting W3C XML Processing Support
[INFO] Apache Sling Launchpad Jackrabbit Server
[INFO] Apache Sling Features for ServiceMix Kernel
[INFO] Apache Sling Launchpad Contrib Testing
[INFO] Apache Sling Contrib (Builder)
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Commons Java Compiler
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set: <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target> (included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[echo] ********************** WARNING (SLING-443) **********************************
[echo] On most platforms, building Apache Sling currently requires setting
[echo] MAVEN_OPTS="-Xmx256M", see https://issues.apache.org/jira/browse/SLING-443
[echo] You might get a "java.lang.OutOfMemoryError: Java heap space" if that
[echo] setting is not correct.
[echo] *****************************************************************************
[INFO] Executed tasks
[INFO] [compiler:compile]
[INFO] Compiling 7 source files to <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/classes>
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] Writing abstract service descriptor <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml> with 1 entries.
[INFO] Generating 1 Service Component Descriptors to <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml>
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/test-classes>
[INFO] [surefire:test]
[INFO] Surefire report directory: <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.sling.commons.compiler.impl.CompilerJava5Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.439 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[HUDSON] Recording test results
[INFO] [bundle:bundle]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/pom.xml> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.compiler/builds/2009-11-26_16-21-07/archive/org.apache.sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/pom.xml
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.compiler/builds/2009-11-26_16-21-07/archive/org.apache.sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar>
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar> to /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar
[INFO] Installing <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar> to /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar
[INFO] [bundle:install]
[INFO] Parsing file:/home/hudson/.m2/repository/repository.xml
[INFO] Installing org/apache/sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT.jar
[INFO] Writing OBR metadata
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/compiler/target/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.compiler/builds/2009-11-26_16-21-07/archive/org.apache.sling/org.apache.sling.commons.compiler/1.0.1-SNAPSHOT/org.apache.sling.commons.compiler-1.0.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Commons FileSystem ClassLoader
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] snapshot org.apache.sling:org.apache.sling.commons.classloader:1.1.0-SNAPSHOT: checking for updates from apache.snapshots
Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.commons.classloader/1.1.0-SNAPSHOT/org.apache.sling.commons.classloader-1.1.0-SNAPSHOT.pom
Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.commons.classloader/1.1.0-SNAPSHOT/org.apache.sling.commons.classloader-1.1.0-SNAPSHOT.jar
[HUDSON] Archiving <http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/commons/fsclassloader/pom.xml> to /export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.commons.fsclassloader/builds/2009-11-26_16-21-07/archive/org.apache.sling/org.apache.sling.commons.fsclassloader/0.9.0-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.sling:org.apache.sling.commons.classloader:jar:1.1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.commons.classloader -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.sling -DartifactId=org.apache.sling.commons.classloader -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.sling:org.apache.sling.commons.fsclassloader:bundle:0.9.0-SNAPSHOT
2) org.apache.sling:org.apache.sling.commons.classloader:jar:1.1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.sling:org.apache.sling.commons.fsclassloader:bundle:0.9.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://repository.apache.org/snapshots)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59 seconds
[INFO] Finished at: Thu Nov 26 16:23:38 UTC 2009
[INFO] Final Memory: 29M/60M
[INFO] ------------------------------------------------------------------------
channel stopped
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released