added setting.xml template
This commit is contained in:
parent
cd4ac13c89
commit
bad2fdc0dd
27
_global/maven/settings.xml.template
Normal file
27
_global/maven/settings.xml.template
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||||
|
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">
|
||||||
|
|
||||||
|
<mirrors>
|
||||||
|
<!--
|
||||||
|
Maven 3.8+ blocks all HTTP repositories by default via "maven-default-http-blocker".
|
||||||
|
Redefining it here with mirrorOf=dummy disables the blocker without affecting anything else.
|
||||||
|
-->
|
||||||
|
<mirror>
|
||||||
|
<id>maven-default-http-blocker</id>
|
||||||
|
<mirrorOf>dummy</mirrorOf>
|
||||||
|
<name>Override to allow internal HTTP registry</name>
|
||||||
|
<url>http://0.0.0.0/</url>
|
||||||
|
</mirror>
|
||||||
|
</mirrors>
|
||||||
|
|
||||||
|
<servers>
|
||||||
|
<server>
|
||||||
|
<id>gitea</id>
|
||||||
|
<username>othmane</username>
|
||||||
|
<password>54465f0ce0fec1a357eb7d9f7055e3df873db114</password>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
|
||||||
|
</settings>
|
||||||
Loading…
Reference in New Issue
Block a user