See https://builds.apache.org/job/maven-box/job/maven-shade-plugin/job/rmannibucau%252FMSHADE-353-ensure-relocations-can-be-applied-to-any-transformer/7/
Changes: * Use Java 7 JDK for all released Maven versions and 8 for planned 3.7.x * Exclude H23 * [INFRA-20239] H23 should be ok now * Revert: Use Java 7 JDK for all released Maven versions (135a0e16) due to * Update Maven versions * There's no M3.6.3 for Windows All tests passed Build log: [...truncated 251831 lines...] [INFO] MSHADE-316\pom.xml ............................... SUCCESS (7.0 s) [INFO] Building: MSHADE-340_shadedTestJarArtifactAttached\pom.xml [INFO] rerun-with-reloc\pom.xml ......................... SUCCESS (6.5 s) [INFO] Building: rerun-without-reloc\pom.xml [INFO] rerun-without-reloc\pom.xml ...................... SUCCESS (5.8 s) [INFO] Building: services-resource-transformer\pom.xml [INFO] run post-build script verify.groovy [INFO] MSHADE-340_shadedTestJarArtifactAttached\pom.xml . SUCCESS (11.6 s) [INFO] Building: non-runtime-scope-excluded\pom.xml [INFO] run post-build script verify.bsh [INFO] services-resource-transformer\pom.xml ............ SUCCESS (5.5 s) [INFO] Building: services-resource-transformer-with-reloc-includes-excludes\pom.xml [INFO] run post-build script verify.bsh [INFO] non-runtime-scope-excluded\pom.xml ............... SUCCESS (5.8 s) [INFO] Building: plugin-descriptor-relocation\pom.xml [INFO] run post-build script verify.bsh [INFO] services-resource-transformer-with-reloc-includes-excludes\pom.xml SUCCESS (5.4 s) [INFO] Building: shadePomDependency\pom.xml [INFO] shadePomDependency\pom.xml ....................... SUCCESS (6.4 s) [INFO] Building: shading-with-java-8-sources\pom.xml [INFO] run post-build script verify.groovy [INFO] shading-with-java-8-sources\pom.xml .............. SUCCESS (6.6 s) [INFO] Building: shading-with-release-sources\pom.xml [INFO] run post-build script verify.groovy [INFO] plugin-descriptor-relocation\pom.xml ............. SUCCESS (14.2 s) [INFO] Building: pom-packaging\pom.xml [INFO] run post-build script verify.bsh [INFO] pom-packaging\pom.xml ............................ SUCCESS (3.4 s) [INFO] Building: project-with-reactors-included\pom.xml [INFO] run post-build script verify.groovy [INFO] shading-with-release-sources\pom.xml ............. SUCCESS (7.7 s) [INFO] Building: users-shader-impl\pom.xml [INFO] run post-build script verify.bsh [INFO] project-with-reactors-included\pom.xml ........... SUCCESS (8.8 s) [INFO] Building: reloc-abs-resource-path\pom.xml [INFO] run post-build script verify.groovy [INFO] users-shader-impl\pom.xml ........................ SUCCESS (6.9 s) [INFO] Building: xml-transformer-ignores-dtd\pom.xml [INFO] reloc-abs-resource-path\pom.xml .................. SUCCESS (6.0 s) [INFO] Building: reloc-abs-resource-path-exclude\pom.xml [INFO] run post-build script verify.bsh [INFO] xml-transformer-ignores-dtd\pom.xml .............. SUCCESS (5.2 s) [INFO] [INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-shade-plugin --- [INFO] Stopping Mock Repository Manager on http://localhost:49663 [INFO] Stopped SocketConnector@0.0.0.0:49663 [INFO] Mock Repository Manager http://localhost:49663 is stopped. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-shade-plugin --- [INFO] There are 3 errors reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [INFO] Ignored 3 errors, 0 violation remaining. [INFO] [INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ maven-shade-plugin --- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 67, Failed: 0, Errors: 0, Skipped: 1 [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:56 min [INFO] Finished at: 2020-06-30T11:41:22-07:00 [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\an-be-applied-to-any-transformer@2@tmp\withMaven9335cdfa\maven-spy-20200630-113325-52717975635886968487248.log [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] artifactsPublisher - Archive artifact windows-jdk14-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk14-m3.6.x_build\target\maven-shade-plugin-3.2.3-SNAPSHOT.jar under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT.jar [withMaven] artifactsPublisher - Archive artifact windows-jdk14-m3.6.x_build\target\maven-shade-plugin-3.2.3-SNAPSHOT-tests.jar under org\apache\maven\plugins\maven-shade-plugin\3.2.3-SNAPSHOT\maven-shade-plugin-3.2.3-SNAPSHOT-tests.jar [Fast Archiver] Compressed 203.75 KB of artifacts by 78.5% relative to #1 [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk14-m3.6.x_build\target\surefire-reports\*.xml Recording test results [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT in source directory windows-jdk14-m3.6.x_build\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\an-be-applied-to-any-transformer@2' for files matching the pattern 'windows-jdk14-m3.6.x_build\src\main\java\**\*' - excludes: null [TASKS] Found 40 files to scan for tasks [TASKS] Found 2 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [TASKS] Computing warning deltas based on reference build #1 [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT(version: 3.2.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test integration-test}: windows-jdk14-m3.6.x_build\target\invoker-reports\*.xml [INFO] reloc-abs-resource-path-exclude\pom.xml .......... SUCCESS (6.0 s) [INFO] Building: reloc-and-mini\pom.xml [INFO] run post-build script verify.bsh [INFO] reloc-and-mini\pom.xml ........................... SUCCESS (6.6 s) [INFO] Building: reloc-anno\pom.xml [INFO] reloc-anno\pom.xml ............................... SUCCESS (5.2 s) [INFO] Building: reloc-class-from-string-pool\pom.xml [INFO] reloc-class-from-string-pool\pom.xml ............. SUCCESS (5.0 s) [INFO] Building: reloc-enum-ref-from-anno\pom.xml [INFO] reloc-enum-ref-from-anno\pom.xml ................. SUCCESS (5.3 s) [INFO] Building: reloc-includes-excludes\pom.xml [withMaven] Publishers: Generated Artifacts Publisher: 87 ms, Junit Publisher: 762 ms, Open Task Scanner Publisher: 127 ms, Invoker Publisher: 25788 ms, Pipeline Graph Publisher: 3 ms [Pipeline] // withMaven [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [INFO] run post-build script verify.bsh [INFO] reloc-includes-excludes\pom.xml .................. SUCCESS (5.2 s) [INFO] Building: rerun-with-reloc\pom.xml [INFO] rerun-with-reloc\pom.xml ......................... SUCCESS (6.8 s) [INFO] Building: rerun-without-reloc\pom.xml [INFO] rerun-without-reloc\pom.xml ...................... SUCCESS (5.8 s) [INFO] Building: services-resource-transformer\pom.xml [INFO] run post-build script verify.bsh [INFO] services-resource-transformer\pom.xml ............ SUCCESS (5.1 s) [INFO] Building: services-resource-transformer-with-reloc-includes-excludes\pom.xml [INFO] run post-build script verify.bsh [INFO] services-resource-transformer-with-reloc-includes-excludes\pom.xml SUCCESS (5.7 s) [INFO] Building: shadePomDependency\pom.xml [INFO] shadePomDependency\pom.xml ....................... SUCCESS (6.4 s) [INFO] Building: shading-with-java-8-sources\pom.xml [INFO] run post-build script verify.groovy [INFO] shading-with-java-8-sources\pom.xml .............. SUCCESS (6.6 s) [INFO] Building: shading-with-release-sources\pom.xml [INFO] run post-build script verify.groovy [INFO] shading-with-release-sources\pom.xml ............. SUCCESS (7.0 s) [INFO] Building: users-shader-impl\pom.xml [INFO] run post-build script verify.groovy [INFO] users-shader-impl\pom.xml ........................ SUCCESS (6.6 s) [INFO] Building: xml-transformer-ignores-dtd\pom.xml [INFO] run post-build script verify.bsh [INFO] xml-transformer-ignores-dtd\pom.xml .............. SUCCESS (5.3 s) [INFO] [INFO] --- mrm-maven-plugin:1.2.0:stop (default) @ maven-shade-plugin --- [INFO] Stopping Mock Repository Manager on http://localhost:50487 [INFO] Stopped SocketConnector@0.0.0.0:50487 [INFO] Mock Repository Manager http://localhost:50487 is stopped. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-shade-plugin --- [INFO] There are 3 errors reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [INFO] Ignored 3 errors, 0 violation remaining. [INFO] [INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ maven-shade-plugin --- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 66, Failed: 1, Errors: 0, Skipped: 1 [INFO] ------------------------------------------------- [ERROR] The following builds failed: [ERROR] * mini-jar-jdk11+\pom.xml [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:46 min [INFO] Finished at: 2020-06-30T11:42:50-07:00 [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\an-be-applied-to-any-transformer@2@tmp\withMavena1196975\maven-spy-20200630-113503-3711337708808886660440.log [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify (integration-test) on project maven-shade-plugin: 1 build failed. See console output above for details. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify (integration-test) on project maven-shade-plugin: 1 build failed. See console output above for details. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See console output above for details. at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:259) at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:140) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [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 [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk15-m3.6.x_build\target\surefire-reports\*.xml Recording test results [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT in source directory windows-jdk15-m3.6.x_build\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\an-be-applied-to-any-transformer@2' for files matching the pattern 'windows-jdk15-m3.6.x_build\src\main\java\**\*' - excludes: null [TASKS] Found 40 files to scan for tasks [TASKS] Found 2 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [TASKS] Computing warning deltas based on reference build #1 [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-shade-plugin:maven-plugin:3.2.3-SNAPSHOT(version: 3.2.3-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test integration-test}: windows-jdk15-m3.6.x_build\target\invoker-reports\*.xml [withMaven] Publishers: Generated Artifacts Publisher: 14 ms, Junit Publisher: 782 ms, Open Task Scanner Publisher: 138 ms, Invoker Publisher: 27203 ms [Pipeline] // withMaven [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch windows-jdk15-m3.6.x_build [Pipeline] // parallel [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] echo The authors of changes [slachiewicz, rfscholte, hboutemy]. [Pipeline] echo Sending email ... [Pipeline] emailext