Remove the gpg-plugin section from the pom.xml.   It is only needed for signing 
a release, but is enabled by default in 1.5.0.

-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-gpg-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>sign-artifacts</id>
-            <phase>verify</phase>
-            <goals>
-      <goal>sign</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>


On 4/29/11 9:01 AM, "Weishung Chung" 
<[email protected]<mailto:[email protected]>> wrote:

Hello my fellow Avro users,

I was trying to do a maven build on Avro 1.5 and got the following error, how 
to resolve this ?

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-gpg-plugin:1.1:sign (sign-artifacts) on project 
avro-parent: Cannot obtain passphrase in batch mode -> [Help 1]


Thank you,
Wei Shung

Reply via email to