thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Lu <robberp...@gmail.com>
Subject Re: ant -Drelease=true publish failed
Date Sat, 21 Oct 2017 04:03:16 GMT
Hi,

I noticed that the java library is used ant. and Maven Ant Tasks is retired.
So, I start to work for migrating to maven.

On Wed, Oct 18, 2017 at 8:09 AM, Jake Farrell <jfarrell@apache.org> wrote:

> Looks like the gpg-plugin version might be failing due to needing a
> specific version of maven 'org.apache.maven.plugins:maven-gpg-plugin':
> Plugin requires Maven version 2.2.1 where you are currently running 3.5.0.
> Have you tried building with Maven 2.2.1?
>
> -Jake
>
> On Mon, Oct 16, 2017 at 2:41 AM, Robert Lu <robberphex@gmail.com> wrote:
>
> > Hi,
> >
> > I read the build.xml at
> > https://github.com/apache/thrift/blob/8b8a8efea13d1c97f856053af0a5c0
> > e6a8a76354/lib/java/build.xml#L416-L419
> >
> > I want to know why use signAndDeploy for pom file. So I run:
> > ant -Drelease=true publish
> >
> > at thrift/lib/java
> >
> > But, it's failed:
> >
> > publish:
> > [artifact:mvn] [INFO] Scanning for projects...
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [ERROR] BUILD ERROR
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] Error resolving version for
> > 'org.apache.maven.plugins:maven-gpg-plugin': Plugin requires Maven
> version
> > 2.2.1
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] For more information, run Maven with the -e switch
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] Total time: < 1 second
> > [artifact:mvn] [INFO] Finished at: Mon Oct 16 14:38:56 CST 2017
> > [artifact:mvn] [INFO] Final Memory: 5M/245M
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] Java Result: 1
> > [artifact:mvn] [INFO] Scanning for projects...
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [ERROR] BUILD ERROR
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] Error resolving version for
> > 'org.apache.maven.plugins:maven-gpg-plugin': Plugin requires Maven
> version
> > 2.2.1
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] For more information, run Maven with the -e switch
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] Total time: < 1 second
> > [artifact:mvn] [INFO] Finished at: Mon Oct 16 14:38:57 CST 2017
> > [artifact:mvn] [INFO] Final Memory: 5M/245M
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] Java Result: 1
> > [artifact:mvn] [INFO] Scanning for projects...
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [ERROR] BUILD ERROR
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] Error resolving version for
> > 'org.apache.maven.plugins:maven-gpg-plugin': Plugin requires Maven
> version
> > 2.2.1
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] For more information, run Maven with the -e switch
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] Total time: < 1 second
> > [artifact:mvn] [INFO] Finished at: Mon Oct 16 14:38:58 CST 2017
> > [artifact:mvn] [INFO] Final Memory: 5M/245M
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] Java Result: 1
> > [artifact:mvn] [INFO] Scanning for projects...
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [ERROR] BUILD ERROR
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] Error resolving version for
> > 'org.apache.maven.plugins:maven-gpg-plugin': Plugin requires Maven
> version
> > 2.2.1
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] For more information, run Maven with the -e switch
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] [INFO] Total time: < 1 second
> > [artifact:mvn] [INFO] Finished at: Mon Oct 16 14:38:58 CST 2017
> > [artifact:mvn] [INFO] Final Memory: 5M/245M
> > [artifact:mvn] [INFO]
> > ------------------------------------------------------------------------
> > [artifact:mvn] Java Result: 1
> >
> > some tools version:
> >
> > $ ant -version
> > Apache Ant(TM) version 1.10.1 compiled on February 2 2017
> > $ mvn -version
> > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> > 2017-04-04T03:39:06+08:00)
> > Maven home: /usr/local/Cellar/maven/3.5.0/libexec
> > Java version: 1.8.0_144, vendor: Oracle Corporation
> > Java home:
> > /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "mac os x", version: "10.13.1", arch: "x86_64", family: "mac"
> >
> > Does anyone know why it's failed? Thank you in advance!
> >
> > --
> > Robert Lu <robberphex@gmail.com>
> > About me: http://about.me/RobberPhex
> >
>



-- 
Robert Lu <robberphex@gmail.com>
About me: http://about.me/RobberPhex

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message