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 2021/03/19 21:31:00 UTC

[jira] [Closed] (MNG-7117) Add support for blocking mirrors

     [ https://issues.apache.org/jira/browse/MNG-7117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed MNG-7117.
------------------------------
    Fix Version/s: 3.8.0
         Assignee: Herve Boutemy
       Resolution: Fixed

done in 3.8.0 https://github.com/apache/maven/commit/899465aeec03753ea91e15a79579eab76369c016
and in master https://github.com/apache/maven/commit/28b4ea92d38365d0f27a5bd044ac4927580147f8

> Add support for blocking mirrors
> --------------------------------
>
>                 Key: MNG-7117
>                 URL: https://issues.apache.org/jira/browse/MNG-7117
>             Project: Maven
>          Issue Type: New Feature
>    Affects Versions: 3.6.3
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>            Priority: Major
>             Fix For: 3.8.0
>
>
> If a mirror is marked "blocked" in settings.xml (with a new boolean field for that), any download request to this mirror will be blocked with an explanation on which repository was mirrored for this blocked mirror request
> {code:xml}    <mirror>
>       <id>mirrorId</id>
>       <mirrorOf>repositoryId</mirrorOf>
>       <name>Human Readable Name for this Mirror.</name>
>       <url>http://my.repository.com/repo/path</url>
>       <blocked>true</blocked>
>     </mirror>{code}
> see MRESOLVER-166



--
This message was sent by Atlassian Jira
(v8.3.4#803005)