ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burkhardt Stefan (CI/TMP)" <>
Subject AW: Re: Ivy with archiva
Date Tue, 11 Nov 2008 08:19:45 GMT
Hi Tom,

Thanks for your answer. I tried to the same with the URL-Resolver. Unfortunately with the
same result.
Any other idea?


-----Urspr√ľngliche Nachricht-----
Von: news [] Im Auftrag von Tom Widmer
Gesendet: Montag, 10. November 2008 16:43
Betreff: Re: Ivy with archiva

Burkhardt Stefan (CI/TMP) wrote:
> Hi,
> I try to upload an artefact to archiva. I always get an exception
> (Unauthorized) when I have to use Basic Authentication. (The
> http-client.jar is in the classpath)
> Before I try to publish the artefact I set the Authentication parameters
> within Ivy: 
> Build file:
>         <ivy:settings file="./ivysettings.xml">
>                 <credentials host="archivaHost:archivaPort"

You could try leaving the port out of host, e.g. host="archivaHost". 
Looking at my local setup, that's what I've done to access our TeamCity 
build server's repository (despite the port being something strange like 

> realm="Repository Archiva Managed Internal Repository" username="upload"
> passwd="upload2" />
>         </ivy:settings>
>         <ivy:publish organisation="${organisation}" module="${module}"
> revision="${version}" resolver="chained"
> artifactspattern="dist/[artifact]-[revision].[ext]" overwrite="true"
> validate="false" publishivy="false"/>
> Ivy-settings:
>     <resolvers>
>         <chain name="chained" returnFirst="true">
>             <ibiblio name="local"
> root="archivaHost:archivaPort/archiva/repository/internal/"
> m2compatible="true"/>

According to
ibiblio doesn't support publishing. Apparently URL does though:

Hope that helps.


View raw message