See 
https://builds.apache.org/job/maven-box/job/maven-dependency-plugin/job/MDEP-635/4/

Changes:

* use a special local repo to have a bit of caching
* add mavenLinkerPublisher

All tests passed

Build log:
[...truncated 6643 lines...]
[INFO] Building: tree-multimodule\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           tree-multimodule\pom.xml ......................... SUCCESS 
(12.1 s)
[INFO] Building: unpack\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           unpack\pom.xml ................................... SUCCESS 
(14.3 s)
[INFO] Building: unpack-cli\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           unpack-cli\pom.xml ............................... SUCCESS 
(12.7 s)
[INFO] Building: unpack-custom-ear\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           unpack-custom-ear\pom.xml ........................ SUCCESS 
(13.2 s)
[INFO] Building: unpack-dependencies\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           unpack-dependencies\pom.xml ...................... SUCCESS 
(14.3 s)
[INFO] Building: unpack-dependencies-with-filemappers\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           unpack-dependencies-with-filemappers\pom.xml ..... SUCCESS 
(14.3 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-version-range\pom.xml ..... SUCCESS 
(905.6 s)
[INFO] Building: resolve\pom.xml
[INFO]           resolve\pom.xml .................................. SUCCESS 
(6.0 s)
[INFO] Building: resolve-plugins\pom.xml
[INFO]           resolve-plugins\pom.xml .......................... SUCCESS 
(5.9 s)
[INFO] Building: resolve-plugins-exclude-reactor\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           unpack-from-remote-repository\pom.xml ............ SUCCESS 
(14.5 s)
[INFO] Building: used-dependencies\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           resolve-plugins-exclude-reactor\pom.xml .......... SUCCESS 
(8.2 s)
[INFO] Building: resolve-plugins-with-exclude\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           resolve-plugins-with-exclude\pom.xml ............. SUCCESS 
(6.8 s)
[INFO] Building: sources\pom.xml
[INFO]           sources\pom.xml .................................. SUCCESS 
(6.6 s)
[INFO] Building: tree\pom.xml
[INFO]           tree\pom.xml ..................................... SKIPPED due 
to Maven version
[INFO] Building: tree-includes\pom.xml
[INFO]           used-dependencies\pom.xml ........................ FAILED 
(16.9 s)
[INFO]   The build exited with code 1. See 
f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2\windows-jdk8-m3.5.x_build\target\it\used-dependencies\build.log
 for details.
[INFO] Building: purge-local-repository-without-pom
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           tree-includes\pom.xml ............................ SUCCESS 
(6.1 s)
[INFO] Building: tree-multimodule\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           tree-multimodule\pom.xml ......................... SUCCESS 
(7.1 s)
[INFO] Building: unpack\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           purge-local-repository-without-pom ............... SUCCESS 
(13.2 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.0.0:stop (default) @ maven-dependency-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:50244
[INFO] Mock Repository Manager http://localhost:50244 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: 46, Failed: 8, Errors: 0, Skipped: 5
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  analyze-ignore-dependency\pom.xml
[ERROR] *  analyze-ignore-unused-declared-dependency\pom.xml
[ERROR] *  analyze-ignore-used-undeclared-dependency\pom.xml
[ERROR] *  analyze-multimodule-project\pom.xml
[ERROR] *  analyze-report\pom.xml
[ERROR] *  analyze\pom.xml
[ERROR] *  mdep-439-analyze-java8\pom.xml
[ERROR] *  used-dependencies\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28:20 min
[INFO] Finished at: 2019-01-02T23:47:47Z
[INFO] Final Memory: 68M/1026M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2@tmp\withMavencaa4e5d8\maven-spy-20190102-231926-7663059947219096919.log
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) 
on project maven-dependency-plugin: 8 builds 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: 8 builds 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: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: 8 builds 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 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\maven-dependency-plugin_MDEP-635@3@2@tmp\withMavencaa4e5d8\pipeline-maven-spy.jar"
 
-Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2@tmp\withMavencaa4e5d8"
 
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[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
[INFO] run post-build script verify.bsh
[INFO]           unpack\pom.xml ................................... SUCCESS 
(7.6 s)
[INFO] Building: unpack-cli\pom.xml
[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-635@3@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
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT(version:
 3.1.2-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
  integration-test}: windows-jdk8-m3.5.x_build\target\invoker-reports\*.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 
(6.2 s)
[INFO] Building: unpack-dependencies\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           unpack-dependencies\pom.xml ...................... SUCCESS 
(8.1 s)
[INFO] Building: unpack-dependencies-with-filemappers\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 187 ms, Junit Publisher: 
2099 ms, Open Task Scanner Publisher: 179 ms, Invoker Publisher: 20793 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace 
:f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2\windows-jdk8-m3.5.x_build\target\invoker-reports\BUILD-analyze-dep-mgt.xml
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace 
:f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2\windows-jdk8-m3.5.x_build\target\invoker-reports\BUILD-analyze-dep-mgt.xml
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8-m3.5.x_build
[INFO] run post-build script verify.groovy
[INFO]           unpack-dependencies-with-filemappers\pom.xml ..... SUCCESS 
(8.0 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-from-remote-repository\pom.xml ............ SUCCESS 
(7.7 s)
[INFO] Building: used-dependencies\pom.xml
[INFO]           used-dependencies\pom.xml ........................ SUCCESS 
(8.1 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 
(5.8 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.0.0:stop (default) @ maven-dependency-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:64763
[INFO] Mock Repository Manager http://localhost:64763 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: 58, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:09 min
[INFO] Finished at: 2019-01-02T23:48:43Z
[INFO] Final Memory: 50M/174M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2@tmp\withMaven7356fc97\maven-spy-20190102-232634-16710840157020073713617.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
windows-jdk11-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-jdk11-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
[Fast Archiver] No prior successful build to compare, so performing full copy 
of artifacts
[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-635@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
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:3.1.2-SNAPSHOT(version:
 3.1.2-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
  integration-test}: windows-jdk11-m3.5.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 114 ms, Junit Publisher: 
1722 ms, Open Task Scanner Publisher: 166 ms, Invoker Publisher: 14546 ms, 
Pipeline Graph Publisher: 21 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace 
:f:\jenkins\jenkins-slave\workspace\maven-dependency-plugin_MDEP-635@3@2\windows-jdk11-m3.5.x_build\target\invoker-reports\BUILD-analyze-dep-mgt.xml
[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

Reply via email to