ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lasse Knudsen <>
Subject How to use Ivy to publish artifacts to archiva or arifactory?
Date Thu, 01 May 2008 20:15:38 GMT
I'm new to Ivy and I would like to hear how I can use Ivy for publishing 
my artifacts to archiva or artifactory ?

My ivysettings looks like:
   <settings defaultResolver="default"/>
     <ibiblio name="public" m2compatible="true" 
   <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
   <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
   <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>

and my ant publish looks like:

<target name="publish">
	<ivy:makepom ivyfile="${basedir}/ivy.xml" 
pomfile="${target.dir}/utility.pom" />
<ivy:publish artifactspattern="${target.dir}/[artifact].[ext]" 
resolver="public" pubrevision="${ivy.revision}" status="release" 
publishivy="false" overwrite="true"/>

When I try to publish my artifact then I'm getting an error: URL 
repository is not able to put files for the moment. What can I do to get 
this to work?


View raw message