Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hudson-dev] Problem building crowd2 plugin on hudson-on-hudson

On 19 Feb 2012, at 13:58, Henrik Lynggaard Hansen wrote:
> Hi
> 
> The crowd2 plugin complains that it cannot find the passphrase in
> batch mode, like this:
> 
> "
> INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
> [INFO] o.h.m.e.h.MavenExecutionResultHandler - [1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal org.apache.maven.plugins:maven-gpg-plugin:1.4:sign
> (sign-artifacts) on project crowd2: Cannot obtain passphrase in batch
> mode
> [DEBUG] Closing connection to remote
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-gpg-plugin:1.4:sign (sign-artifacts) on
> project crowd2: Cannot obtain passphrase in batch mode -> [Help 1]
> "
> http://hudson-ci.org/hudson/job/hudson-plugins_crowd2/1/console
> 
> What is the best way to resolve this? does someone add a key on the
> hudson-on-hudson instance or should the pom be changed to only run the
> gpg plugin during release?

Personally I'd move the GPG execution into a release profile, since plugin snapshots don't have to be signed.

> Best regards
> Henrik
> _______________________________________________
> hudson-dev mailing list
> hudson-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/hudson-dev



Back to the top