Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 285 lines (233 sloc) 9.855 kb
6816c5b @andytaylor support for maven upload
andytaylor authored
1 <?xml version="1.0" encoding="UTF-8"?>
03e6319 @andytaylor updated build files to apache license
andytaylor authored
2 <!--
df4b458 @andytaylor updated licenses
andytaylor authored
3 ~ Copyright 2009 Red Hat, Inc.
4 ~ Red Hat licenses this file to you under the Apache License, version
5 ~ 2.0 (the "License"); you may not use this file except in compliance
6 ~ with the License. You may obtain a copy of the License at
7 ~ http://www.apache.org/licenses/LICENSE-2.0
8 ~ Unless required by applicable law or agreed to in writing, software
9 ~ distributed under the License is distributed on an "AS IS" BASIS,
10 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11 ~ implied. See the License for the specific language governing
12 ~ permissions and limitations under the License.
03e6319 @andytaylor updated build files to apache license
andytaylor authored
13 -->
6816c5b @andytaylor support for maven upload
andytaylor authored
14
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
15 <project default="upload" name="HornetQ">
becfb5d @clebertsuconic Changing version on build-maven
clebertsuconic authored
16 <property name="hornetq.version" value="2.1.1.Final"/>
6816c5b @andytaylor support for maven upload
andytaylor authored
17 <property name="build.dir" value="build"/>
18 <property name="jars.dir" value="${build.dir}/jars"/>
19
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
20 <target name="uploadHornetQBootstrap">
6816c5b @andytaylor support for maven upload
andytaylor authored
21 <antcall target="upload">
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
22 <param name="artifact.id" value="hornetq-bootstrap"/>
6816c5b @andytaylor support for maven upload
andytaylor authored
23 <param name="artifact.type" value="jar"/>
24 </antcall>
25 </target>
26
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
27 <target name="uploadHornetQCore">
6816c5b @andytaylor support for maven upload
andytaylor authored
28 <antcall target="upload">
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
29 <param name="artifact.id" value="hornetq-core"/>
6816c5b @andytaylor support for maven upload
andytaylor authored
30 <param name="artifact.type" value="jar"/>
31 </antcall>
32 </target>
33
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
34 <target name="uploadHornetQLogging">
6816c5b @andytaylor support for maven upload
andytaylor authored
35 <antcall target="upload">
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
36 <param name="artifact.id" value="hornetq-logging"/>
6816c5b @andytaylor support for maven upload
andytaylor authored
37 <param name="artifact.type" value="jar"/>
38 </antcall>
39 </target>
40
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
41 <target name="uploadHornetQCoreClient">
6816c5b @andytaylor support for maven upload
andytaylor authored
42 <antcall target="upload">
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
43 <param name="artifact.id" value="hornetq-core-client"/>
6816c5b @andytaylor support for maven upload
andytaylor authored
44 <param name="artifact.type" value="jar"/>
45 </antcall>
46 </target>
47
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
48 <target name="uploadHornetQJms">
6816c5b @andytaylor support for maven upload
andytaylor authored
49 <antcall target="upload">
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
50 <param name="artifact.id" value="hornetq-jms"/>
6816c5b @andytaylor support for maven upload
andytaylor authored
51 <param name="artifact.type" value="jar"/>
52 </antcall>
53 </target>
54
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
55 <target name="uploadHornetQJmsClient">
6816c5b @andytaylor support for maven upload
andytaylor authored
56 <antcall target="upload">
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
57 <param name="artifact.id" value="hornetq-jms-client"/>
6816c5b @andytaylor support for maven upload
andytaylor authored
58 <param name="artifact.type" value="jar"/>
59 </antcall>
60 </target>
61
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
62 <target name="uploadHornetQSecurity">
710b166 @andytaylor maven build script fix
andytaylor authored
63 <antcall target="upload">
d7b4114 @andytaylor https://jira.jboss.org/jira/browse/HORNETQ-119 - also fixed same issu…
andytaylor authored
64 <param name="artifact.id" value="hornetq-jboss-as-integration"/>
710b166 @andytaylor maven build script fix
andytaylor authored
65 <param name="artifact.type" value="jar"/>
66 </antcall>
67 </target>
68
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
69 <target name="uploadHornetQRa">
710b166 @andytaylor maven build script fix
andytaylor authored
70 <antcall target="upload">
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
71 <param name="artifact.id" value="hornetq-ra"/>
710b166 @andytaylor maven build script fix
andytaylor authored
72 <param name="artifact.type" value="jar"/>
73 </antcall>
74 </target>
75
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
76 <target name="uploadHornetQResources">
657898b @andytaylor examples jar update
andytaylor authored
77 <antcall target="upload">
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
78 <param name="artifact.id" value="hornetq-resources"/>
657898b @andytaylor examples jar update
andytaylor authored
79 <param name="artifact.type" value="jar"/>
80 </antcall>
81 </target>
3d630af @clebertsuconic Adding script to upload snapshots
clebertsuconic authored
82
83
84 <target name="upload-snapshot">
85 <antcall target="uploadHornetQBootstrap"/>
86
87 <antcall target="uploadHornetQCore"/>
88
89 <antcall target="uploadHornetQLogging"/>
90
91 <antcall target="uploadHornetQTransports"/>
92
93 <antcall target="uploadHornetQCoreClient"/>
94
95 <antcall target="uploadHornetQJms"/>
96
97 <antcall target="uploadHornetQJmsClient"/>
98
99 <antcall target="uploadHornetQSecurity"/>
100
101 <antcall target="uploadHornetQRa"/>
102
103 <antcall target="uploadHornetQResources"/>
104 </target>
657898b @andytaylor examples jar update
andytaylor authored
105
6816c5b @andytaylor support for maven upload
andytaylor authored
106
7a93842 @clebertsuconic Refactoring parser of xml jms configuration for a better integration…
clebertsuconic authored
107 <target name="install">
108 <antcall target="upload-local-target">
109 <param name="artifact.id" value="hornetq-resources"/>
110 </antcall>
111
112 <antcall target="upload-local-target">
113 <param name="artifact.id" value="hornetq-jms"/>
114 </antcall>
115
116 <antcall target="upload-local-target">
117 <param name="artifact.id" value="hornetq-jms-client"/>
118 </antcall>
119
120 <antcall target="upload-local-target">
121 <param name="artifact.id" value="hornetq-core"/>
122 </antcall>
123
124 <antcall target="upload-local-target">
125 <param name="artifact.id" value="hornetq-jboss-as-integration"/>
126 </antcall>
127
128 <antcall target="upload-local-target">
129 <param name="artifact.id" value="hornetq-bootstrap"/>
130 </antcall>
131
132 <antcall target="upload-local-target">
133 <param name="artifact.id" value="hornetq-core-client"/>
134 </antcall>
135
136 <antcall target="upload-local-target">
137 <param name="artifact.id" value="hornetq-logging"/>
138 </antcall>
139
140 <antcall target="upload-local-target">
141 <param name="artifact.id" value="hornetq-ra"/>
142 </antcall>
143
144 </target>
145
146 <target name="upload-local-target">
1cc5e74 @jmesnil https://jira.jboss.org/jira/browse/HORNETQ-344: Add hornetq sources.j…
jmesnil authored
147 <!-- install the jar -->
7a93842 @clebertsuconic Refactoring parser of xml jms configuration for a better integration…
clebertsuconic authored
148 <exec executable="mvn">
149 <arg value="install:install-file"/>
4bd5444 @clebertsuconic tweak only
clebertsuconic authored
150 <!-- uncomment the following line to deploy to the JBoss 5 repository -->
151 <!-- arg value="-Dmaven.repo.local=/work/eap-location/maven-repository"/ -->
7a93842 @clebertsuconic Refactoring parser of xml jms configuration for a better integration…
clebertsuconic authored
152 <arg value="-DgroupId=org.hornetq"/>
153 <arg value="-DartifactId=${artifact.id}"/>
154 <arg value="-Dversion=${hornetq.version}"/>
155 <arg value="-Dpackaging=jar"/>
156 <arg value="-Dfile=./build/jars/${artifact.id}.jar"/>
157 </exec>
1cc5e74 @jmesnil https://jira.jboss.org/jira/browse/HORNETQ-344: Add hornetq sources.j…
jmesnil authored
158 <!-- install the sources jar -->
159 <exec executable="mvn">
160 <arg value="install:install-file"/>
161 <arg value="-DgroupId=org.hornetq"/>
4bd5444 @clebertsuconic tweak only
clebertsuconic authored
162 <!-- uncomment the following line to deploy to the JBoss 5 repository -->
163 <!-- arg value="-Dmaven.repo.local=/work/eap-location/maven-repository"/ -->
1cc5e74 @jmesnil https://jira.jboss.org/jira/browse/HORNETQ-344: Add hornetq sources.j…
jmesnil authored
164 <arg value="-DartifactId=${artifact.id}"/>
165 <arg value="-Dversion=${hornetq.version}"/>
166 <arg value="-Dpackaging=jar"/>
167 <arg value="-Dclassifier=sources"/>
168 <arg value="-Dfile=./build/jars/${artifact.id}-sources.jar"/>
169 </exec>
7a93842 @clebertsuconic Refactoring parser of xml jms configuration for a better integration…
clebertsuconic authored
170 </target>
171
6816c5b @andytaylor support for maven upload
andytaylor authored
172 <target name="upload">
1cc5e74 @jmesnil https://jira.jboss.org/jira/browse/HORNETQ-344: Add hornetq sources.j…
jmesnil authored
173 <!-- upload the jar -->
6816c5b @andytaylor support for maven upload
andytaylor authored
174 <exec executable="mvn">
175 <arg value="deploy:deploy-file"/>
3d630af @clebertsuconic Adding script to upload snapshots
clebertsuconic authored
176 <arg value="-e"/>
fd4eb64 @purplefox remove remaining refs to org.jboss.messaging from files
purplefox authored
177 <arg value="-DgroupId=org.hornetq"/>
6816c5b @andytaylor support for maven upload
andytaylor authored
178 <arg value="-DartifactId=${artifact.id}"/>
747b9aa @purplefox remove refs to jboss, jbm etc part I
purplefox authored
179 <arg value="-Dversion=${hornetq.version}"/>
6816c5b @andytaylor support for maven upload
andytaylor authored
180 <arg value="-Dpackaging=${artifact.type}"/>
181 <arg value="-DgeneratePom=true"/>
182 <arg value="-Dfile=${jars.dir}/${artifact.id}.${artifact.type}"/>
183 <arg value="-DrepositoryId=snapshots.jboss.org"/>
184 <arg value="-Durl=dav:https://snapshots.jboss.org/maven2"/>
185 </exec>
1cc5e74 @jmesnil https://jira.jboss.org/jira/browse/HORNETQ-344: Add hornetq sources.j…
jmesnil authored
186 <!-- upload the corresponding sources jar -->
187 <exec executable="mvn">
188 <arg value="deploy:deploy-file"/>
189 <arg value="-e"/>
190 <arg value="-DgroupId=org.hornetq"/>
191 <arg value="-DartifactId=${artifact.id}"/>
192 <arg value="-Dversion=${hornetq.version}"/>
193 <arg value="-Dpackaging=${artifact.type}"/>
194 <arg value="-DgeneratePom=true"/>
195 <arg value="-Dclassifier=sources"/>
196 <arg value="-Dfile=${jars.dir}/${artifact.id}-sources.${artifact.type}"/>
197 <arg value="-DrepositoryId=snapshots.jboss.org"/>
198 <arg value="-Durl=dav:https://snapshots.jboss.org/maven2"/>
199 </exec>
6816c5b @andytaylor support for maven upload
andytaylor authored
200 </target>
201
75ce8b5 @clebertsuconic adding new repo to build-maven.xml
clebertsuconic authored
202 <target name="deploy">
324773b @clebertsuconic maven tweaks
clebertsuconic authored
203
204
205 <antcall target="deploy-jar">
206 <param name="artifact.id" value="hornetq-resources"/>
207 </antcall>
208
209 <antcall target="deploy-jar">
210 <param name="artifact.id" value="hornetq-jms"/>
211 </antcall>
212
213 <antcall target="deploy-jar">
214 <param name="artifact.id" value="hornetq-jms-client"/>
215 </antcall>
216
217 <antcall target="deploy-jar">
218 <param name="artifact.id" value="hornetq-core"/>
219 </antcall>
220
221 <antcall target="deploy-jar">
222 <param name="artifact.id" value="hornetq-jboss-as-integration"/>
223 </antcall>
224
225 <antcall target="deploy-jar">
226 <param name="artifact.id" value="hornetq-bootstrap"/>
227 </antcall>
228
229 <antcall target="deploy-jar">
230 <param name="artifact.id" value="hornetq-core-client"/>
231 </antcall>
232
233 <antcall target="deploy-jar">
234 <param name="artifact.id" value="hornetq-logging"/>
235 </antcall>
236
237 <antcall target="deploy-jar">
238 <param name="artifact.id" value="hornetq-ra"/>
239 </antcall>
240
e0a418b @andytaylor added maven target for creating repos files
andytaylor authored
241 </target>
242
324773b @clebertsuconic maven tweaks
clebertsuconic authored
243 <target name="deploy-jar">
244 <tempfile property="temporary.pom" prefix="pom" suffix=".xml"/>
245 <echo file="${temporary.pom}"
e0a418b @andytaylor added maven target for creating repos files
andytaylor authored
246 message="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;project&gt;${line.separator}
247 &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;${line.separator}
248 &lt;groupId&gt;org.hornetq&lt;/groupId&gt;${line.separator}
324773b @clebertsuconic maven tweaks
clebertsuconic authored
249 &lt;artifactId&gt;${artifact.id}&lt;/artifactId&gt;${line.separator}
e0a418b @andytaylor added maven target for creating repos files
andytaylor authored
250 &lt;version&gt;${hornetq.version}&lt;/version&gt;${line.separator}&lt;/project&gt;"/>
324773b @clebertsuconic maven tweaks
clebertsuconic authored
251
1cc5e74 @jmesnil https://jira.jboss.org/jira/browse/HORNETQ-344: Add hornetq sources.j…
jmesnil authored
252 <!-- deploy the jar -->
324773b @clebertsuconic maven tweaks
clebertsuconic authored
253 <exec executable="mvn">
254 <arg value="-e"/>
255 <arg value="deploy:deploy-file"/>
256 <arg value="-DpomFile=${temporary.pom}"/>
257 <arg value="-DgroupId=org.hornetq"/>
258 <arg value="-DartifactId=${artifact.id}"/>
259 <arg value="-Dversion=${hornetq.version}"/>
260 <arg value="-Dpackaging=jar"/>
261 <arg value="-Dfile=./build/jars/${artifact.id}.jar"/>
75ce8b5 @clebertsuconic adding new repo to build-maven.xml
clebertsuconic authored
262 <arg value="-DrepositoryId=jboss-releases-repository"/>
263 <arg value="-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/"/>
324773b @clebertsuconic maven tweaks
clebertsuconic authored
264 </exec>
1cc5e74 @jmesnil https://jira.jboss.org/jira/browse/HORNETQ-344: Add hornetq sources.j…
jmesnil authored
265 <!-- deploy the sources jar -->
266 <exec executable="mvn">
267 <arg value="-e"/>
268 <arg value="deploy:deploy-file"/>
269 <arg value="-DpomFile=${temporary.pom}"/>
270 <arg value="-DgroupId=org.hornetq"/>
271 <arg value="-DartifactId=${artifact.id}"/>
272 <arg value="-Dversion=${hornetq.version}"/>
273 <arg value="-Dpackaging=jar"/>
274 <arg value="-Dclassifier=sources"/>
275 <arg value="-Dfile=./build/jars/${artifact.id}-sources.jar"/>
75ce8b5 @clebertsuconic adding new repo to build-maven.xml
clebertsuconic authored
276 <arg value="-DrepositoryId=jboss-releases-repository"/>
277 <arg value="-Durl=https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/"/>
1cc5e74 @jmesnil https://jira.jboss.org/jira/browse/HORNETQ-344: Add hornetq sources.j…
jmesnil authored
278 </exec>
75ce8b5 @clebertsuconic adding new repo to build-maven.xml
clebertsuconic authored
279
280 <delete file="${temporary.pom}"/>
281
e0a418b @andytaylor added maven target for creating repos files
andytaylor authored
282 </target>
283
7a93842 @clebertsuconic Refactoring parser of xml jms configuration for a better integration…
clebertsuconic authored
284 </project>
Something went wrong with that request. Please try again.