We also use the credentials tag to enable repository authentication over http or https. The server hosting our Ivy repository exposes an ivysettings file with the credential tag e.g.:
<credentials host="ivyrep.server.com" realm="Artifactory Realm" username="${ivyrep.username}" passwd="${ivyrep.password}"/> <resolvers> <url name="ivyrep-shared" m2compatible="false" checkmodified="true"> <artifact pattern="https://ivyrep.server.com/artifactory/shared/....."/> <ivy pattern=" https://ivyrep.server.com/artifactory/shared/...."/> </url> </resolvers> The user then defines their username and password locally, note that we are using Artifactory which requires the "Artifactory Realm" setting. This setup works fine for us. Regards Jonathan Oulds -----Original Message----- From: Rodrigue ... [mailto:rlag...@googlemail.com] Sent: 08 August 2013 11:04 To: ivy-user@ant.apache.org Subject: Re: the credentials tag in ivysettings.xml The consequence of this issue, is that i'm not able to move the SR2 of eclipse juno. On Thu, Aug 8, 2013 at 12:03 PM, Rodrigue ... <rlag...@googlemail.com>wrote: > Just another try, may be something else is facing the same issue. > > I'm facing an issue here concerning the credentials tag supposed to be > supported by the ivysettings xml specification ( > http://ant.apache.org/ivy/history/latest-milestone/settings/credential > s.html > ) > > Since my repository is protected using a http-authentication, I would > like to use the credentials tag to parameterize the username and passwd > values. > I just tried by entering the values (username and passwd) directly > without success. > > I have the feeling that this credentials tag is not considered during > the resolve of the dependencies, am I wrong? > > Thank you for any help > > BR > > > On Sat, Jun 29, 2013 at 7:21 PM, Rodrigue ... <rlag...@googlemail.com>wrote: > >> Hi everybody, >> >> I'm facing an issue here concerning the credentials tag supposed to >> be supported by the ivysettings xml specification ( >> http://ant.apache.org/ivy/history/latest-milestone/settings/credentia >> ls.html >> ) >> >> Since my repository is protected using a http-authentication, I would >> like to use the credentials tag to parameterize the username and >> passwd values. I just tried by entering the values (username and >> passwd) directly without success. >> >> I have the feeling that this credentials tag is not considered during >> the resolve of the dependencies, am I wrong? >> >> Thank you for any help >> >> BR >> Rodrigue >> > >