I haven't tried that, but what I read from the Maven-pages, it doesn't understand wildcards like that... But I can try though...
Then again, it would only work if the repositories are actually named like that, and I can't always influence that (3rd party!)... Ah well, for now I'll take the Nexus-solution[1] and explicitly add a snapshot-repository that is always active. [1] http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html On 23.02.2011 13:46, Marc Rohlfs wrote: > Did You try something like this: > <mirrors> > <mirror> > <id>shapshot-mirrors</id> > <name>Snapshot Mirros</name> > <url>http://snapshots.mycompany.com/repo</url> > <mirrorOf>*-snapshots</mirrorOf> > </mirror> > <mirror> > <id>release-mirrors</id> > <name>Release Mirros</name> > <url>http://releases.mycompany.com/repo</url> > <mirrorOf>*-releases</mirrorOf> > <!-- > Or maybe: > <mirrorOf>!*-snapshots</mirrorOf> > --> > </mirror> > <mirror> > <!-- OPTIONAL!!! --> > <id>thirdparty-mirrors</id> > <name>Thirdparty Mirros</name> > <url>http://proxy.mycompany.com/repo</url> > <mirrorOf>!*-releases,!*-snapshots</mirrorOf> > </mirror> > </mirrors> > > I didn't double-check, but I'd say this should work ... > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E [email protected] W www.adesso.at ------------------------------------------------------------- >>> business. people. technology. <<< ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
