You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/03/15 16:52:50 UTC
[jira] Updated: (MNG-3407) improve mirroring support
[ http://jira.codehaus.org/browse/MNG-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey updated MNG-3407:
----------------------------
Attachment: message-format-mirrorOf-pattern-syntax-trunk.diff
message-format-to-mirrorOf-mirror-pattern-syntax-2.0.x.diff
message-format-mirrorOf-pattern-syntax-2.0.x.diff
these are the code changes that were reverted when this issue was reopened. I'll attach the site changes next.
> 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>* 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