You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by gm...@apache.org on 2015/12/26 17:29:39 UTC

Build failed in Jenkins: sling » Apache Sling Commons OSGi support #1173

See <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/1173/changes>

Changes:

[kwin] SLING-5403 remove unnecessary import

[kwin] SLING-5403 return List instead of Collection for RankedServices.get

[kwin] SLING-5041 allow to explicitly give ordering in RankedServices and in ServiceUtil

deprecate constructors not having a dedicated order parameter

------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Sling Commons OSGi support 2.3.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.apache.sling.commons.osgi ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.commons.osgi ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.commons.osgi ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-dependency-plugin:2.10:copy-dependencies (copy-test-bundles) @ org.apache.sling.commons.osgi ---
[INFO] Copying org.apache.sling.api-2.0.6.jar to <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/target/testjars/org.apache.sling.api-2.0.6.jar>
[INFO] Copying jcr-1.0.jar to <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/target/testjars/jcr-1.0.jar>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.apache.sling.commons.osgi ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.apache.sling.commons.osgi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (check-memory-task) @ org.apache.sling.commons.osgi ---
[INFO] Executing tasks

main:
     [echo] **************** WARNING (SLING-443/SLING-1782) ******************************
     [echo] On most platforms, you'll get OutOfMemoryErrors when building unless you set
     [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M", see SLING-443
     [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M", see SLING-1782
     [echo] ******************************************************************************
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ org.apache.sling.commons.osgi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.apache.sling.commons.osgi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ org.apache.sling.commons.osgi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/target/test-classes>
[INFO] <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/src/test/java/org/apache/sling/commons/osgi/RankedServicesTest.java>: <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/src/test/java/org/apache/sling/commons/osgi/RankedServicesTest.java> uses or overrides a deprecated API.
[INFO] <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/src/test/java/org/apache/sling/commons/osgi/RankedServicesTest.java>: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ org.apache.sling.commons.osgi ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (default) @ org.apache.sling.commons.osgi ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.0:bundle (default-bundle) @ org.apache.sling.commons.osgi ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ org.apache.sling.commons.osgi ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ org.apache.sling.commons.osgi ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ org.apache.sling.commons.osgi ---
[INFO] Building jar: <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/ws/target/org.apache.sling.commons.osgi-2.3.1-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ org.apache.sling.commons.osgi ---
[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ org.apache.sling.commons.osgi ---
[INFO] Checking legal files in: org.apache.sling.commons.osgi-2.3.1-SNAPSHOT.jar
[INFO] Checking legal files in: org.apache.sling.commons.osgi-2.3.1-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.commons.osgi ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: src/main/appended-resources/META-INF/*
[INFO] Exclude: velocity.log
[INFO] Exclude: target/*
[INFO] Exclude: README.md
[INFO] Exclude: maven-eclipse.xml
[INFO] Exclude: .*
[INFO] Exclude: .*/**
[INFO] Exclude: **/*.json
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: **/*.rej
[INFO] 25 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 24 licence.
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.0:baseline (baseline) @ org.apache.sling.commons.osgi ---
[INFO] artifact org.apache.sling:org.apache.sling.commons.osgi: checking for updates from apache.snapshots
[INFO] artifact org.apache.sling:org.apache.sling.commons.osgi: checking for updates from central
[INFO] Baseline Report - Generated by Apache Felix Maven Bundle Plugin on 2015-12-26T16:29Z based on Bnd - see http://www.aqute.biz/Bnd/Bnd
[INFO] Comparing bundle org.apache.sling.commons.osgi version 2.3.1-SNAPSHOT to version 2.3.0
[INFO] 
[INFO]   PACKAGE_NAME                                       DELTA      CUR_VER    BASE_VER   REC_VER    WARNINGS  
[INFO] = ================================================== ========== ========== ========== ========== ==========
[INFO] * org.apache.sling.commons.osgi                      major      2.4.0      2.3.0      3.0.0      Version increase required
[INFO]      + class org.apache.sling.commons.osgi.BSNRenamer
[INFO]          + extends org.apache.sling.commons.osgi.BundleFileProcessor
[INFO]          + field java.lang.String BUNDLE_SYMBOLIC_NAME
[INFO]              + access final
[INFO]              + access static
[INFO]              + constant Bundle-SymbolicName
[INFO]          + field java.lang.String BUNDLE_VERSION
[INFO]              + access final
[INFO]              + access static
[INFO]              + constant Bundle-Version
[INFO]          + field java.lang.String X_ORIG_BSN
[INFO]              + access final
[INFO]              + access static
[INFO]              + constant X-Original-Bundle-SymbolicName
[INFO]          + method <init>(java.io.File,java.io.File,java.lang.String)
[INFO]          + method clone()
[INFO]              + access protected
[INFO]          + method equals(java.lang.Object)
[INFO]              + return boolean
[INFO]          + method finalize()
[INFO]              + access protected
[INFO]          + method getTargetFilename(java.util.jar.Manifest)
[INFO]              + access protected
[INFO]              + return java.lang.String
[INFO]          + method hashCode()
[INFO]              + return int
[INFO]          + method process()
[INFO]              + return java.io.File
[INFO]          + method processManifest(java.util.jar.Manifest)
[INFO]              + access protected
[INFO]              + return java.util.jar.Manifest
[INFO]          + method toString()
[INFO]              + return java.lang.String
[INFO]      + class org.apache.sling.commons.osgi.BundleFileProcessor
[INFO]          + access abstract
[INFO]          + method <init>(java.io.File,java.io.File)
[INFO]          + method clone()
[INFO]              + access protected
[INFO]          + method equals(java.lang.Object)
[INFO]              + return boolean
[INFO]          + method finalize()
[INFO]              + access protected
[INFO]          + method getTargetFilename(java.util.jar.Manifest)
[INFO]              + access abstract
[INFO]              + access protected
[INFO]              + return java.lang.String
[INFO]          + method hashCode()
[INFO]              + return int
[INFO]          + method process()
[INFO]              + return java.io.File
[INFO]          + method processManifest(java.util.jar.Manifest)
[INFO]              + access abstract
[INFO]              + access protected
[INFO]              + return java.util.jar.Manifest
[INFO]          + method toString()
[INFO]              + return java.lang.String
[INFO]      > class org.apache.sling.commons.osgi.RankedServices
[INFO]          + method <init>(org.apache.sling.commons.osgi.Order)
[INFO]          + method <init>(org.apache.sling.commons.osgi.Order,org.apache.sling.commons.osgi.RankedServices$ChangeListener)
[INFO]          > method get()
[INFO]              - return java.util.Collection<TT;>
[INFO]              + return java.util.List<TT;>
[INFO]      < class org.apache.sling.commons.osgi.ServiceUtil
[INFO]          + method getComparableForServiceRanking(Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;Lorg/apache/sling/commons/osgi/Order;)
[INFO]              + access static
[INFO]              + return java.lang.Comparable<Ljava.lang.Object;>
[INFO]      - version 2.3.0
[INFO]      + version 2.4.0
[INFO] -----------------------------------------------------------------------------------------------------------
[INFO]   org.apache.sling.commons.osgi.bundleversion        unchanged  2.2.0      2.2.0      2.2.0      -         
[INFO] -----------------------------------------------------------------------------------------------------------
[ERROR] org.apache.sling.commons.osgi: Version increase required; detected 2.4.0, suggested 3.0.0
[INFO] Baseline analysis complete, 1 error(s), 0 warning(s)
[JENKINS] Archiving disabled

Jenkins build is back to normal : sling » Apache Sling Commons OSGi support #1174

Posted by gm...@apache.org.
See <https://analysis.apache.org/jenkins/job/sling/org.apache.sling$org.apache.sling.commons.osgi/1174/changes>