See https://builds.apache.org/job/maven-box/job/maven-gpg-plugin/job/MGPG-59/2/
Changes:
* Improve docs and logging
* Improve docs and logging
* Improve docs and logging
* Improve docs and logging
* Improve docs and logging
* Improve docs and logging
All tests passed
Build log:
[...truncated 2532 lines...]
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
maven-gpg-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
maven-gpg-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to
F:\short\m-gpg-p-MGPG-59-2@2\j11m3.5.xb\target\classes
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated:
0, approved: 60 licenses.
[INFO]
[INFO] --- maven-plugin-plugin:3.5.2:helpmojo (generate-helpmojo) @
maven-gpg-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 0 mojo descriptor.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles)
@ maven-gpg-plugin ---
[INFO]
/F:/short/m-gpg-p-MGPG-59-2@2/j11m3.5.xb/src/main/java/org/apache/maven/plugin/gpg/AttachedSignedArtifact.java:
Some input files use unchecked or unsafe operations.
[INFO]
/F:/short/m-gpg-p-MGPG-59-2@2/j11m3.5.xb/src/main/java/org/apache/maven/plugin/gpg/AttachedSignedArtifact.java:
Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-plugin-plugin:3.5.2:descriptor (default-descriptor) @
maven-gpg-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 3 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @
maven-gpg-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @
maven-gpg-plugin ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @
maven-gpg-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to
F:\short\m-gpg-p-MGPG-59-2\j12m3.5.xb\target\classes
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @
maven-gpg-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to
F:\short\m-gpg-p-MGPG-59-2@2\j11m3.5.xb\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-gpg-plugin
---
[INFO] Surefire report directory:
F:\short\m-gpg-p-MGPG-59-2@2\j11m3.5.xb\target\surefire-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.928 s
[INFO] Finished at: 2019-04-06T10:48:00-07:00
[INFO] Final Memory: 23M/69M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\short\m-gpg-p-MGPG-59-2@tmp\withMaven51057328\maven-spy-20190406-104748-5319267181803967117742.log
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile)
on project maven-gpg-plugin: Compilation failure: Compilation failure:
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile)
on project maven-gpg-plugin: Compilation failure
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:567)
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.compiler.CompilationFailureException:
Compilation failure
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute
(AbstractCompilerMojo.java:1161)
at org.apache.maven.plugin.compiler.CompilerMojo.execute
(CompilerMojo.java:168)
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:567)
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] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-gpg-plugin:maven-plugin:1.7-SNAPSHOT in source
directory j12m3.5.xb\src\main\java
[TASKS] Scanning folder 'F:\short\m-gpg-p-MGPG-59-2' for files matching the
pattern 'j12m3.5.xb\src\main\java\**\*' - excludes: null
[TASKS] Found 10 files to scan for tasks
[TASKS] Found 2 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[withMaven] Publishers: Generated Artifacts Publisher: 17 ms, Open Task Scanner
Publisher: 97 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-jdk12-m3.5.x_build
[INFO] Running org.apache.maven.plugin.gpg.GpgVersionTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 s
- in org.apache.maven.plugin.gpg.GpgVersionTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-gpg-plugin ---
[INFO] Building jar:
F:\short\m-gpg-p-MGPG-59-2@2\j11m3.5.xb\target\maven-gpg-plugin-1.7-SNAPSHOT.jar
[INFO]
[INFO] --- maven-plugin-plugin:3.5.2:addPluginArtifactMetadata
(default-addPluginArtifactMetadata) @ maven-gpg-plugin ---
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @
maven-gpg-plugin ---
[INFO] Skipping because packaging 'maven-plugin' is not pom.
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:install (integration-test) @
maven-gpg-plugin ---
[INFO] Installing F:\short\m-gpg-p-MGPG-59-2@2\j11m3.5.xb\pom.xml to
F:\short\m-gpg-p-MGPG-59-2@2\j11m3.5.xb\target\local-repo\org\apache\maven\plugins\maven-gpg-plugin\1.7-SNAPSHOT\maven-gpg-plugin-1.7-SNAPSHOT.pom
[INFO] Installing
F:\short\m-gpg-p-MGPG-59-2@2\j11m3.5.xb\target\maven-gpg-plugin-1.7-SNAPSHOT.jar
to
F:\short\m-gpg-p-MGPG-59-2@2\j11m3.5.xb\target\local-repo\org\apache\maven\plugins\maven-gpg-plugin\1.7-SNAPSHOT\maven-gpg-plugin-1.7-SNAPSHOT.jar
[INFO]
[INFO] --- maven-invoker-plugin:3.1.0:integration-test (integration-test) @
maven-gpg-plugin ---
[INFO] Building: no-main-artifact\pom.xml
[INFO] run post-build script verify.bsh
[INFO] no-main-artifact\pom.xml ......................... SUCCESS
(17.5 s)
[INFO] Building: sign-and-deploy-file-with-extras
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO] sign-and-deploy-file-with-extras ................. SUCCESS
(6.5 s)
[INFO] Building: sign-and-deploy-file-with-pom
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO] sign-and-deploy-file-with-pom .................... SUCCESS
(4.7 s)
[INFO] Building: sign-and-deploy-file-without-pom
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO] sign-and-deploy-file-without-pom ................. SUCCESS
(5.4 s)
[INFO] Building: sign-and-deploy-files
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO] sign-and-deploy-files ............................ SUCCESS
(8.0 s)
[INFO] Building: sign-and-deploy-not-jar-packaging
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO] sign-and-deploy-not-jar-packaging ................ SUCCESS
(5.1 s)
[INFO] Building: sign-release\pom.xml
[INFO] run post-build script verify.bsh
[INFO] sign-release\pom.xml ............................. SUCCESS
(8.3 s)
[INFO] Building: sign-with-passphase-from-maven-settings\pom.xml
[INFO] run post-build script verify.bsh
[INFO] sign-with-passphase-from-maven-settings\pom.xml .. SUCCESS
(6.0 s)
[INFO]
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @
maven-gpg-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-gpg-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO] Passed: 8, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:24 min
[INFO] Finished at: 2019-04-06T10:49:10-07:00
[INFO] Final Memory: 38M/130M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated
F:\short\m-gpg-p-MGPG-59-2@2@tmp\withMavend9b2b1e9\maven-spy-20190406-104744-98911706193531354520670.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact j11m3.5.xb\pom.xml under
org\apache\maven\plugins\maven-gpg-plugin\1.7-SNAPSHOT\maven-gpg-plugin-1.7-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact
j11m3.5.xb\target\maven-gpg-plugin-1.7-SNAPSHOT.jar under
org\apache\maven\plugins\maven-gpg-plugin\1.7-SNAPSHOT\maven-gpg-plugin-1.7-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-gpg-plugin:maven-plugin:1.7-SNAPSHOT generated
by maven-surefire-plugin:test (default-test):
j11m3.5.xb\target\surefire-reports\*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact
org.apache.maven.plugins:maven-gpg-plugin:maven-plugin:1.7-SNAPSHOT in source
directory j11m3.5.xb\src\main\java
[TASKS] Scanning folder 'F:\short\m-gpg-p-MGPG-59-2@2' for files matching the
pattern 'j11m3.5.xb\src\main\java\**\*' - excludes: null
[TASKS] Found 10 files to scan for tasks
[TASKS] Found 2 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-gpg-plugin:maven-plugin:1.7-SNAPSHOT(version:
1.7-SNAPSHOT, snapshot:false) } generated by
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test
integration-test}: j11m3.5.xb\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 11077 ms, Junit
Publisher: 203 ms, Open Task Scanner Publisher: 155 ms, Invoker Publisher: 1866
ms, Pipeline Graph Publisher: 1 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] }
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext