Executing the Maven install times error:
Failed to execute Goalorg.apache.maven.plugins:maven-gpg-plugin:1.4:sign (sign-artifacts) on project Openstack-java-sdk:cannot obtain passphrase in Batchmode, [Help 1]
As follows:
[INFO] BUILD FAILURE
[INFO]------------------------------------------------------------------------
[INFO] Total time:0.970s
[INFO] Finished At:tue Mar 14:06:04 CST 2014
[INFO] Final memory:7m/87m
[INFO]------------------------------------------------------------------------
[ERROR] Failed to execute Goalorg.apache.maven.plugins:maven-gpg-plugin:1.4:sign (sign-artifacts) on project Openstack-java-sdk:cannot obtain passphrase in Batchmode, [Help 1]
[ERROR]
[ERROR] The full stack trace of the errors, re-run mavenwith the-e switch.
[ERROR] Re-run Maven using The-x switch to enable full debuglogging.
[ERROR]
[ERROR] For more information about the errors and possiblesolutions, please read the following articles:
[ERROR] [Help 1]http://cwiki.apache.org/confluence/display/maven/mojofailureexception
Cause: The version used is Maven3. X, the behavior of its execution maven-ant-plugin and maven2.x are different, need to introduce pluginmanagement
The workaround is to introduce the following in Pom.xml:
Previous content:
<build>
<plugins>
<plugin></plugin>
...
<plugin></plugin>
</plugins>
</build>
What you have modified:
<build>
<pluginManagement>
<plugins>
<plugin></plugin>
...
<plugin></plugin>
</plugins>
</pluginManagement>
</build>
Maven Install Error: Failed to execute goalorg.apache.maven.plugins:maven-gpg-plugin:1.4:sign (sign-art