赞
踩
- 配置本地mavend的conf setting.xml文件
- <servers>
- <!--发行稳定库-->
- <server>
- <id>maven-release</id>
- <username>admin</username>
- <password>admin</password>
- </server>
-
- <!--快照开发库-->
- <server>
- <id>maven-snapshots</id>
- <username>admin</username>
- <password>admin</password>
- </server>
- </servers>
-
- <!--私服组地址(这里阿里的)-->
- <mirrors>
- <mirror>
- <id>nexus-aliyun</id>
- <name>Nexus aliyun</name>
- <mirrorOf>central</mirrorOf>
- <url>https://maven.aliyun.com/repository/public</url>
- </mirror>
- </mirrors>
-
- <settings>
- <profile>
- <id>allow-snapshots</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <repositories>
- <repository>
- <id>nexus-aliyun</id>
- <url>https://maven.aliyun.com/repository/public</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- </profile>
- </settings>
-
-
pom文件
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。