See https://builds.apache.org/job/maven-box/job/maven-dependency-plugin/job/MDEP-617/22/
Changes: * More verbose info about build exceptions * Verbose info about failure - add bit more * Revert: no access to currntBuild.rawBuild All tests passed Build log: [...truncated 9512 lines...] [INFO] Building: resolve\pom.xml [INFO] resolve\pom.xml .................................. SUCCESS (6.9 s) [INFO] Building: resolve-plugins\pom.xml [INFO] resolve-plugins\pom.xml .......................... SUCCESS (8.3 s) [INFO] Building: resolve-plugins-exclude-reactor\pom.xml [INFO] run post-build script verify.groovy [INFO] resolve-plugins-exclude-reactor\pom.xml .......... SUCCESS (11.4 s) [INFO] Building: resolve-plugins-with-exclude\pom.xml [INFO] run post-build script verify.groovy [INFO] resolve-plugins-with-exclude\pom.xml ............. SUCCESS (12.1 s) [INFO] Building: sources\pom.xml [INFO] sources\pom.xml .................................. SUCCESS (9.1 s) [INFO] Building: tree\pom.xml [INFO] tree\pom.xml ..................................... SKIPPED due to Maven version [INFO] Building: tree-includes\pom.xml [INFO] run post-build script verify.bsh [INFO] purge-local-repository-version-range\pom.xml ..... SUCCESS (905.8 s) [INFO] Building: resolve\pom.xml [INFO] resolve\pom.xml .................................. SUCCESS (5.8 s) [INFO] Building: resolve-plugins\pom.xml [INFO] run post-build script verify.bsh [INFO] tree-includes\pom.xml ............................ SUCCESS (7.3 s) [INFO] Building: tree-multimodule\pom.xml [INFO] resolve-plugins\pom.xml .......................... SUCCESS (6.3 s) [INFO] Building: resolve-plugins-exclude-reactor\pom.xml [INFO] run post-build script verify.groovy [INFO] resolve-plugins-exclude-reactor\pom.xml .......... SUCCESS (7.4 s) [INFO] Building: resolve-plugins-with-exclude\pom.xml [INFO] run post-build script verify.bsh [INFO] tree-multimodule\pom.xml ......................... SUCCESS (7.4 s) [INFO] Building: unpack\pom.xml [INFO] run post-build script verify.groovy [INFO] resolve-plugins-with-exclude\pom.xml ............. SUCCESS (6.0 s) [INFO] Building: sources\pom.xml [INFO] run post-build script verify.bsh [INFO] unpack\pom.xml ................................... SUCCESS (8.0 s) [INFO] Building: unpack-cli\pom.xml [INFO] sources\pom.xml .................................. SUCCESS (6.5 s) [INFO] Building: tree\pom.xml [INFO] tree\pom.xml ..................................... SKIPPED due to Maven version [INFO] Building: tree-includes\pom.xml [INFO] run post-build script verify.bsh [INFO] unpack-cli\pom.xml ............................... SUCCESS (6.7 s) [INFO] Building: unpack-custom-ear\pom.xml [INFO] run post-build script verify.bsh [INFO] tree-includes\pom.xml ............................ SUCCESS (6.0 s) [INFO] Building: tree-multimodule\pom.xml [INFO] run post-build script verify.groovy [INFO] unpack-custom-ear\pom.xml ........................ SUCCESS (6.7 s) [INFO] Building: unpack-dependencies\pom.xml [INFO] run post-build script verify.bsh [INFO] tree-multimodule\pom.xml ......................... SUCCESS (6.2 s) [INFO] Building: unpack\pom.xml [INFO] run post-build script verify.groovy [INFO] unpack-dependencies\pom.xml ...................... SUCCESS (8.2 s) [INFO] Building: unpack-from-remote-repository\pom.xml [INFO] run pre-build script setup.bsh [INFO] run post-build script verify.bsh [INFO] unpack\pom.xml ................................... SUCCESS (7.3 s) [INFO] Building: unpack-cli\pom.xml [INFO] run post-build script verify.bsh [INFO] unpack-from-remote-repository\pom.xml ............ SUCCESS (7.9 s) [INFO] Building: used-dependencies\pom.xml [INFO] run post-build script verify.bsh [INFO] unpack-cli\pom.xml ............................... SUCCESS (6.4 s) [INFO] Building: unpack-custom-ear\pom.xml [INFO] run post-build script verify.groovy [INFO] unpack-custom-ear\pom.xml ........................ SUCCESS (5.8 s) [INFO] Building: unpack-dependencies\pom.xml [INFO] used-dependencies\pom.xml ........................ SUCCESS (8.4 s) [INFO] Building: purge-local-repository-without-pom [INFO] run pre-build script setup.bsh [INFO] run post-build script verify.groovy [INFO] unpack-dependencies\pom.xml ...................... SUCCESS (8.5 s) [INFO] Building: unpack-from-remote-repository\pom.xml [INFO] run pre-build script setup.bsh [INFO] run post-build script verify.bsh [INFO] purge-local-repository-without-pom ............... SUCCESS (6.4 s) [INFO] [INFO] --- mrm-maven-plugin:1.0.0:stop (default) @ maven-dependency-plugin --- [INFO] Stopping Mock Repository Manager on http://localhost:60846 [INFO] Mock Repository Manager http://localhost:60846 is stopped. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-dependency-plugin --- [INFO] There is 1 error reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [INFO] Ignored 1 error, 0 violation remaining. [INFO] [INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ maven-dependency-plugin --- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 53, Failed: 0, Errors: 0, Skipped: 5 [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23:57 min [INFO] Finished at: 2019-01-31T15:04:57Z [INFO] Final Memory: 68M/1136M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-617@2@tmp\withMaven7d789535\maven-spy-20190131-144100-3348130676507327368216.log Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-617@2@tmp\withMaven7d789535\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-617@2@tmp\withMaven7d789535" [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] artifactsPublisher - Archive artifact windows-jdk8-m3.5.x_build\pom.xml under org\apache\maven\plugins\maven-dependency-plugin\3.1.2-SNAPSHOT\maven-dependency-plugin-3.1.2-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk8-m3.5.x_build\target\maven-dependency-plugin-3.1.2-SNAPSHOT.jar under org\apache\maven\plugins\maven-dependency-plugin\3.1.2-SNAPSHOT\maven-dependency-plugin-3.1.2-SNAPSHOT.jar [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk8-m3.5.x_build\target\surefire-reports\*.xml Recording test results [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT in source directory windows-jdk8-m3.5.x_build\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-617@2' for files matching the pattern 'windows-jdk8-m3.5.x_build\src\main\java\**\*' - excludes: null [TASKS] Found 48 files to scan for tasks [TASKS] Found 4 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [TASKS] Computing warning deltas based on reference build #15 [withMaven] Publishers: Generated Artifacts Publisher: 162 ms, Junit Publisher: 1506 ms, Open Task Scanner Publisher: 144 ms, Dependencies Fingerprint Publisher: 1 ms, Pipeline Graph Publisher: 2 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] unpack-from-remote-repository\pom.xml ............ SUCCESS (6.8 s) [INFO] Building: used-dependencies\pom.xml [INFO] used-dependencies\pom.xml ........................ SUCCESS (7.0 s) [INFO] Building: purge-local-repository-without-pom [INFO] run pre-build script setup.bsh [INFO] run post-build script verify.bsh [INFO] purge-local-repository-without-pom ............... SUCCESS (8.1 s) [INFO] [INFO] --- mrm-maven-plugin:1.0.0:stop (default) @ maven-dependency-plugin --- [INFO] Stopping Mock Repository Manager on http://localhost:51428 [INFO] Mock Repository Manager http://localhost:51428 is stopped. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-dependency-plugin --- [INFO] There is 1 error reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [INFO] Ignored 1 error, 0 violation remaining. [INFO] [INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ maven-dependency-plugin --- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 56, Failed: 1, Errors: 0, Skipped: 1 [INFO] ------------------------------------------------- [ERROR] The following builds failed: [ERROR] * mdep-580_display-manifest-automodules\pom.xml [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22:55 min [INFO] Finished at: 2019-01-31T07:05:20-08:00 [INFO] Final Memory: 51M/174M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-617@3@2@tmp\withMaven89f5443f\maven-spy-20190131-064225-395481827317336179284.log [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) on project maven-dependency-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.1.0:verify (integration-test) on project maven-dependency-plugin: 1 build failed. See console output above for details. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) 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:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) 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:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) 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:260) at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) 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:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) 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:566) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [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-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk11-m3.5.x_build\target\surefire-reports\*.xml Recording test results [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT in source directory windows-jdk11-m3.5.x_build\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-617@3@2' for files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' - excludes: null [TASKS] Found 48 files to scan for tasks [TASKS] Found 4 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [TASKS] Computing warning deltas based on reference build #15 [withMaven] Publishers: Generated Artifacts Publisher: 42 ms, Junit Publisher: 1563 ms, Open Task Scanner Publisher: 188 ms, Dependencies Fingerprint Publisher: 1 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-jdk11-m3.5.x_build [Pipeline] // parallel [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] emailext
