ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Marks <>
Subject Newbie credentials problems
Date Fri, 10 Apr 2009 21:39:34 GMT
Hi all,
I'm having some issues trying to publish an artifact to a local Artifactory
repository and need a bit of help understanding how to apply credentials for
deployment.  I've set up Artifactory to allow anonymous retrieve, but
requires a user account to deploy an artifact.
The result of my publish target in my ant build script is:
"Access to URL
refused by the server: Unauthorized"

My settings file looks like:
    <settings defaultResolver="mainChain" />
    <include url="${ivy.default.settings.dir}/ivysettings-local.xml" />
    <credentials host="localhost" username="user" passwd="password"/>
        <url name="publish_artifactory" m2compatible="true">

The contents of my ant publish target is:

<ivy:publish resolver="publish_artifactory" pubrevision="${project.version}"
        <artifacts pattern="${dist.packageDir}/[artifact].[ext]" />

Within Artifactory, it shows the account I'm using has deploy permissions on
the repository.

I'm using Ivy 2.1.0 rc1.  The documentation for the credentials element
doesn't give an example, and all of the general examples don't seem to show
a private repository other than on the local file system.

Thoughts on what I'm doing wrong or need to change?

Thanks in advance,

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