comparison ivy-ant.xml @ 110:d5e9a144ce40

Add task to manually publish artifacts to artifactory
author smith@nwoca.org
date Tue, 23 Oct 2012 16:04:17 +0100
parents 9e09ab83f8d9
children db27dad576e5
comparison
equal deleted inserted replaced
109:029db4d977fe 110:d5e9a144ce40
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="ivy-ant" basedir="." 2 <project name="ivy-ant" basedir="."
3 xmlns:ivy="antlib:fr.jayasoft.ivy.ant" 3 xmlns:ivy="antlib:fr.jayasoft.ivy.ant"
4 xmlns:ssdt="http://www.ssdt-ohio.org/ant/common"> 4 xmlns:ssdt="http://www.ssdt-ohio.org/ant/common">
5 5
6 <property name="ssdt.ivy.jar.src" value="http://ivy.ssdt.nwoca.org/repository/ivy/ivy.jar"/> 6 <property name="ssdt.ivy.jar.src" value="http://ivy.ssdt.nwoca.org/repository/ivy/ivy.jar"/>
7 <property name="ssdt.ivy.settings.src" value="${ssdt.devel.kit.src}/ssdt.default.ivy.settings.xml"/> 7 <property name="ssdt.ivy.settings.src" value="${ssdt.devel.kit.src}/ssdt.default.ivy.settings.xml"/>
8 8
9 <ssdt:fetch dest="${user.home.ant.lib}/ivy.jar" 9 <ssdt:fetch dest="${user.home.ant.lib}/ivy.jar"
76 target. 76 target.
77 --> 77 -->
78 <ivy:settings file="ivysettings.xml"/> 78 <ivy:settings file="ivysettings.xml"/>
79 <ivy:resolve file="ivy.xml" /> 79 <ivy:resolve file="ivy.xml" />
80 <ivy:artifactproperty conf="*" 80 <ivy:artifactproperty conf="*"
81 name="ivydeps.[organisation]-[module]" 81 name="ivydeps.[organisation]-[module]"
82 value="[revision]"/> 82 value="[revision]"/>
83 83
84 <ivy:cachepath pathid="ivy.javac.classpath.id" conf="compile" type="jar"/> 84 <ivy:cachepath pathid="ivy.javac.classpath.id" conf="compile" type="jar"/>
85 <pathconvert dirsep="/" pathsep="${path.separator}" property="ivy.javac.classpath"> 85 <pathconvert dirsep="/" pathsep="${path.separator}" property="ivy.javac.classpath">
86 <path refid="ivy.javac.classpath.id"/> 86 <path refid="ivy.javac.classpath.id"/>
87 <!--map from="${basedir}${file.separator}" to=""/--> 87 <!--map from="${basedir}${file.separator}" to=""/-->
229 log="quiet"/> 229 log="quiet"/>
230 <property name="java.agent.jar" 230 <property name="java.agent.jar"
231 value="build/jar/java-agent.jar"/> 231 value="build/jar/java-agent.jar"/>
232 </target> 232 </target>
233 233
234 <target name="artifactoryPublish" depends="init">
235 <ivy:settings/>
236 <ivy:resolve file="ivy.xml"/>
237 <ivy:publish forcedeliver="${ivy-publish.forcedeliver}" overwrite="${ivy-publish.overwrite}" resolver="ssdt-snapshots-local">
238 <artifacts pattern="${ivy-publish.artifacts.pattern}"/>
239 </ivy:publish>
240 </target>
234 241
235 </project> 242 </project>