-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) #495
Comments
Think I'm seeing the same. Building on Win 10 I get this exception:
I was able to fix the build by commenting out lines 180-193 in pom.xml. |
The gpg plugin should probably be put in a Maven profile, so that it would only run if said profile was explicitly invoked. Example: mvn package -Psign |
Put the gpg plugin into a profile named 'sign', so that it only runs when invoked. e.g. `mvn package -Psign` Fixes drewnoakes#495.
Thanks, @Nadahar . I've attempted your suggestion. |
I guess @drewnoakes will have to actually test if the signing is working as intended with this PR. It looks sound to me at a glance. |
I just cloned the project to mvn clean install
At first I had to change maven-compiler-plugin source and target from 1.6 to 1.7 as 1.6 is no longer supported.
Now I am getting the exception while trying to install.
Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project metadata-extractor: Exit code: 2 ->
The text was updated successfully, but these errors were encountered: