Justin Garrick created MNG-5466:
-----------------------------------
Summary: Maven 3.0.5 doesn't send credentials for
<mirrorOf>*</mirrorOf>
Key: MNG-5466
URL: https://jira.codehaus.org/browse/MNG-5466
Project: Maven 2 & 3
Issue Type: Bug
Affects Versions: 3.0.5
Environment: Win Server 2012 x64, JDK7u17 x64, Maven 3.0.5
Reporter: Justin Garrick
Attachments: bad-settings.xml, workaround-settings.xml
When {code:xml}<mirrorOf>*<mirrorOf>{code} is used to create a "mirror-any"
setup as described
[here|http://wiki.jfrog.org/confluence/display/rtf/configuring+artifacts+resolution],
Maven 3.0.5 does not send credentials. * is documented as a valid option in
the [Maven
documentation|http://maven.apache.org/guides/mini/guide-mirror-settings.html].
This seems to be a regression as this functionality worked as expected in Maven
3.0.4. Specifying a {code:xml}<mirror>{code} for each {code:xml}<server>{code}
seems to function as a temporary workaround.
See the {{bad-settings.xml}} attachment that demonstrates the problem and
{{workaround-settings.xml}} that demonstrates the workaround.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira