Created
August 21, 2018 07:35
-
-
Save struberg/ee80c5e142e6d2eb99f8e6cc2e0f2b56 to your computer and use it in GitHub Desktop.
mirrorOf section to exclude the java.net maven repo and redirect all requests to maven.central
This file contains 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
<mirrors> | |
<mirror> | |
<id>new.apache.snapshots</id> | |
<name>ignore jave.net repo and mirror to maven.central</name> | |
<url>https://repo.maven.apache.org/maven2</url> | |
<mirrorOf>m1.java.net,maven2-repository.dev.java.net,Java.net Maven 2,java.net.m2,m1.java.net,glassfish-repo-archive,java.net2,glassfish</mirrorOf> | |
</mirror> | |
</mirrors> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment