It works fine ! I missed this point in the doc, sorry. David
-----Original Message----- From: Brett Porter [mailto:[email protected]] Sent: Wednesday, December 17, 2008 11:55 AM To: [email protected] Subject: Re: Archiva as a mirror You need to go to the Archiva admin area, click users, click on the guest user, and grant them the repository observer role for the internal repository. http://archiva.apache.org/docs/1.1.3/adminguide/roles.html Cheers, Brett On 17/12/2008, at 9:11 PM, DEGARDIN David (CAMPUS) wrote: > Hi, > > I'm using maven-2.0.9 and Archiva 1.1.3. I'd like to have a local m2 > repo on my machine. For that, I've specified in my maven2 settings.xml > file something like this: > > <mirrors> > <mirror> > <id>archiva.default</id> > <url>http://my.archiva.url/repository/internal/</url> > <mirrorOf>*</mirrorOf> > </mirror> > </mirrors> > > When I launch a "mvn clean install" command for example, it does not > work, it says that it cannot donwload artifacts from any repository > ?!! > And the url http://my.archiva.url/repository/internal/ is protected by > the basic authentication...I've seen there is a servlet on / > repository/* > pattern which delegates security to redback system (if I've well > understood the whole stuff)) > > So the question is: what do I have to do to get it work ? > - Is it possible to tell Archiva that the webdav url is not secured ? > - Or do I need to provide a login/password (corresponding to an > account that has at least a "repository observer" role) somewhere ? > - Is the thing i'm trying to do even possible ? > > Please advise... > > Thank you for your help > > David -- Brett Porter [email protected] http://blogs.exist.com/bporter/
