[
https://issues.apache.org/jira/browse/MNG-7117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov updated MNG-7117:
--------------------------------
Description:
If a mirror is marked "block" 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 block
{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>
<block>true</block>
</mirror>{code}
see MRESOLVER-166
was:
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 block
{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
> 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
> Priority: Major
>
> If a mirror is marked "block" 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 block
> {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>
> <block>true</block>
> </mirror>{code}
> see MRESOLVER-166
--
This message was sent by Atlassian Jira
(v8.3.4#803005)