Reputation: 1761
I have shared repository in artifactory which requires authentication in order to resolve/retrieve dependencies.
For some reason Ivy is not able to authenticate.
my ivysettings.xml:
<ivysettings>
<settings defaultResolver="main" />
<credentials host="localhost" realm="Artifactory Realm" username="admin" passwd="password" />
<resolvers>
<chain name="main">
<ibiblio name="public" m2compatible="true" root="http://localhost:8081/artifactory/repo" />
</chain>
</resolvers>
</ivysettings>
log file:
try to get credentials for: Authenticate Artifactory@localhost
authentication: k='Authenticate Artifactory@localhost' c='null'
HTTP response status: 401 url=https://localhost/artifactory/repo... the rest of the log file...
Artifacotry is configured to authenticate against ldap/active directory
Upvotes: 0
Views: 1493
Reputation: 1761
in my configuration realm="Artifactory Realm" was wrong. It should be: realm="Authenticate Artifactory"
Upvotes: 1