Thrift-363: Maven Deploy
Patch: jfarrell
Client lib: java
Adding the ability to publish the java client library as artifacts to the apache maven repository.
Usage: ant -Drelease=true publish
Note: You must have a gpg key setup and push it to pgp.mit.edu and
have a ~/.m2/settings.xml file containing your apache and gpg information.
Thrift-1114 will help make this file more secure or unnecessary.
<settings>
<servers>
<server>
<id>apache.releases.https</id>
<username>@APACHE_USERNAME@</username>
<password>@APACHE_PASSWORD@</password>
</server>
</servers>
<profiles>
<profile>
<id>gpg</id>
<properties>
<gpg.passphrase>@GPG_PASSPHRASE@</gpg.passphrase>
</properties>
</profile>
</profiles>
</settings>
|