[ http://jira.codehaus.org/browse/MNG-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey updated MNG-3407: ---------------------------- Attachment: mirrorOf-pattern-syntax-site.diff site changes reverted for discussion. > improve mirroring support > ------------------------- > > Key: MNG-3407 > URL: http://jira.codehaus.org/browse/MNG-3407 > Project: Maven 2 > Issue Type: Improvement > Components: Artifacts and Repositories > Affects Versions: 2.0.8 > Reporter: nicolas de loof > Assignee: nicolas de loof > Priority: Trivial > Fix For: 2.0.9 > > Attachments: message-format-mirrorOf-pattern-syntax-2.0.x.diff, > message-format-mirrorOf-pattern-syntax-trunk.diff, > message-format-to-mirrorOf-mirror-pattern-syntax-2.0.x.diff, > mirrorOf-pattern-syntax-site.diff > > > <mirrorOf>* is a helpful way to ensure maven doesn't get artifacts from the > Internet in a corporate environment where we want all artifacts to be managed > & backed-up. > Usefull but limited, as this requires the mirror repository to proxy ALL > repositories, beeing snapshots or not. > Using the repository ID to build the mirror URL can make things cleaner : > <mirror> > <id>*</id> > <url>http://mymirror/archiva/repository/{0}</url> > <mirrorOf>central</mirrorOf> > </mirror> > With such a configuration, users can setup dedicated managed repository for > any public repository they want to mirror. Using archiva makes this use case > simple. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira