cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject svn commit: r1097892 - /cassandra/branches/cassandra-0.7/build.xml
Date Fri, 29 Apr 2011 17:23:01 GMT
Author: slebresne
Date: Fri Apr 29 17:23:01 2011
New Revision: 1097892

URL: http://svn.apache.org/viewvc?rev=1097892&view=rev
Log:
Deploy parent POM to maven central
patch by stephenc for CASSANDRA-2562

Modified:
    cassandra/branches/cassandra-0.7/build.xml

Modified: cassandra/branches/cassandra-0.7/build.xml
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/build.xml?rev=1097892&r1=1097891&r2=1097892&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/build.xml (original)
+++ cassandra/branches/cassandra-0.7/build.xml Fri Apr 29 17:23:01 2011
@@ -280,6 +280,7 @@ url=${svn.entry.url}?pathrev=${svn.entry
                     groupId="org.apache.cassandra"
                     artifactId="cassandra-parent"
                     version="${version}"
+                    packaging="pom"
                     url="http://cassandra.apache.org"
                     name="Apache Cassandra"
                     inceptionYear="2009"
@@ -472,6 +473,7 @@ url=${svn.entry.url}?pathrev=${svn.entry
 
     <target name="maven-write-poms" depends="maven-declare-dependencies" description="Create
Maven POM files">
       <artifact:writepom pomRefId="all-pom" file="${build.dir}/${final.name}.pom"/>
+      <artifact:writepom pomRefId="parent-pom" file="${build.dir}/${final.name}-parent.pom"/>
       <artifact:writepom pomRefId="dist-pom" file="${build.dir}/${final.name}-dist.pom"/>
     </target>
 
@@ -1114,6 +1116,11 @@ url=${svn.entry.url}?pathrev=${svn.entry
           depends="mvn-install"
           if="release"
           description="Publishes the artifacts to the Maven repository">
+    <!-- the parent pom -->
+    <deploy pomFile="${build.dir}/${final.name}-parent.pom"
+            file="${build.dir}/${final.name}-parent.pom"
+            packaging="pom"/>
+
     <!-- the distribution -->
     <deploy pomFile="${build.dir}/${final.name}-dist.pom"
             file="${build.dir}/${final.name}-dist.pom"



Mime
View raw message