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"