diff ssdt.ci.ivy.settings.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 246f0c7ba9b6
line wrap: on
line diff
--- a/ssdt.ci.ivy.settings.xml	Thu Sep 06 20:33:23 2012 +0100
+++ b/ssdt.ci.ivy.settings.xml	Tue Oct 23 16:04:17 2012 +0100
@@ -9,6 +9,7 @@
             <ttl revision="latest.integration" duration="5s"/>
         </cache>
     </caches>
+    <property name="ivy-publish.resolver" value="ssdt-snapshots"/>
     <property name="ivy.local.default.root" value="${user.home}/.ivy2/local" override="false"/>
     <property name="ivy.default.ivy.user.dir" value="${user.home}/.ivy2" override="false"/>   
     <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
@@ -16,7 +17,8 @@
     <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
     <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
     <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/>
-    <resolvers >        
+    <credentials host="repos.ssdt.nwoca.org" realm="Artifactory Realm" username="gradle" passwd="{DESede}Rd/TAQPyOO6PCyMLLBxybQ=="/>
+     <resolvers >        
         <chain name="default">     
             <url name="ssdt-snapshots" changingPattern=".*SNAPSHOT" checkmodified="true" m2compatible="true" cache="snapshot-cache">
                 <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
@@ -36,5 +38,9 @@
             <ivy pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.ivy.pattern}" />
             <artifact pattern="${ivy.default.ivy.user.dir}/publish/${ivy.local.default.artifact.pattern}" />
         </filesystem>     
+       <url name="ssdt-snapshots-local" changingPattern=".*SNAPSHOT" checkmodified="true" m2compatible="true">
+                <artifact pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots-local/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
+                <ivy pattern="http://repos.ssdt.nwoca.org/artifactory/libs-snapshots-local/[organisation]/[module]/ivy-[revision].xml" />
+            </url>            
     </resolvers>
 </ivysettings>