Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 01-27-2017 04:41 PM
Hi,
I created a maven project using the nifi-processor-bundle-archetype that contains some custom processors for my company. The problem I'm having is when I want to use the maven release plugin to create a release version and deploy it to our local repository I'm getting gpg errors. Is there any way to skip the gpg step? I don't need to sign my release for local use...
Thanks!
Created 01-27-2017 04:43 PM
Please try appending '-Dgpg.skip' to your maven command.
Created 01-27-2017 04:43 PM
Please try appending '-Dgpg.skip' to your maven command.
Created 01-27-2017 05:30 PM
mvn --batch-mode release:prepare release:perform -Darguments="-Dmaven.deploy.skip=true" -Dgpg.skip
Nope. It still looks like it's trying to run it.
[INFO] [INFO] --- maven-gpg-plugin:1.5:sign (default) @ nifi-mycompany-bundle ---
[INFO] gpg: no default secret key: No secret key
[INFO] gpg: signing failed: No secret key
....[snip]
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (default) on project nifi-mycompany-bundle: Exit code: 2 -> [Help 1]
Created 01-27-2017 05:37 PM
Bah! I just realized the error of my ways.
mvn --batch-mode release:prepare release:perform -Darguments="-Dmaven.deploy.skip=true -Dgpg.skip"