Open subhabm opened 4 years ago
Think I'm seeing the same. Building on Win 10 I get this exception:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project metadata-extractor: Unable to execute gpg command: Error while executing process. Cannot run program "gpg.exe": CreateProcess error=2, The system cannot find the file specified -> [Help 1]
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
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 ->