See <https://builds.apache.org/job/sling-tooling-trunk-1.8/395/display/redirect?page=changes>
Changes: [radu] SLING-7155 - htl-maven-plugin: Add option to precompile the HTL scripts ------------------------------------------ [...truncated 92.78 KB...] [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ slingstart-maven-plugin --- [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ slingstart-maven-plugin --- [INFO] Checking legal files in: slingstart-maven-plugin-1.7.11-SNAPSHOT.jar [INFO] Checking legal files in: slingstart-maven-plugin-1.7.11-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ slingstart-maven-plugin --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: DEPENDENCIES [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] Exclude: hs_err_*.log [INFO] Exclude: **/repository/index/*/index-details.txt [INFO] Exclude: src/site/markdown/** [INFO] 33 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 32 licence. [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ slingstart-maven-plugin --- [INFO] Installing <https://builds.apache.org/job/sling-tooling-trunk-1.8/ws/trunk/slingstart-maven-plugin/target/slingstart-maven-plugin-1.7.11-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/slingstart-maven-plugin-1.7.11-SNAPSHOT.jar [INFO] Installing <https://builds.apache.org/job/sling-tooling-trunk-1.8/ws/trunk/slingstart-maven-plugin/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/slingstart-maven-plugin-1.7.11-SNAPSHOT.pom [INFO] Installing <https://builds.apache.org/job/sling-tooling-trunk-1.8/ws/trunk/slingstart-maven-plugin/target/slingstart-maven-plugin-1.7.11-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/slingstart-maven-plugin-1.7.11-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ slingstart-maven-plugin --- [INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/maven-metadata.xml (1007 B at 1.7 KB/sec) [INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/slingstart-maven-plugin-1.7.11-20171018.165928-10.jar [INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/slingstart-maven-plugin-1.7.11-20171018.165928-10.jar (112 KB at 99.5 KB/sec) [INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/slingstart-maven-plugin-1.7.11-20171018.165928-10.pom [INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/slingstart-maven-plugin-1.7.11-20171018.165928-10.pom (11 KB at 11.2 KB/sec) [INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/maven-metadata.xml [INFO] Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/maven-metadata.xml (2 KB at 2.0 KB/sec) [INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-metadata.xml [INFO] Downloaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-metadata.xml (3 KB at 5.0 KB/sec) [INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/maven-metadata.xml (1010 B at 1.1 KB/sec) [INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/maven-metadata.xml [INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/maven-metadata.xml (2 KB at 1.3 KB/sec) [INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-metadata.xml [INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/maven-metadata.xml (3 KB at 3.2 KB/sec) [INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/slingstart-maven-plugin-1.7.11-20171018.165928-10-sources.jar [INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/slingstart-maven-plugin-1.7.11-20171018.165928-10-sources.jar (77 KB at 74.5 KB/sec) [INFO] Uploading: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://repository.apache.org/content/repositories/snapshots/org/apache/sling/slingstart-maven-plugin/1.7.11-SNAPSHOT/maven-metadata.xml (1011 B at 1.2 KB/sec) [JENKINS] Archiving disabled [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Sling HTL Maven Plugin 1.0.9-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.0.14/org.apache.sling.scripting.sightly.compiler-1.0.14.pom [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.0.14/org.apache.sling.scripting.sightly.compiler-1.0.14.pom (11 KB at 71.4 KB/sec) [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.15-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.15-SNAPSHOT/maven-metadata.xml (2 KB at 2.7 KB/sec) [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.15-SNAPSHOT/org.apache.sling.scripting.sightly.compiler.java-1.0.15-20171018.160703-5.pom [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.15-SNAPSHOT/org.apache.sling.scripting.sightly.compiler.java-1.0.15-20171018.160703-5.pom (9 KB at 21.9 KB/sec) [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.0.14/org.apache.sling.scripting.sightly.compiler-1.0.14.jar [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.scripting.sightly.compiler/1.0.14/org.apache.sling.scripting.sightly.compiler-1.0.14.jar (523 KB at 3459.8 KB/sec) [INFO] Downloading: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.15-SNAPSHOT/org.apache.sling.scripting.sightly.compiler.java-1.0.15-20171018.160703-5.jar [INFO] Downloaded: http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.scripting.sightly.compiler.java/1.0.15-SNAPSHOT/org.apache.sling.scripting.sightly.compiler.java-1.0.15-20171018.160703-5.jar (85 KB at 154.2 KB/sec) [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ htl-maven-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ htl-maven-plugin --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ htl-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) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ htl-maven-plugin --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ htl-maven-plugin --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ htl-maven-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to <https://builds.apache.org/job/sling-tooling-trunk-1.8/ws/trunk/htl-maven-plugin/target/classes> [INFO] [INFO] --- maven-plugin-plugin:3.4:descriptor (default-descriptor) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors. [INFO] [INFO] --- maven-plugin-plugin:3.4:descriptor (mojo-descriptor) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors. [INFO] [INFO] --- plexus-component-metadata:1.6:generate-metadata (default) @ htl-maven-plugin --- [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 10 resources [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ htl-maven-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to <https://builds.apache.org/job/sling-tooling-trunk-1.8/ws/trunk/htl-maven-plugin/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ htl-maven-plugin --- [INFO] Surefire report directory: <https://builds.apache.org/job/sling-tooling-trunk-1.8/ws/trunk/htl-maven-plugin/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.sling.maven.htl.ValidateMojoTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.342 sec - in org.apache.sling.maven.htl.ValidateMojoTest Results : Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- animal-sniffer-maven-plugin:1.15:check (default) @ htl-maven-plugin --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ htl-maven-plugin --- [INFO] Building jar: <https://builds.apache.org/job/sling-tooling-trunk-1.8/ws/trunk/htl-maven-plugin/target/htl-maven-plugin-1.0.9-SNAPSHOT.jar> [INFO] [INFO] --- maven-plugin-plugin:3.4:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ htl-maven-plugin --- [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ htl-maven-plugin >>> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ htl-maven-plugin --- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (set-bundle-required-execution-environment) @ htl-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) @ htl-maven-plugin --- [INFO] Using 'UTF-8' encoding to read mojo metadata. [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors. [INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors. [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ htl-maven-plugin <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ htl-maven-plugin --- [INFO] Building jar: <https://builds.apache.org/job/sling-tooling-trunk-1.8/ws/trunk/htl-maven-plugin/target/htl-maven-plugin-1.0.9-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ htl-maven-plugin --- [INFO] [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ htl-maven-plugin --- [INFO] Checking legal files in: htl-maven-plugin-1.0.9-SNAPSHOT.jar [INFO] Checking legal files in: htl-maven-plugin-1.0.9-SNAPSHOT-sources.jar [INFO] [INFO] --- apache-rat-plugin:0.11:check (default) @ htl-maven-plugin --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: DEPENDENCIES [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] Exclude: hs_err_*.log [INFO] Exclude: **/repository/index/*/index-details.txt [INFO] Exclude: **/*.iml [INFO] Exclude: **/target/**/* [INFO] Exclude: src/site/markdown/** [INFO] 19 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 approved: 18 licence. [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 [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Sling JAR Resource Bundle ................... SUCCESS [ 14.266 s] [INFO] Apache Sling Maven JCROCM Plugin ................... SUCCESS [ 30.866 s] [INFO] Apache Sling Maven JSP Compiler Plugin ............. SUCCESS [ 18.376 s] [INFO] Apache Sling Maven Sling Plugin .................... SUCCESS [ 30.745 s] [INFO] Apache Sling Maven Launchpad Plugin ................ SUCCESS [ 23.757 s] [INFO] Apache Sling SlingStart Maven Plugin ............... SUCCESS [ 19.290 s] [INFO] Apache Sling HTL Maven Plugin ...................... FAILURE [ 13.738 s] [INFO] Apache Sling Archetype Parent ...................... SKIPPED [INFO] Apache Sling Launchpad Standalone Archetype ........ SKIPPED [INFO] Apache Sling Launchpad Webapp Archetype ............ SKIPPED [INFO] Apache Sling Slingstart Archetype .................. SKIPPED [INFO] Apache Sling Initial Content Archetype ............. SKIPPED [INFO] Apache Sling Servlet Archetype ..................... SKIPPED [INFO] Apache Sling Bundle Archetype ...................... SKIPPED [INFO] Apache Sling JCRInstall Bundle Archetype ........... SKIPPED [INFO] Apache Sling Taglib Archetype ...................... SKIPPED [INFO] Apache Maven Archetyes (Builder) ................... SKIPPED [INFO] Apache Maven Tooling (Builder) ..................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:54 min [INFO] Finished at: 2017-10-18T17:00:03+00:00 [INFO] Final Memory: 80M/477M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project htl-maven-plugin: Too many files with unapproved license: 1 See RAT report in: <https://builds.apache.org/job/sling-tooling-trunk-1.8/ws/trunk/htl-maven-plugin/target/rat.txt> -> [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 :htl-maven-plugin channel stopped