Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: HornetQ_2_2_10…
Fetching contributors…

Cannot retrieve contributors at this time

322 lines (266 sloc) 11.957 kB
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2009 Red Hat, Inc.
~ Red Hat licenses this file to you under the Apache License, version
~ 2.0 (the "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~ http://www.apache.org/licenses/LICENSE-2.0
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
~ implied. See the License for the specific language governing
~ permissions and limitations under the License.
-->
<project default="upload" name="HornetQ">
<property name="hornetq.version" value="2.2.10.EAP.GA_JBPAPP-8396-v3"/>
<property name="build.dir" value="build"/>
<property name="jars.dir" value="${build.dir}/jars"/>
<condition property="maven.executable" value="mvn.bat" else="mvn">
<os family="windows"/>
</condition>
<target name="uploadHornetQBootstrap">
<antcall target="upload">
<param name="artifact.id" value="hornetq-bootstrap"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
<target name="uploadHornetQCore">
<antcall target="upload">
<param name="artifact.id" value="hornetq-core"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
<target name="uploadHornetQLogging">
<antcall target="upload">
<param name="artifact.id" value="hornetq-logging"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
<target name="uploadHornetQCoreClient">
<antcall target="upload">
<param name="artifact.id" value="hornetq-core-client"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
<target name="uploadHornetQJms">
<antcall target="upload">
<param name="artifact.id" value="hornetq-jms"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
<target name="uploadHornetQJmsClient">
<antcall target="upload">
<param name="artifact.id" value="hornetq-jms-client"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
<target name="uploadHornetQSecurity">
<antcall target="upload">
<param name="artifact.id" value="hornetq-jboss-as-integration"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
<target name="uploadHornetQRa">
<antcall target="upload">
<param name="artifact.id" value="hornetq-ra"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
<target name="uploadHornetQResources">
<antcall target="upload">
<param name="artifact.id" value="hornetq-resources"/>
<param name="artifact.type" value="jar"/>
</antcall>
</target>
<target name="upload-snapshot">
<antcall target="uploadHornetQBootstrap"/>
<antcall target="uploadHornetQCore"/>
<antcall target="uploadHornetQLogging"/>
<antcall target="uploadHornetQTransports"/>
<antcall target="uploadHornetQCoreClient"/>
<antcall target="uploadHornetQJms"/>
<antcall target="uploadHornetQJmsClient"/>
<antcall target="uploadHornetQSecurity"/>
<antcall target="uploadHornetQRa"/>
<antcall target="uploadHornetQResources"/>
</target>
<target name="install">
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-resources"/>
<param name="file-name" value="hornetq-resources"/>
</antcall>
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-jms"/>
<param name="file-name" value="hornetq-jms"/>
</antcall>
<!-- we upload the JDK1.5 version since that should be compatible with both JDK 1.6 and 1.5 -->
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-jms-client"/>
<param name="file-name" value="hornetq-jms-client-java5"/>
</antcall>
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-core"/>
<param name="file-name" value="hornetq-core"/>
</antcall>
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-jboss-as-integration"/>
<param name="file-name" value="hornetq-jboss-as-integration"/>
</antcall>
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-bootstrap"/>
<param name="file-name" value="hornetq-bootstrap"/>
</antcall>
<!-- we upload the JDK1.5 version since that should be compatible with both JDK 1.6 and 1.5 -->
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-core-client"/>
<param name="file-name" value="hornetq-core-client-java5"/>
</antcall>
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-logging"/>
<param name="file-name" value="hornetq-logging"/>
</antcall>
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-ra"/>
<param name="file-name" value="hornetq-ra"/>
</antcall>
<antcall target="upload-local-target">
<param name="artifact.id" value="hornetq-spring-integration"/>
<param name="file-name" value="hornetq-spring-integration"/>
</antcall>
</target>
<target name="upload-local-target">
<!-- install the jar -->
<exec executable="${maven.executable}" dir="./build">
<arg value="install:install-file"/>
<!-- uncomment the following line to deploy to the JBoss 5 repository -->
<!-- <arg value="-Dmaven.repo.local=/work/eap-51/maven-repository"/> -->
<arg value="-DgroupId=org.hornetq"/>
<arg value="-DartifactId=${artifact.id}"/>
<arg value="-Dversion=${hornetq.version}"/>
<arg value="-Dpackaging=jar"/>
<arg value="-Dfile=./jars/${file-name}.jar"/>
</exec>
<!-- install the sources jar -->
<exec executable="${maven.executable}" dir="./build">
<arg value="install:install-file"/>
<arg value="-DgroupId=org.hornetq"/>
<!-- uncomment the following line to deploy to the JBoss 5 repository -->
<!-- arg value="-Dmaven.repo.local=/work/eap/maven-repository"/ -->
<arg value="-DartifactId=${artifact.id}"/>
<arg value="-Dversion=${hornetq.version}"/>
<arg value="-Dpackaging=jar"/>
<arg value="-Dclassifier=sources"/>
<arg value="-Dfile=./jars/${file-name}-sources.jar"/>
</exec>
</target>
<target name="upload">
<!-- upload the jar -->
<exec executable="${maven.executable}">
<arg value="deploy:deploy-file"/>
<arg value="-e"/>
<arg value="-DgroupId=org.hornetq"/>
<arg value="-DartifactId=${artifact.id}"/>
<arg value="-Dversion=${hornetq.version}"/>
<arg value="-Dpackaging=${artifact.type}"/>
<arg value="-DgeneratePom=true"/>
<arg value="-Dfile=${jars.dir}/${artifact.id}.${artifact.type}"/>
<arg value="-DrepositoryId=snapshots.jboss.org"/>
<arg value="-Durl=dav:https://snapshots.jboss.org/maven2"/>
</exec>
<!-- upload the corresponding sources jar -->
<exec executable="${maven.executable}">
<arg value="deploy:deploy-file"/>
<arg value="-e"/>
<arg value="-DgroupId=org.hornetq"/>
<arg value="-DartifactId=${artifact.id}"/>
<arg value="-Dversion=${hornetq.version}"/>
<arg value="-Dpackaging=${artifact.type}"/>
<arg value="-DgeneratePom=true"/>
<arg value="-Dclassifier=sources"/>
<arg value="-Dfile=${jars.dir}/${artifact.id}-sources.${artifact.type}"/>
<arg value="-DrepositoryId=snapshots.jboss.org"/>
<arg value="-Durl=dav:https://snapshots.jboss.org/maven2"/>
</exec>
</target>
<target name="deploy">
<antcall target="deploy-jar">
<param name="artifact.id" value="hornetq-resources"/>
<param name="file-name" value="hornetq-resources"/>
</antcall>
<antcall target="deploy-jar">
<param name="artifact.id" value="hornetq-jms"/>
<param name="file-name" value="hornetq-jms"/>
</antcall>
<!-- we upload the JDK1.5 version since that should be compatible with both JDK 1.6 and 1.5 -->
<antcall target="deploy-jar">
<param name="artifact.id" value="hornetq-jms-client"/>
<param name="file-name" value="hornetq-jms-client-java5"/>
</antcall>
<antcall target="deploy-jar">
<param name="artifact.id" value="hornetq-core"/>
<param name="file-name" value="hornetq-core"/>
</antcall>
<antcall target="deploy-jar">
<param name="artifact.id" value="hornetq-jboss-as-integration"/>
<param name="file-name" value="hornetq-jboss-as-integration"/>
</antcall>
<antcall target="deploy-jar">
<param name="artifact.id" value="hornetq-bootstrap"/>
<param name="file-name" value="hornetq-bootstrap"/>
</antcall>
<!-- we upload the JDK1.5 version since that should be compatible with both JDK 1.6 and 1.5 -->
<antcall target="deploy-jar">
<param name="artifact.id" value="hornetq-core-client"/>
<param name="file-name" value="hornetq-core-client-java5"/>
</antcall>
<antcall target="deploy-jar">
<param name="artifact.id" value="hornetq-logging"/>
<param name="file-name" value="hornetq-logging"/>
</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>
</target>
<target name="deploy-jar">
<tempfile property="temporary.pom" prefix="pom" suffix=".xml"/>
<echo file="${temporary.pom}"
message="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;project&gt;${line.separator}
&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;${line.separator}
&lt;groupId&gt;org.hornetq&lt;/groupId&gt;${line.separator}
&lt;artifactId&gt;${artifact.id}&lt;/artifactId&gt;${line.separator}
&lt;version&gt;${hornetq.version}&lt;/version&gt;${line.separator}&lt;/project&gt;"/>
<!-- deploy the jar -->
<exec executable="${maven.executable}">
<arg value="-e"/>
<arg value="deploy:deploy-file"/>
<arg value="-DpomFile=${temporary.pom}"/>
<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="-DrepositoryId=jboss-releases-repository"/>
<arg value="-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/"/>
</exec>
<!-- deploy the sources jar -->
<exec executable="${maven.executable}">
<arg value="-e"/>
<arg value="deploy:deploy-file"/>
<arg value="-DpomFile=${temporary.pom}"/>
<arg value="-DgroupId=org.hornetq"/>
<arg value="-DartifactId=${artifact.id}"/>
<arg value="-Dversion=${hornetq.version}"/>
<arg value="-Dpackaging=jar"/>
<arg value="-Dclassifier=sources"/>
<arg value="-Dfile=./build/jars/${file-name}-sources.jar"/>
<arg value="-DrepositoryId=jboss-releases-repository"/>
<arg value="-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/"/>
</exec>
<delete file="${temporary.pom}"/>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.