[
http://jira.codehaus.org/browse/MNG-4367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann closed MNG-4367.
----------------------------------
Assignee: Benjamin Bentmann
Resolution: Fixed
Fix Version/s: 3.0-alpha-3
Extended settings in
[r818442|http://svn.apache.org/viewvc?view=rev&revision=818442] to support:
{code:xml}
<mirror>
<id>foo</id>
<url>bar</url>
<layout>default</layout>
<mirrorOf>*</mirrorOf>
<mirrorOfLayouts>default,legacy</mirrorOfLayouts>
</mirror>
{code}
where {{<layout>}} specifies the layout of the mirror itself and
{{<mirrorOfLayouts>}} can be used to restrict which repos should be matched by
this mirror, using a similar syntax as for {{<mirrorOf>}} and defaulting to
"*", i.e. any layout.
> Consider layout for mirror selection
> ------------------------------------
>
> Key: MNG-4367
> URL: http://jira.codehaus.org/browse/MNG-4367
> Project: Maven 2
> Issue Type: New Feature
> Components: Artifacts and Repositories, Settings
> Affects Versions: 3.0-alpha-3
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: 3.0-alpha-3
>
>
> Extensions like Tycho employ custom repo layouts to access P2 or OBR repos.
> When it comes to mirroring, it's desirable to use different mirrors for the
> normal Maven repos and those OSGi repos. Neverthess, users should still be
> able to use wildcards for easy mirror maintenance but a wildcard matches any
> repo regardless of its layout/type. So we should enrich the settings model to
> allow the specification of a layout for the mirror itself that can be
> considered when selecting a mirror for a specific repository.
--
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