See 
https://builds.apache.org/job/maven-box/job/maven-jlink-plugin/job/CLEANUP/8/

Changes:

* add mavenLinkerPublisher

All tests passed

Build log:
[...truncated 2500 lines...]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
maven-jlink-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\classes
[INFO] 
/f:/jenkins/jenkins-slave/workspace/n-box_maven-jlink-plugin_CLEANUP@2/windows-jdk11-m3.5.x_build/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java:
 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\src\main\java\org\apache\maven\plugins\jlink\JLinkMojo.java
 uses or overrides a deprecated API.
[INFO] 
/f:/jenkins/jenkins-slave/workspace/n-box_maven-jlink-plugin_CLEANUP@2/windows-jdk11-m3.5.x_build/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-plugin-plugin:3.5.2:descriptor (default-descriptor) @ 
maven-jlink-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo source files.
[INFO] java-javadoc mojo extractor found 0 mojo descriptor.
[INFO] java-annotations mojo extractor found 2 mojo descriptors.
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ 
maven-jlink-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\src\test\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ 
maven-jlink-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ 
maven-jlink-plugin ---
[INFO] Surefire report directory: 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\surefire-reports
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.maven.plugins.jlink.AbstractJLinkMojoTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.663 s 
- in org.apache.maven.plugins.jlink.AbstractJLinkMojoTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-jlink-plugin ---
[INFO] Building jar: 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-plugin-plugin:3.5.2:addPluginArtifactMetadata 
(default-addPluginArtifactMetadata) @ maven-jlink-plugin ---
[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
maven-jlink-plugin ---
[INFO] Skipping because packaging 'maven-plugin' is not pom.
[INFO] 
[INFO] --- mrm-maven-plugin:1.1.0:start (default) @ maven-jlink-plugin ---
[INFO] Configuring Mock Repository Manager...
[INFO]   Mock content (source: 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\src\it\mrm\repository)
[INFO]   Proxy (source: this Maven session)
[INFO] Starting Mock Repository Manager
[INFO] Logging to org.slf4j.impl.MavenSimpleLogger(org.mortbay.log) via 
org.mortbay.log.Slf4jLog
[INFO] jetty-6.1.26
[INFO] Started SocketConnector@0.0.0.0:62120
[INFO] Mock Repository Manager http://localhost:62120 is started.
[INFO] Setting property 'mrm.repository.url' to 'http://localhost:62120'.
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:install (integration-test) @ 
maven-jlink-plugin ---
[INFO] Installing 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\pom.xml
 to 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-jlink-plugin\3.0.0-alpha-2-SNAPSHOT\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.pom
[INFO] Installing 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.jar
 to 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-jlink-plugin\3.0.0-alpha-2-SNAPSHOT\maven-jlink-plugin-3.0.0-alpha-2-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:integration-test (integration-test) @ 
maven-jlink-plugin ---
[INFO] Running 2 setup jobs:
[INFO] Building: setup-jar\pom.xml
[INFO]           setup-jar\pom.xml ................................ SUCCESS 
(23.3 s)
[INFO] Building: setup-jar-module-info\pom.xml
[INFO]           setup-jar-module-info\pom.xml .................... FAILED 
(40.0 s)
[INFO]   The build exited with code 1. See 
f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\it\setup-jar-module-info\build.log
 for details.
[INFO] Setup done.
[INFO] Building: cli-options\bind-services\pom.xml
[INFO] snapshot 
org.apache.maven.plugins:maven-jlink-plugin:3.0.0-alpha-2-SNAPSHOT: checking 
for updates from apache-snapshots
[INFO] snapshot 
org.apache.maven.plugins:maven-jlink-plugin:3.0.0-alpha-2-SNAPSHOT: checking 
for updates from Nexus
[INFO] artifact 
org.apache.maven.plugins.maven-jlink-plugin:3.0.0-alpha-2-SNAPSHOT: checking 
for updates from central
[INFO] org.apache.maven.plugins.maven-jlink-plugin.3.0.0-alpha-2-SNAPSHOT: 
checking for updates from central
[INFO] artifact localhost.first-jar-module-info:99.0: checking for updates from 
central
[INFO] localhost.first-jar-module-info.99.0: checking for updates from central
[INFO] run post-build script verify.groovy
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.codehaus.groovy.reflection.CachedClass 
(file:/f:/jenkins/jenkins-slave/workspace/.maven_repositories/null/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar)
 to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of 
org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO]           cli-options\bind-services\pom.xml ................ FAILED 
(39.1 s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\compress-0\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\compress-0\pom.xml ................... FAILED 
(23.7 s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\compress-1\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\compress-1\pom.xml ................... FAILED 
(22.4 s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\compress-2\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\compress-2\pom.xml ................... FAILED 
(20.6 s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\disable-plugin\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\disable-plugin\pom.xml ............... FAILED 
(29.3 s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\endian\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\endian\pom.xml ....................... FAILED 
(18.4 s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\endian-big\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\endian-big\pom.xml ................... FAILED 
(19.4 s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\ignore-signing-information\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\ignore-signing-information\pom.xml ... FAILED 
(18.8 s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\no-header-files\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\no-header-files\pom.xml .............. FAILED (2.9 
s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\no-man-pages\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\no-man-pages\pom.xml ................. FAILED (3.4 
s)
[INFO]   The post-build script returned false.
[INFO] Building: cli-options\strip-debug\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           cli-options\strip-debug\pom.xml .................. FAILED (2.8 
s)
[INFO]   The post-build script returned false.
[INFO] Building: MJLINK-3_improveVerboseOutput\pom.xml
[INFO]           MJLINK-3_improveVerboseOutput\pom.xml ............ SUCCESS 
(12.1 s)
[INFO] Building: MJLINK-4_dependencyResolution\pom.xml
[INFO]           MJLINK-4_dependencyResolution\pom.xml ............ SUCCESS 
(15.2 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.1.0:stop (default) @ maven-jlink-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:62120
[INFO] Stopped SocketConnector@0.0.0.0:62120
[INFO] Mock Repository Manager http://localhost:62120 is stopped.
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-jlink-plugin ---
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ 
maven-jlink-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 3, Failed: 12, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  cli-options\bind-services\pom.xml
[ERROR] *  cli-options\compress-0\pom.xml
[ERROR] *  cli-options\compress-1\pom.xml
[ERROR] *  cli-options\compress-2\pom.xml
[ERROR] *  cli-options\disable-plugin\pom.xml
[ERROR] *  cli-options\endian-big\pom.xml
[ERROR] *  cli-options\endian\pom.xml
[ERROR] *  cli-options\ignore-signing-information\pom.xml
[ERROR] *  cli-options\no-header-files\pom.xml
[ERROR] *  cli-options\no-man-pages\pom.xml
[ERROR] *  cli-options\strip-debug\pom.xml
[ERROR] *  setup-jar-module-info\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:07 min
[INFO] Finished at: 2019-01-02T22:10:45Z
[INFO] Final Memory: 48M/164M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
F:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2@tmp\withMavenc58f8b28\maven-spy-20190102-220537-64114784207781686065943.log
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) 
on project maven-jlink-plugin: 12 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-jlink-plugin: 12 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 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: 12 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 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] }
[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-jlink-plugin:maven-plugin:3.0.0-alpha-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-jlink-plugin:maven-plugin:3.0.0-alpha-2-SNAPSHOT 
in source directory windows-jdk11-m3.5.x_build\src\main\java
[TASKS] Scanning folder 
'f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2' for 
files matching the pattern 'windows-jdk11-m3.5.x_build\src\main\java\**\*' - 
excludes: null
[TASKS] Found 2 files to scan for tasks
[TASKS] Found 5 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-jlink-plugin:maven-plugin:3.0.0-alpha-2-SNAPSHOT(version:
 3.0.0-alpha-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: 156 ms, Junit Publisher: 
647 ms, Open Task Scanner Publisher: 594 ms, Invoker Publisher: 14722 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\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\invoker-reports\BUILD-cli-options_bind-services.xml
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
ERROR: Cannot delete workspace 
:f:\jenkins\jenkins-slave\workspace\n-box_maven-jlink-plugin_CLEANUP@2\windows-jdk11-m3.5.x_build\target\invoker-reports\BUILD-cli-options_bind-services.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