forked from wolfc/jboss-ejb3-ivy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap-ivy.xml
38 lines (37 loc) · 1.51 KB
/
bootstrap-ivy.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--
vi:ts=3:sw=3:expandtab:
-->
<project name="jboss-ivy-bootstrap"
xmlns:ivy="antlib:org.apache.ivy.ant"
xmlns:ivyboot="antlib:org.apache.ivy.ant.bootstrap"
default="find-revision">
<!-- Bootstrap Ivy -->
<property name="ivy.version" value="2.0.0"/>
<property name="jboss-ejb3-ivy.version" value="1.0-SNAPSHOT"/>
<property name="ivy.dir" value="${user.home}/.ivy2/cache/org.apache.ivy/jars"/>
<property name="ivy.jar.name" value="ivy-${ivy.version}.jar"/>
<mkdir dir="${ivy.dir}"/>
<!-- skipexisting needs ant 1.8 -->
<get usetimestamp="true" src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/${ivy.jar.name}" dest="${ivy.dir}/${ivy.jar.name}"/>
<taskdef
classpath="${ivy.dir}/${ivy.jar.name}"
uri="antlib:org.apache.ivy.ant.bootstrap"
resource="org/apache/ivy/ant/antlib.xml"/>
<!-- make sure we can get to snapshots.jboss.org and repository.jboss.org -->
<!-- TODO: download ivysettings.xml (and other bits referenced) from somewhere -->
<ivyboot:settings
id="ivy.bootstrap.settings"
file="src/main/ivy/ivysettings.xml"/>
<ivyboot:cachepath
pathid="jboss-ejb3-ivy.classpath"
organisation="org.jboss.ejb3"
module="jboss-ejb3-ivy"
revision="${jboss-ejb3-ivy.version}"
inline="true"
settingsRef="ivy.bootstrap.settings"
log="download-only"/>
<taskdef
classpathref="jboss-ejb3-ivy.classpath"
uri="antlib:org.apache.ivy.ant"
resource="org/apache/ivy/ant/antlib.xml"/>
</project>