extract icon indicating copy to clipboard operation
extract copied to clipboard

Build Failure: maven-gpg-plugin

Open arky opened this issue 4 years ago • 0 comments

Fails to build maven-gpg-plugin with following error even if -Dpgp.skip-true is set.

$ mvn install -Dpgp.skip-true
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
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] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.icij.extract:extract-lib:jar:3.6.1
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ org.icij.extract:extract:3.6.1, /home/arky/Code/Tika/extract/pom.xml, line 106, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.icij.extract:extract:pom:3.6.1
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 106, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] Inspecting build with total of 3 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 3 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] ICIJ Extract                                                       [pom]
[INFO] extract-lib                                                        [jar]
[INFO] extract-cli                                                        [jar]
[INFO] 
[INFO] ----------------------< org.icij.extract:extract >----------------------
[INFO] Building ICIJ Extract 3.6.1                                        [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-gpg-plugin:1.5:sign (sign-artifacts) @ extract ---
gpg: no default secret key: No secret key
gpg: signing failed: No secret key
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ICIJ Extract 3.6.1:
[INFO] 
[INFO] ICIJ Extract ....................................... FAILURE [  0.132 s]
[INFO] extract-lib ........................................ SKIPPED
[INFO] extract-cli ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.601 s
[INFO] Finished at: 2021-03-29T23:18:19+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts) on project extract: Exit code: 2 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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/MojoExecutionException

arky avatar Mar 29 '21 16:03 arky