Skip to content

Instantly share code, notes, and snippets.

@alanhg
Created August 20, 2019 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanhg/3f52e12a45eb09778d569cb9b26d058d to your computer and use it in GitHub Desktop.
Save alanhg/3f52e12a45eb09778d569cb9b26d058d to your computer and use it in GitHub Desktop.
maven setting default config
<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<profiles>
<profile>
<repositories>
<repository>
<id> central</id>
<name> Maven Repository Switchboard</name>
<layout> default</layout>
<url> http://repo1.maven.org/maven2</url>
<snapshots>
<enabled> false</enabled>
</snapshots>
</repository>
</repositories>
<id>offical</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>offical</activeProfile>
</activeProfiles>
</settings>
@BMomani
Copy link

BMomani commented Sep 22, 2021

thanks for sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment