ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lasse Knudsen <lasse.knud...@t-online.de>
Subject How to use Ivy to publish artifacts to archiva or arifactory?
Date Thu, 01 May 2008 20:15:38 GMT
Hi,
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:
<ivysettings>
   <settings defaultResolver="default"/>
   <resolvers>
     <ibiblio name="public" m2compatible="true" 
root="http://localhost:8081/archiva/repository/internal/"/>
   </resolvers>
   <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"/>
   <include 
url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/>
</ivysettings>

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"/>
</target>

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?

Regards,
Lasse


Mime
View raw message