On May 2, 2008, at 3:38 PM, Hans Dockter wrote:


On May 1, 2008, at 10:47 PM, Gilles Scokart wrote:

I think you have to use webdav to publish to archiva.
Unfortunately, we have some issues with our webdav support [1].
(By the way, I would be curious to know how the webdav access has been
implemented in maven?)

I think it is implemented with Slide.

For Gradle we have implemented a webdav resolver for Ivy as we need one. But we need it only for uploading our distribution to a remote directory. Therefore our resolver has no functionality for creating remote dirs, which would be necessary for publishing normal libs. I don't think it is much work to add this but I'm very busy with Gradle right now.

Is there another ivy-beta to come or do you plan for final release of 2.0 soon?

- Hans


- Hans



http://apache.markmail.org/search/?q=list%3Aivy%20webdav

Gilles

2008/5/1 Lasse Knudsen <[EMAIL PROTECTED]>:
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





--
Gilles Scokart

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





--
Hans Dockter
Gradle Project lead
http://www.gradle.org




Reply via email to