archiva / internal / snapshot and settings.xml

2008-03-20 Thread Henri Gomez
Hi to all, My archiva proxy has a the regular 'internal' and 'snapshot' repositories. Many proxies to apache, jboss and java.devnet, for release and/or snapshots. ie : urlhttp://people.apache.org/repo/m2-snapshot-repository/url username/ password/ idapachesnapshots/id nameApache Snapshot

Re: archiva / internal / snapshot and settings.xml

2008-03-20 Thread Brett Porter
On 20/03/2008, Henri Gomez [EMAIL PROTECTED] wrote: I wonder how I could trick my settings.xml to get ALL releases from internal and ALL snapshots from snapshot. In Maven 2.0.8 you just need to list each snapshot repository by ID and point it to the Archiva snapshot repo, and place it before

Re: archiva / internal / snapshot and settings.xml

2008-03-20 Thread Henri Gomez
In Maven 2.0.8 you just need to list each snapshot repository by ID and point it to the Archiva snapshot repo, and place it before the * definition. Do you recommand avoiding MirrorOf * ? In Maven 2.0.9 there will be some include/exclude semantics for mirrorOf. Hum, did the 2.0.9

Re: archiva / internal / snapshot and settings.xml

2008-03-20 Thread Brett Porter
On 21/03/2008, Henri Gomez [EMAIL PROTECTED] wrote: In Maven 2.0.8 you just need to list each snapshot repository by ID and point it to the Archiva snapshot repo, and place it before the * definition. Do you recommand avoiding MirrorOf * ? No, mirrorOf * is a very useful method of

Re: archiva / internal / snapshot and settings.xml

2008-03-20 Thread Henri Gomez
Do you recommand avoiding MirrorOf * ? No, mirrorOf * is a very useful method of locking down all access to your managed repositories. I highly recommend it. Indeed but in that case you endup mixing releases and snapshots in the same archiva repository ;( I suspect these couldn't works

Re: archiva / internal / snapshot and settings.xml

2008-03-20 Thread Brett Porter
On 21/03/2008, Henri Gomez [EMAIL PROTECTED] wrote: mirror idinternal-snapshot-repository/id nameMaven Repository Manager for snapshots/name urlhttp://repo.mycompany.com/archiva/snapshots/url mirrorOf*snapshots*/mirrorOf /mirror replace mirrorOf with a