See https://builds.apache.org/job/maven-box/job/maven-war-plugin/job/MWAR-424/5/
Changes:
* [MNG-6573] Use Maven 3.6.0 as default
* H39 has weird issues, exclude it for now
* Fix no access to currentBuild.rawBuild
All tests passed
Build log:
[...truncated 8881 lines...]
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk7-m3.3.x_build
[INFO] run post-build script verify.bsh
[INFO] scoped-dependency-same-artifact\pom.xml .......... SUCCESS
(9.9 s)
[INFO] Building: simple-war-no-webxml\pom.xml
[INFO] run post-build script verify.bsh
[INFO] scoped-dependency-same-artifact\pom.xml .......... SUCCESS
(9.9 s)
[INFO] Building: simple-war-no-webxml\pom.xml
[INFO] run post-build script verify.bsh
[INFO] simple-war-no-webxml\pom.xml ..................... SUCCESS
(8.0 s)
[INFO] Building: simple-war-project\pom.xml
[INFO] run post-build script verify.bsh
[INFO] simple-war-no-webxml\pom.xml ..................... SUCCESS
(7.8 s)
[INFO] Building: simple-war-project\pom.xml
[INFO] run post-build script verify.bsh
[INFO] simple-war-project\pom.xml ....................... SUCCESS
(8.2 s)
[INFO] Building: web-resources-filtering\pom.xml
[INFO] run post-build script verify.bsh
[INFO] simple-war-project\pom.xml ....................... SUCCESS
(7.9 s)
[INFO] Building: web-resources-filtering\pom.xml
[INFO] run post-build script verify.bsh
[INFO] web-resources-filtering\pom.xml .................. SUCCESS
(7.8 s)
[INFO] Building: web-resources-filtering-delimiter\pom.xml
[INFO] run post-build script verify.bsh
[INFO] web-resources-filtering\pom.xml .................. SUCCESS
(8.1 s)
[INFO] Building: web-resources-filtering-delimiter\pom.xml
[INFO] run post-build script verify.bsh
[INFO] web-resources-filtering-delimiter\pom.xml ........ SUCCESS
(7.8 s)
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-war-plugin ---
[INFO] run post-build script verify.bsh
[INFO] web-resources-filtering-delimiter\pom.xml ........ SUCCESS
(8.0 s)
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-war-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.2.0:verify (integration-test) @
maven-war-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 25, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * manifest-content\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:05 min
[INFO] Finished at: 2019-05-11T05:54:46-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\en-box_maven-war-plugin_MWAR-424@2@2@tmp\withMaven158e3b86\maven-spy-20190511-054939-7762943564768649648235.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.2.0:verify (integration-test)
on project maven-war-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.0:verify (integration-test)
on project maven-war-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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
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: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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
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
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\en-box_maven-war-plugin_MWAR-424@2@2@tmp\withMaven158e3b86\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\en-box_maven-war-plugin_MWAR-424@2@2@tmp\withMaven158e3b86"
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[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.2.0:verify (integration-test) @
maven-war-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 25, Failed: 1, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] * manifest-content\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:59 min
[INFO] Finished at: 2019-05-11T05:54:47-07:00
[INFO] Final Memory: 56M/1120M
[INFO] ------------------------------------------------------------------------
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
windows-jdk8-m3.6.x_build\target\surefire-reports\*.xml
Recording test results
[INFO] [jenkins-event-spy] Generated
F:\jenkins\jenkins-slave\workspace\en-box_maven-war-plugin_MWAR-424@3@tmp\withMaven83205b26\maven-spy-20190511-054946-6066891501751696669476.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-invoker-plugin:3.2.0:verify (integration-test)
on project maven-war-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.0:verify (integration-test)
on project maven-war-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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:606)
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:140)
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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:606)
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
Picked up JAVA_TOOL_OPTIONS:
-Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\en-box_maven-war-plugin_MWAR-424@3@tmp\withMaven83205b26\pipeline-maven-spy.jar"
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\en-box_maven-war-plugin_MWAR-424@3@tmp\withMaven83205b26"
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT in source
directory windows-jdk8-m3.6.x_build\src\main\java
[Fast Archiver] No prior successful build to compare, so performing full copy
of artifacts
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\en-box_maven-war-plugin_MWAR-424@2@2' for
files matching the pattern 'windows-jdk8-m3.6.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 25 files to scan for tasks
[TASKS] Found 3 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] junitPublisher - Archive test results for Maven artifact
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
windows-jdk7-m3.5.x_build\target\surefire-reports\*.xml
Recording test results
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-war-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.0@integration-test
integration-test}: windows-jdk8-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-war-plugin:maven-plugin:3.2.3-SNAPSHOT in source
directory windows-jdk7-m3.5.x_build\src\main\java
[TASKS] Scanning folder
'f:\jenkins\jenkins-slave\workspace\en-box_maven-war-plugin_MWAR-424@3' for
files matching the pattern 'windows-jdk7-m3.5.x_build\src\main\java\**\*' -
excludes: null
[TASKS] Found 25 files to scan for tasks
[TASKS] Found 3 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] invokerPublisher - Archive invoker results for Maven artifact
MavenArtifact{org.apache.maven.plugins:maven-war-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.0@integration-test
integration-test}: windows-jdk7-m3.5.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 32 ms, Junit Publisher:
627 ms, Open Task Scanner Publisher: 192 ms, Invoker Publisher: 8854 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-jdk8-m3.6.x_build
[withMaven] Publishers: Generated Artifacts Publisher: 18 ms, Junit Publisher:
614 ms, Open Task Scanner Publisher: 163 ms, Invoker Publisher: 9337 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-jdk7-m3.5.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] jiraComment
[Pipeline] emailext