Last active
June 4, 2019 15:36
-
-
Save WhittlesJr/3422e3374c0393188c1321bbd7605bd5 to your computer and use it in GitHub Desktop.
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
<settings> | |
<mirrors> | |
<mirror> | |
<!--This sends everything else to /public --> | |
<id>my-mirror</id> | |
<mirrorOf>*</mirrorOf> | |
<url>http://my-mirror/repository/maven-public/</url> | |
</mirror> | |
</mirrors> | |
<profiles> | |
<profile> | |
<id>my-mirror</id> | |
<!--Enable snapshots for the built in central repo to direct --> | |
<!--all requests to nexus via the mirror --> | |
<repositories> | |
<repository> | |
<id>maven-central</id> | |
<url>https://repo1.maven.org/maven2</url> | |
<releases><enabled>true</enabled></releases> | |
<snapshots><enabled>true</enabled></snapshots> | |
</repository> | |
<repository> | |
<id>clojars</id> | |
<url>https://clojars.org/repo</url> | |
<releases><enabled>true</enabled></releases> | |
<snapshots><enabled>true</enabled></snapshots> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<repository> | |
<id>maven-central</id> | |
<url>https://repo1.maven.org/maven2</url> | |
<releases><enabled>true</enabled></releases> | |
<snapshots><enabled>true</enabled></snapshots> | |
</repository> | |
<repository> | |
<id>clojars</id> | |
<url>https://clojars.org/repo</url> | |
<releases><enabled>true</enabled></releases> | |
<snapshots><enabled>true</enabled></snapshots> | |
</repository> | |
</pluginRepositories> | |
</profile> | |
</profiles> | |
<activeProfiles> | |
<!--make the profile active all the time --> | |
<activeProfile>my-mirror</activeProfile> | |
</activeProfiles> | |
</settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment