<?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
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository -->
<localRepository>E:/maven/response</localRepository>
<!--pluginGroups>
</pluginGroups-->
<!--proxies>
</proxies-->
<servers>
<server>
<id>nexus-releases</id>
<username>admin</username>
<password>nexusadmin</password>
</server>
<server>
<id>nexus-snapshots</id>
<username>admin</username>
<password>nexusadmin</password>
</server>
</servers>
<pluginRepositories>
<pluginRepository>
<id>mypublic</id>
<name>Public Repositories</name>
<url>http://192.168.1.199:8081/nexus/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
<mirrors>
<mirror>
<id>central</id>
<name>internal nexus repository</name>
<url>http://192.168.1.199:8081/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<!--Enable snapshots for the built in central repo to direct -->
<!--all requests to nexus via the mirror -->
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<!--make the profile active all the time -->
<activeProfile>nexus</activeProfile>
</activeProfiles>
</settings>
网友评论