You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Weishung Chung <we...@gmail.com> on 2011/04/29 18:01:06 UTC

maven build error

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

Re: maven build error

Posted by Weishung Chung <we...@gmail.com>.
Thank you. BUILD SUCCESS :D

On Fri, Apr 29, 2011 at 12:22 PM, Scott Carey <sc...@richrelevance.com>wrote:

> That should not be empty.  Make sure you got all the content from svn
> properly in that folder.
>
> $ svn ls lang/java/tools
> pom.xml
> src/
>
>
> On 4/29/11 10:14 AM, "Weishung Chung" <we...@gmail.com> wrote:
>
> Thank you. Problem solved and able to run build.
> However, it doesn't like the empty Apache Avro Tools folder
>
> [INFO] Apache Avro Java .................................. SUCCESS [6.133s]
> [INFO] Apache Avro ....................................... SUCCESS
> [1:36.943s]
> [INFO] Apache Avro Compiler .............................. SUCCESS
> [44.031s]
> [INFO] Apache Avro Maven Plugin .......................... SUCCESS
> [37.750s]
> [INFO] Apache Avro IPC ................................... SUCCESS
> [1:25.239s]
> [INFO] Apache Avro Mapred API ............................ SUCCESS
> [46.568s]
> [INFO] Apache Avro Tools ................................. FAILURE
> [10.955s]
>
>
> On Fri, Apr 29, 2011 at 11:42 AM, Scott Carey <sc...@richrelevance.com>wrote:
>
>> 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" <we...@gmail.com> 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
>>
>>
>

Re: maven build error

Posted by Scott Carey <sc...@richrelevance.com>.
That should not be empty.  Make sure you got all the content from svn properly in that folder.

$ svn ls lang/java/tools
pom.xml
src/


On 4/29/11 10:14 AM, "Weishung Chung" <we...@gmail.com>> wrote:

Thank you. Problem solved and able to run build.
However, it doesn't like the empty Apache Avro Tools folder

[INFO] Apache Avro Java .................................. SUCCESS [6.133s]
[INFO] Apache Avro ....................................... SUCCESS [1:36.943s]
[INFO] Apache Avro Compiler .............................. SUCCESS [44.031s]
[INFO] Apache Avro Maven Plugin .......................... SUCCESS [37.750s]
[INFO] Apache Avro IPC ................................... SUCCESS [1:25.239s]
[INFO] Apache Avro Mapred API ............................ SUCCESS [46.568s]
[INFO] Apache Avro Tools ................................. FAILURE [10.955s]


On Fri, Apr 29, 2011 at 11:42 AM, Scott Carey <sc...@richrelevance.com>> wrote:
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" <we...@gmail.com>> 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


Re: maven build error

Posted by Weishung Chung <we...@gmail.com>.
Thank you. Problem solved and able to run build.
However, it doesn't like the empty Apache Avro Tools folder

[INFO] Apache Avro Java .................................. SUCCESS [6.133s]
[INFO] Apache Avro ....................................... SUCCESS
[1:36.943s]
[INFO] Apache Avro Compiler .............................. SUCCESS [44.031s]
[INFO] Apache Avro Maven Plugin .......................... SUCCESS [37.750s]
[INFO] Apache Avro IPC ................................... SUCCESS
[1:25.239s]
[INFO] Apache Avro Mapred API ............................ SUCCESS [46.568s]
[INFO] Apache Avro Tools ................................. FAILURE [10.955s]


On Fri, Apr 29, 2011 at 11:42 AM, Scott Carey <sc...@richrelevance.com>wrote:

> 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" <we...@gmail.com> 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
>
>

Re: maven build error

Posted by Scott Carey <sc...@richrelevance.com>.
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" <we...@gmail.com>> 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