mirror of https://github.com/apache/maven.git
[MNG-7118] block HTTP repositories by default
This commit is contained in:
parent
899465aeec
commit
907d53ad32
|
@ -43,9 +43,9 @@ under the License.
|
||||||
| values (values used when the setting is not specified) are provided.
|
| values (values used when the setting is not specified) are provided.
|
||||||
|
|
|
|
||||||
|-->
|
|-->
|
||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 http://maven.apache.org/xsd/settings-1.2.0.xsd">
|
||||||
<!-- localRepository
|
<!-- localRepository
|
||||||
| The path to the local repository maven will use to store artifacts.
|
| The path to the local repository maven will use to store artifacts.
|
||||||
|
|
|
|
||||||
|
@ -156,6 +156,13 @@ under the License.
|
||||||
<url>http://my.repository.com/repo/path</url>
|
<url>http://my.repository.com/repo/path</url>
|
||||||
</mirror>
|
</mirror>
|
||||||
-->
|
-->
|
||||||
|
<mirror>
|
||||||
|
<id>maven-default-http-blocker</id>
|
||||||
|
<mirrorOf>external:http:*</mirrorOf>
|
||||||
|
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
|
||||||
|
<url>http://0.0.0.0/</url>
|
||||||
|
<blocked>true</blocked>
|
||||||
|
</mirror>
|
||||||
</mirrors>
|
</mirrors>
|
||||||
|
|
||||||
<!-- profiles
|
<!-- profiles
|
||||||
|
|
Loading…
Reference in New Issue