sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: sling-contrib-extensions-contextaware-config-impl-1.7 #24
Date Mon, 07 Nov 2016 09:48:43 GMT
See <https://builds.apache.org/job/sling-contrib-extensions-contextaware-config-impl-1.7/24/changes>

Changes:

[sseifert] SLING-6244 change method signature of CollectionInheritanceDecider to make it consistent
with ConfigurationResourceResolvingStrategy
add @NotNull annotations

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H10 (Ubuntu yahoo-not-h2 ubuntu docker) in workspace <https://builds.apache.org/job/sling-contrib-extensions-contextaware-config-impl-1.7/ws/>
Updating https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/contextaware-config/impl
at revision '2016-11-07T09:47:22.244 +0000'
U         src/test/java/org/apache/sling/caconfig/resource/impl/def/DefaultConfigurationResourceResolvingStrategyTest.java
U         src/main/java/org/apache/sling/caconfig/resource/impl/def/DefaultConfigurationResourceResolvingStrategy.java
U         pom.xml
At revision 1768468

Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 36334
maven32-agent.jar already up to date
maven32-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-contrib-extensions-contextaware-config-impl-1.7] $ /home/jenkins/tools/java/latest1.7/bin/java
-Xmx2g -Xms256m -XX:MaxPermSize=512m -cp /home/jenkins/jenkins-slave/maven32-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging
jenkins.maven3.agent.Maven32Main /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-slave/slave.jar
/home/jenkins/jenkins-slave/maven32-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar
36334
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/sling-contrib-extensions-contextaware-config-impl-1.7/ws/pom.xml>
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -U clean deploy
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Context-Aware Configuration Implementation 1.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.caconfig.spi/1.0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.caconfig.spi/1.0.1-SNAPSHOT/maven-metadata.xml
(1009 B at 1.5 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.apache.sling.caconfig.impl
---
[INFO] Deleting <https://builds.apache.org/job/sling-contrib-extensions-contextaware-config-impl-1.7/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ org.apache.sling.caconfig.impl
---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.caconfig.impl
---
[INFO] Executing tasks

main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ org.apache.sling.caconfig.impl
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.caconfig.impl
---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.caconfig.impl
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/sling-contrib-extensions-contextaware-config-impl-1.7/ws/src/main/resources>
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ org.apache.sling.caconfig.impl
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 32 source files to <https://builds.apache.org/job/sling-contrib-extensions-contextaware-config-impl-1.7/ws/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/sling-contrib-extensions-contextaware-config-impl-1.7/ws/src/main/java/org/apache/sling/caconfig/resource/impl/def/DefaultConfigurationResourceResolvingStrategy.java>:[337,57]
method decide in interface org.apache.sling.caconfig.resource.spi.CollectionInheritanceDecider
cannot be applied to given types;
  required: java.lang.String,org.apache.sling.api.resource.Resource
  found: org.apache.sling.api.resource.Resource,java.lang.String
  reason: actual argument org.apache.sling.api.resource.Resource cannot be converted to java.lang.String
by method invocation conversion
[INFO] 1 error
[INFO] -------------------------------------------------------------
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.367 s
[INFO] Finished at: 2016-11-07T09:46:47+00:00

[INFO] Final Memory: 35M/451M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
(default-compile) on project org.apache.sling.caconfig.impl: Compilation failure
[ERROR] <https://builds.apache.org/job/sling-contrib-extensions-contextaware-config-impl-1.7/ws/src/main/java/org/apache/sling/caconfig/resource/impl/def/DefaultConfigurationResourceResolvingStrategy.java>:[337,57]
method decide in interface org.apache.sling.caconfig.resource.spi.CollectionInheritanceDecider
cannot be applied to given types;
[ERROR] required: java.lang.String,org.apache.sling.api.resource.Resource
[ERROR] found: org.apache.sling.api.resource.Resource,java.lang.String
[ERROR] reason: actual argument org.apache.sling.api.resource.Resource cannot be converted
to java.lang.String by method invocation conversion
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
channel stopped
Recording test results

Mime
View raw message