Created
September 5, 2019 14:13
-
-
Save geekyouth/2fd48359eac66cbec8298cba791f8a8d 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
<?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> | |
<!-- https://blog.csdn.net/www1056481167/article/details/60139851 --> | |
<!--自定义添加--> | |
<mirror> | |
<id>repo2</id> | |
<name>maven.org</name> | |
<mirrorOf>central</mirrorOf> | |
<url>http://repo2.maven.org/maven2/</url> | |
</mirror> | |
<!--阿里云镜像--> | |
<mirror> | |
<id>alimaven</id> | |
<name>aliyun maven</name> | |
<mirrorOf>central</mirrorOf> | |
<url>http://maven.aliyun.com/nexus/content/groups/public/</url> | |
</mirror> | |
<mirror> | |
<id>ui</id> | |
<mirrorOf>central</mirrorOf> | |
<name>Human Readable Name for this Mirror.</name> | |
<url>http://uk.maven.org/maven2/</url> | |
</mirror> | |
<mirror> | |
<id>jboss-public-repository-group</id> | |
<mirrorOf>central</mirrorOf> | |
<name>JBoss Public Repository Group</name> | |
<url>http://repository.jboss.org/nexus/content/groups/public/</url> | |
</mirror> | |
<mirror> | |
<id>JBossJBPM</id> | |
<mirrorOf>central</mirrorOf> | |
<name>JBossJBPM Repository</name> | |
<url>https://repository.jboss.org/nexus/content/repositories/releases/</url> | |
</mirror> | |
</mirrors> | |
<profiles> | |
<profile> | |
<id>jdk1.8</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
<jdk>1.8</jdk> | |
</activation> | |
<properties> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> | |
</properties> | |
</profile> | |
</profiles> | |
</settings> |
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"?> | |
<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"> | |
<!-- <localRepository>D:\.m2\repository</localRepository> --> | |
<mirrors> | |
<!--阿里云 Maven 镜像服务器配置--> | |
<mirror> | |
<id>aliyun</id> | |
<name>aliyun Maven</name> | |
<mirrorOf>central</mirrorOf> | |
<!--<mirrorOf>*</mirrorOf>--> | |
<url>http://maven.aliyun.com/nexus/content/groups/public/</url> | |
</mirror> | |
</mirrors> | |
<profiles> | |
<profile> | |
<id>jdk1.8</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
<jdk>1.8</jdk> | |
</activation> | |
<properties> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> | |
</properties> | |
</profile> | |
</profiles> | |
</settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment