settings.xml

时间:2022-05-08 22:49:43
<settings>
<!--本地仓库。该值表示构建系统本地仓库的路径。其默认值为~/.m2/repository,windows:C:/Users/Administrator/.m2/repository。 -->
<localRepository>C:/Users/Administrator/.m2/repository</localRepository>
<mirrors> <mirror>
<id>maven</id>
<url>http://repo1.maven.org/maven2/</url>
<mirrorOf>*</mirrorOf>
</mirror>
<!--
<mirror>
<id>nexus</id>
<url>http://10.4.237.3:8081/nexus/content/groups/public/</url>
<mirrorOf>*</mirrorOf>
</mirror> -->
</mirrors> <repositories>
<repository>
<id>central</id>
<name>Maven central Repository</name>
<layout>default</layout>
<url>http://repo1.maven.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories> <profiles>
<profile>
<id>dev</id>
<repositories>
<repository>
<id>nexus</id>
<url>http://10.4.237.3:8081/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>nexus</id>
<url>http://10.4.237.3:8081/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles> <activeProfiles>
<activeProfile>dev</activeProfile>
</activeProfiles> <servers>
<server>
<username>cntaiping</username>
<password>cntaiping</password>
<id>cntaiping</id>
</server>
</servers>
</settings>