On 23.02.2011 18:40, Marc Rohlfs wrote: > > 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... > I thought it would work, but I am not sure - I have to admit ... > > > Then again, it would only work if the repositories are actually named > > like that, and I can't always influence that (3rd party!)... > You use the repository IDs in the 'mirrorOf' configuration, and those > IDs are defined in Your pom.xmls or Your settings.xml, where You define > the remote repositories You want to use - this means that You should be > able to influence that. > Or did I misunderstand Your problem?
Partially true. For my own repositories, this will work. However, Maven also checks the repositories defined in all dependencies and those I have no influence over. > > > Ah well, for now I'll take the Nexus-solution[1] and explicitly add a > > snapshot-repository that is always active. > OK, if You have everything in one Nexus, creating a repository group for > all of Your repositories (even including proxy repos) is the best way, > of course. If it were only a single Nexus, then the normal mirrorOf * would have worked. Would've been great if Maven had an option to mirror types of repositories (release/snapshot) as well as id's. > > --------------------------------------------------------------------- > 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]
