You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "nicolas de loof (JIRA)" <ji...@codehaus.org> on 2008/02/18 14:54:28 UTC
[jira] Created: (MNG-3407) improve mirroring support
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
Priority: Trivial
<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
[jira] Commented: (MNG-3407) improve mirroring support
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127307 ]
John Casey commented on MNG-3407:
---------------------------------
I would have liked to see this go through the proposal process, since it's changing behavior in the system...
> 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
>
>
> <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
[jira] Reopened: (MNG-3407) improve mirroring support
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox reopened MNG-3407:
----------------------------
We need proposals in the wiki and at least some discussion before new features are just tossed in.
> 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
>
>
> <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
[jira] Closed: (MNG-3407) improve mirroring support
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-3407.
-----------------------------
Resolution: Won't Fix
Fix Version/s: (was: 2.x)
I think the addition of ! and general wildcards has helped here, and repo managers all offer more support through groups. Please reopen if there's another use case missed.
> improve mirroring support
> -------------------------
>
> Key: MNG-3407
> URL: http://jira.codehaus.org/browse/MNG-3407
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Artifacts and Repositories
> Affects Versions: 2.0.8
> Reporter: nicolas de loof
> Assignee: nicolas de loof
> Priority: Trivial
> 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
[jira] Updated: (MNG-3407) improve mirroring support
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (MNG-3407) improve mirroring support
Posted by "nicolas de loof (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124144 ]
nicolas de loof commented on MNG-3407:
--------------------------------------
Stupid typo in description, must read :
<mirror>
<id>archiva</id>
<url>http://mymirror/archiva/repository/{0}</url>
<mirrorOf>*</mirrorOf>
</mirror>
To automagically translate request to apache.snapshots to http://mymirror/archiva/repository/apache.snapshots
> 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
>
> <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
[jira] (MNG-3407) improve mirroring support
Posted by "Julien Béti (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311625#comment-311625 ]
Julien Béti commented on MNG-3407:
----------------------------------
I just got the same issue, searching why in the hell my SNAPSHOTS were always searched in the "release" repository (and then not found...) rather than the "snapshot" one. I finally find out that the "release" one was my configured wildcard mirror....
As suggested, I changed my MRM (Archiva) to group release/snapshot repos in an "all" repo, which I use now as my wildcard mirror.
Nevertheless, I would suggest that mirror configuration should accept the releases/enable and snapshots/enable nodes, as the repository do. If it make sense, please reoppen the issue, I'm obviously not able to do it.
> improve mirroring support
> -------------------------
>
> Key: MNG-3407
> URL: https://jira.codehaus.org/browse/MNG-3407
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Artifacts and Repositories
> Affects Versions: 2.0.8
> Reporter: nicolas de loof
> Assignee: nicolas de loof
> Priority: Trivial
> 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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-3407) improve mirroring support
Posted by "nicolas de loof (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nicolas de loof closed MNG-3407.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.0.9
> 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
>
>
> <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
[jira] Updated: (MNG-3407) improve mirroring support
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3407:
------------------------------
Fix Version/s: (was: 2.2.1)
2.x
> 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.x
>
> 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
[jira] Updated: (MNG-3407) improve mirroring support
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ 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