maven私服客户端配置

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
 3           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 4           xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
 5     <localRepository>D:\DataCenter\MavenRepository</localRepository>
 6   <pluginGroups>
 7   </pluginGroups>
 8   <proxies>
 9   </proxies>
10   <servers>
11   </servers>
12   <mirrors>
13   </mirrors>
14   <profiles>
15     <profile>
16         <id>teamRepository</id>
17         <activation>
18             <activeByDefault>true</activeByDefault>
19             <jdk>1.8</jdk>
20         </activation>
21         <properties> 
22             <maven.compiler.source>1.8</maven.compiler.source> 
23             <maven.compiler.target>1.8</maven.compiler.target> 
24             <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> 
25         </properties>
26         <repositories>
27             <repository>
28                 <id>nexus</id>
29                 <name>nexus</name>
30                 <url>http://xieqq2:8081/nexus/content/groups/public/</url>
31                 <releases><enabled>true</enabled></releases>
32                 <snapshots><enabled>true</enabled></snapshots>
33             </repository>
34         </repositories>
35     </profile>
36   </profiles>
37   <activeProfiles>
38     <activeProfile>teamRepository</activeProfile>
39   </activeProfiles>
40 </settings>

 

posted @ 2018-07-13 14:19  光何  阅读(601)  评论(0编辑  收藏  举报