Is Artifactory set up to allow anonymous publish? If so, perhaps it's not sending a challenge for Ivy to respond to. Thanks, topher
On Wed, Nov 4, 2009 at 10:32 AM, [email protected] < [email protected]> wrote: > Thanks for the reply, but that didn't work. It doesn't seem to matter what > I put in any of the fields since the whole credentials stanza seems to be > ignored. It could be in the wrong place or there could be some default > overriding it, since Artifactory access log shows that user "anonymous" is > being used for the deploy. > > Nick DiLauro > > Inovis Inc. > > -----Original Message----- > From: Maarten Coene [mailto:[email protected]] > Sent: Tuesday, November 03, 2009 11:32 PM > To: [email protected] > Subject: Re: where to put credentials for ivy:publish > > I think the host attribute in your credentials should only contain the > host: > <credentials host="alfartifactory" realm="Artifactory Realm" > username="myuser" passwd="mypwd"/> > > Maarten > > > > ________________________________ > From: "[email protected]" <[email protected]> > To: "[email protected]" <[email protected]> > Sent: Wed, November 4, 2009 12:45:06 AM > Subject: where to put credentials for ivy:publish > > > I have an ivy:publish target for which I use an ivysettings.xml > file, but when I check the artifactory server access log it is using > “anonymous” > user and not picking up “myuser”. Is there another > place where I should put the credentials line? Seems like it’s > being ignored. I’m using ivy version 2.1.0 and > Artifactory version 2.0.8 > > <ivysettings> > <settings defaultResolver="my-chain"> > </settings> > <property name="ivy.repository.host" > value="alfartifactory:8080/artifactory"/> > <credentials host="http://alfartifactory:8080/artifactory"; > realm="Artifactory Realm" username="myuser" passwd="mypwd"/> > > <resolvers> > <!-- <properties > file="ivy.properties"/> --> > <chain name="my-chain"> > <url > name="my-ivy2"> > <artifact > pattern="http:// > ${ivy.repository.host}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"; > /> > <artifact > pattern="http:// > ${ivy.repository.host}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"; > /> > <artifact > pattern="http:// > ${ivy.repository.host}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"; > /> > </url> > </chain> > </resolvers> > </ivysettings> > > Nicholas DiLauro > Sr. Build Engineer III > 6425 Christie Ave, Ste 300 > Emeryville, CA 94608 > +1 510.285.5026 direct > +1 510.285.5026 fax > [email protected] > www.inovis.com > > > > >
