Maven gpg plugin


Try to build liquibase local I’m getting

    [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:04.922s [INFO] Finished at: Mon Aug 02 06:15:44 CEST 2010 [INFO] Final Memory: 7M/24M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.1:sign (sign-artifacts) on project liquibase-core: Cannot obtain passphrase in batch mode -> [Help 1]

more intelligent use a predefined performRelease property, that is standard for maven release deployment environment.


setting this property activates the GPG plugin only for release purposes.

I’ve made changes in the trunk.


BTW, maven-javadoc-plugin, maven-source-plugin and maven-deploy-plugin are activated using performRelease property set in the command line

mvn deploy -DperformRelease

Therefore you could remove from sections of poms all snippets related to those plugins.

Thanks for pointing that out and making the change.