See <https://builds.apache.org/job/sling-tooling-trunk-1.7/128/changes>
Changes: [bdelacretaz] SLING-5379 - use BundleFileProcessor [bdelacretaz] SLING-5379 - support renaming of bundles in maven-slingstart-plugin. Contributed by David Bosschaert, thanks! ------------------------------------------ [...truncated 646 lines...] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec - in org.apache.sling.maven.projectsupport.PreparePackageMojoTest Results : Tests run: 35, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- animal-sniffer-maven-plugin:1.14:check (default) @ maven-launchpad-plugin --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0 [INFO] [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ maven-launchpad-plugin --- [INFO] Building jar: <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/maven-launchpad-plugin/target/maven-launchpad-plugin-2.3.5-SNAPSHOT.jar> [INFO] [INFO] --- maven-plugin-plugin:3.4:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ maven-launchpad-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ maven-launchpad-plugin --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ maven-launchpad-plugin --- [INFO] Executing tasks main: [INFO] Executed tasks [INFO] [INFO] --- maven-plugin-plugin:3.4:helpmojo (help-goal) @ maven-launchpad-plugin --- [ERROR] Artifact Ids of the format maven-___-plugin are reserved for plugins in the Group Id org.apache.maven.plugins Please change your artifactId to the format ___-maven-plugin In the future this error will break the build. [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-annotations found 15 mojo descriptors. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] [INFO] --- modello-maven-plugin:1.8.1:xsd (bundle-manifest.xml) @ maven-launchpad-plugin --- [INFO] outputDirectory: <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/maven-launchpad-plugin/target/generated-site/xsd> [INFO] Working on model: src/main/mdo/bundle-list.xml [INFO] Generating current version: 1.0.0 [INFO] [INFO] --- modello-maven-plugin:1.8.1:java (bundle-manifest.xml) @ maven-launchpad-plugin --- [INFO] outputDirectory: <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/maven-launchpad-plugin/target/generated-sources/modello> [INFO] Working on model: src/main/mdo/bundle-list.xml [INFO] Generating current version: 1.0.0 [INFO] [INFO] --- modello-maven-plugin:1.8.1:xpp3-reader (bundle-manifest.xml) @ maven-launchpad-plugin --- [INFO] outputDirectory: <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/maven-launchpad-plugin/target/generated-sources/modello> [INFO] Working on model: src/main/mdo/bundle-list.xml [INFO] Generating current version: 1.0.0 [INFO] [INFO] --- modello-maven-plugin:1.8.1:xpp3-writer (bundle-manifest.xml) @ maven-launchpad-plugin --- [INFO] outputDirectory: <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/maven-launchpad-plugin/target/generated-sources/modello> [INFO] Working on model: src/main/mdo/bundle-list.xml [INFO] Generating current version: 1.0.0 [WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo [INFO] [INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ maven-launchpad-plugin --- [INFO] Building jar: <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/maven-launchpad-plugin/target/maven-launchpad-plugin-2.3.5-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ maven-launchpad-plugin --- [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ maven-launchpad-plugin --- [INFO] Checking legal files in: maven-launchpad-plugin-2.3.5-SNAPSHOT.jar [INFO] Checking legal files in: maven-launchpad-plugin-2.3.5-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ maven-launchpad-plugin --- [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] 35 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 34 licence. [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ maven-launchpad-plugin --- [INFO] Installing <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/maven-launchpad-plugin/target/maven-launchpad-plugin-2.3.5-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-launchpad-plugin-2.3.5-SNAPSHOT.jar [INFO] Installing <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/maven-launchpad-plugin/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-launchpad-plugin-2.3.5-SNAPSHOT.pom [INFO] Installing <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/maven-launchpad-plugin/target/maven-launchpad-plugin-2.3.5-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-launchpad-plugin-2.3.5-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ maven-launchpad-plugin --- Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-metadata.xml Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-metadata.xml (1010 B at 0.3 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-launchpad-plugin-2.3.5-20151221.155925-116.jar Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-launchpad-plugin-2.3.5-20151221.155925-116.jar (120 KB at 319.6 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-launchpad-plugin-2.3.5-20151221.155925-116.pom Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-launchpad-plugin-2.3.5-20151221.155925-116.pom (10 KB at 32.3 KB/sec) Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/maven-metadata.xml Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/maven-metadata.xml (695 B at 6.1 KB/sec) Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-metadata.xml Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-metadata.xml (3 KB at 25.4 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-metadata.xml Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-metadata.xml (1010 B at 6.2 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/maven-metadata.xml Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/maven-metadata.xml (695 B at 0.8 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-metadata.xml Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-metadata.xml (3 KB at 3.3 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-launchpad-plugin-2.3.5-20151221.155925-116-sources.jar Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-launchpad-plugin-2.3.5-20151221.155925-116-sources.jar (75 KB at 140.3 KB/sec) Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-metadata.xml Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-launchpad-plugin/2.3.5-SNAPSHOT/maven-metadata.xml (1010 B at 3.1 KB/sec) [JENKINS] Archiving disabled [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Sling SlingStart Maven Plugin 1.3.7-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ slingstart-maven-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ slingstart-maven-plugin --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ slingstart-maven-plugin --- [INFO] Executing tasks main: Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7 [INFO] Executed tasks [INFO] [INFO] --- maven-plugin-plugin:3.4:helpmojo (generated-helpmojo) @ slingstart-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] [INFO] --- maven-plugin-plugin:3.4:descriptor (default-descriptor) @ slingstart-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ slingstart-maven-plugin --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ slingstart-maven-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-antrun-plugin:1.8:run (check-memory-task) @ slingstart-maven-plugin --- [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) @ slingstart-maven-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 26 source files to <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/target/classes> [INFO] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/run/StartMojo.java>: Some input files use or override a deprecated API. [INFO] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/run/StartMojo.java>: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[51,37] cannot find symbol symbol: class BundleFileProcessor location: package org.apache.sling.commons.osgi [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[91,37] cannot find symbol symbol: class BundleFileProcessor location: class org.apache.sling.maven.slingstart.PreparePackageMojo [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[51,37] cannot find symbol symbol: class BundleFileProcessor location: package org.apache.sling.commons.osgi [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[91,37] cannot find symbol symbol: class BundleFileProcessor location: class org.apache.sling.maven.slingstart.PreparePackageMojo [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[269,89] cannot find symbol symbol: method process() location: class org.apache.sling.maven.slingstart.PreparePackageMojo.BSNRenamer [INFO] 5 errors [INFO] ------------------------------------------------------------- [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Sling Maven Plugin to create Jackrabbit OCM descriptors SUCCESS [20.290s] [INFO] Apache Sling Maven Plugin for Compiling JSP Sources into Bundles SUCCESS [16.146s] [INFO] Apache Sling Maven Plugin for Supporting Bundle Development SUCCESS [16.009s] [INFO] Apache Sling Launchpad Maven Plugin ............... SUCCESS [18.385s] [INFO] Apache Sling SlingStart Maven Plugin .............. FAILURE [2.929s] [INFO] Apache Sling Archetype Parent ..................... SKIPPED [INFO] Sling Launchpad Standalone Archetype .............. SKIPPED [INFO] Sling Launchpad Webapp Archetype .................. SKIPPED [INFO] Sling Slingstart Archetype ........................ SKIPPED [INFO] Sling Initial Content Archetype ................... SKIPPED [INFO] Sling Servlet Archetype ........................... SKIPPED [INFO] Sling Bundle Archetype ............................ SKIPPED [INFO] Sling JCRInstall Bundle Archetype ................. SKIPPED [INFO] Sling Taglib Archetype ............................ SKIPPED [INFO] Apache Maven Archetyes (Builder) .................. SKIPPED [INFO] Apache Maven Tooling (Builder) .................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:16.646s [INFO] Finished at: Mon Dec 21 15:59:31 UTC 2015 [INFO] Final Memory: 47M/487M [INFO] ------------------------------------------------------------------------ [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project slingstart-maven-plugin: Compilation failure: Compilation failure: [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[51,37] cannot find symbol [ERROR] symbol: class BundleFileProcessor [ERROR] location: package org.apache.sling.commons.osgi [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[91,37] cannot find symbol [ERROR] symbol: class BundleFileProcessor [ERROR] location: class org.apache.sling.maven.slingstart.PreparePackageMojo [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[51,37] cannot find symbol [ERROR] symbol: class BundleFileProcessor [ERROR] location: package org.apache.sling.commons.osgi [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[91,37] cannot find symbol [ERROR] symbol: class BundleFileProcessor [ERROR] location: class org.apache.sling.maven.slingstart.PreparePackageMojo [ERROR] <https://builds.apache.org/job/sling-tooling-trunk-1.7/ws/trunk/slingstart-maven-plugin/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java>:[269,89] cannot find symbol [ERROR] symbol: method process() [ERROR] location: class org.apache.sling.maven.slingstart.PreparePackageMojo.BSNRenamer [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :slingstart-maven-plugin channel stopped
