ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burkhardt Stefan (CI/TMP)" <Stefan.Burkha...@de.bosch.com>
Subject Ivy with archiva
Date Fri, 07 Nov 2008 14:23:28 GMT
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"
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"/>
        </chain>
        
        <filesystem name="dist">
            <artifact
pattern="${basedir}/dist/[artifact]-[revision].[ext]"/>
  	</filesystem>
    </resolvers>  

Do I have to set the Authentication Paramters in a diffrent way? Any
idea?

Thanks, 
Stefan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message