Last active
September 8, 2022 10:26
-
-
Save Sanne/fad1a91f9c296bb29de73f8217c7661c to your computer and use it in GitHub Desktop.
Optimised Maven settings.xml for within my home
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<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"> | |
<proxies> | |
</proxies> | |
<mirrors> | |
<mirror> | |
<id>syn720-proxy-central</id> | |
<name>My custom mirror for Central</name> | |
<url>http://192.168.1.201:5002/repository/maven-central/</url> | |
<mirrorOf>central</mirrorOf> | |
</mirror> | |
<mirror> | |
<id>syn720-proxy-jboss</id> | |
<name>My custom mirror for JBoss</name> | |
<url>http://192.168.1.201:5002/repository/jboss-public-proxy/</url> | |
<mirrorOf>jboss-public-repository</mirrorOf> | |
</mirror> | |
</mirrors> | |
<profiles> | |
<profile> | |
<id>proxy-enabled</id> | |
<properties> | |
<insecure.repositories>WARN</insecure.repositories> | |
</properties> | |
</profile> | |
</profiles> | |
<activeProfiles> | |
<activeProfile>proxy-enabled</activeProfile> | |
</activeProfiles> | |
</settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment