You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (Jira)" <ji...@apache.org> on 2024/01/28 10:43:00 UTC
[jira] [Commented] (MNG-3461) Enhance Mirror definition syntax with external:*
[ https://issues.apache.org/jira/browse/MNG-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811649#comment-17811649 ]
Herve Boutemy commented on MNG-3461:
------------------------------------
https://github.com/apache/maven/commit/037f0a7e68839881f60aef7654db85138329505f
> Enhance Mirror definition syntax with external:*
> ------------------------------------------------
>
> Key: MNG-3461
> URL: https://issues.apache.org/jira/browse/MNG-3461
> Project: Maven
> Issue Type: Improvement
> Components: Artifacts and Repositories
> Affects Versions: 2.0.8
> Reporter: Brian E Fox
> Assignee: Brian E Fox
> Priority: Major
> Fix For: 2.0.9
>
> Attachments: mng-3461.diff
>
>
> I ran into some issues recently with the IT tests. I use a mirrorof * to redirect everything to a repo manager but this is also redirecting the file based repositories. I can't think of any good reason this should apply to anything other than remote repos. I have two proposals:
>
> 1. Change maven so that file based repos ignore all mirror settings
> 2. Change maven so that file based repos ignore the wildcard but
> will respond if the mirror specifically names it.
>
> I can't think of any reason why a mirror should override a local repo so I suggest we go with #1.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)