You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2011/03/23 23:17:07 UTC

[jira] [Updated] (THRIFT-363) Maven Deploy

     [ https://issues.apache.org/jira/browse/THRIFT-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Farrell updated THRIFT-363:
--------------------------------

    Attachment: thrift-363.patch

Updates the build.xml to generate and sign artifacts which are deployed to the apache m2 repo. Removes dependency on ivy.xml and places dependencies in the build.xml file for easier maven artifact generation. 

For deploying to apache the users apache credentials and gpg passphrase must be in the ~/.m2/settings.xml file . 

To deploy a release modify the thrift.version property in build.xml and then run "ant -Drelease=true publish" 

Once artifacts have been uploaded to apache login to nexus and go to the staging area, there you can close the staged artifacts and then publish them.

> Maven Deploy
> ------------
>
>                 Key: THRIFT-363
>                 URL: https://issues.apache.org/jira/browse/THRIFT-363
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>            Reporter: Gary Rudolph
>            Assignee: Jake Farrell
>             Fix For: 0.7
>
>         Attachments: THRIFT-363.patch, THRIFT-363.patch, THRIFT-363.patch, THRIFT-363.patch, THRIFT-363.patch, THRIFT-363.patch, THRIFT-363.patch, THRIFT-363.patch, pom.1.patch, thrift-363.patch
>
>
> Please, deploy libthrift into a public maven repository. Preferably, to Maven central, but if not at least the Apache.
> Maven Central: http://maven.apache.org/guides/mini/guide-central-repository-upload.html
> Apache Incubator Repository: http://people.apache.org/repo/m2-incubating-repository/
> The following is a sample pom.xml:
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
>     <modelVersion>4.0.0</modelVersion>
>     <groupId>org.facebook.thrift</groupId>
>     <artifactId>libthrift</artifactId>
>     <version>0.1-20090310</version>
>     <packaging>jar</packaging>
>     <name>Apache Thrift Library</name>
> 	<url>http://incubator.apache.org/thrift/</url>
> 	<description>Thrift is a software framework for scalable cross-language services development. It combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml</description>
> 	<licenses>
> 		<license>
> 			<name>The Apache Software License, Version 2.0</name>
> 			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
> 			<distribution>repo</distribution>
> 		</license>
> 	</licenses>
> 	<scm>
> 		<url>http://svn.apache.org/repos/asf/incubator/thrift/trunk</url>
> 	</scm>
> </project>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira