Author: ataylor
Date: 2011-01-19 10:05:15 -0500 (Wed, 19 Jan 2011)
New Revision: 10125
Modified:
trunk/build-maven.xml
Log:
https://issues.jboss.org/browse/HORNETQ-611 - upload rar as well as jar
Modified: trunk/build-maven.xml
===================================================================
--- trunk/build-maven.xml 2011-01-19 06:45:14 UTC (rev 10124)
+++ trunk/build-maven.xml 2011-01-19 15:05:15 UTC (rev 10125)
@@ -69,6 +69,10 @@
<target name="uploadHornetQRa">
<antcall target="upload">
<param name="artifact.id" value="hornetq-ra"/>
+ <param name="artifact.type" value="rar"/>
+ </antcall>
+ <antcall target="upload">
+ <param name="artifact.id" value="hornetq-ra"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
@@ -264,9 +268,15 @@
<antcall target="deploy-jar">
<param name="artifact.id" value="hornetq-ra"/>
<param name="file-name" value="hornetq-ra"/>
+ <param name="artifact.type" value="rar"/>
</antcall>
<antcall target="deploy-jar">
+ <param name="artifact.id" value="hornetq-ra"/>
+ <param name="file-name" value="hornetq-ra"/>
+ </antcall>
+
+ <antcall target="deploy-jar">
<param name="artifact.id"
value="hornetq-spring-integration"/>
<param name="file-name"
value="hornetq-spring-integration"/>
</antcall>
@@ -274,6 +284,7 @@
</target>
<target name="deploy-jar">
+ <property name="artifact.type" value="jar"/>
<tempfile property="temporary.pom" prefix="pom"
suffix=".xml"/>
<echo file="${temporary.pom}"
message="<?xml version="1.0"
encoding="UTF-8"?><project>${line.separator}
@@ -290,8 +301,8 @@
<arg value="-DgroupId=org.hornetq"/>
<arg value="-DartifactId=${artifact.id}"/>
<arg value="-Dversion=${hornetq.version}"/>
- <arg value="-Dpackaging=jar"/>
- <arg value="-Dfile=./build/jars/${file-name}.jar"/>
+ <arg value="-Dpackaging=${artifact.type}"/>
+ <arg value="-Dfile=./build/jars/${file-name}.${artifact.type}"/>
<arg value="-DrepositoryId=jboss-releases-repository"/>
<arg
value="-Durl=https://repository.jboss.org/nexus/service/local/stagin...
</exec>