why does it ask for a GPG passphrase during mvn build?

699 views
Skip to first unread message

S Ahmed

unread,
Mar 29, 2012, 10:16:52 AM3/29/12
to mustac...@googlegroups.com
I pulled the source from the git repo, and then tried:

mvn clean install

And then I get:

INFO] 
[INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) @ mustache.java ---
GPG Passphrase: *
/bin/sh: gpg: command not found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] mustache.java ..................................... FAILURE [36.234s]
[INFO] compiler .......................................... SKIPPED
[INFO] handlebar ......................................... SKIPPED


I don't know the passphrase obviously.

How can I build this then w/o the passphrase?

Sam Pullara

unread,
Mar 29, 2012, 11:27:08 AM3/29/12
to mustac...@googlegroups.com
I have yet to figure out a way to make it build without commenting out
the signing stuff necessary for publishing. I'll check in the Pom with
that commented out.

Sam

Sent from my iPhone

Mitchell Bösecke

unread,
Dec 31, 2013, 2:33:44 PM12/31/13
to mustac...@googlegroups.com
Sorry to revisit an old topic but if anyone else is looking for a solution this issue, I advice providing the following argument to maven:

mvn clean install -Dgpg.skip=true

Which will skip the gpg signing step.

Sam

unread,
Jan 3, 2014, 3:48:11 PM1/3/14
to mustac...@googlegroups.com
I think I have this fixed in the latest pom files. It should only perform the signature when releasing the artifacts.

Sam

John McDonnell

unread,
Mar 18, 2016, 6:53:36 AM3/18/16
to mustache.java
Can you please tell me what pom file modification you made that achieved this?

Sam Pullara

unread,
Mar 20, 2016, 2:09:34 PM3/20/16
to mustac...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "mustache.java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mustachejava...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages