|
@@ -218,29 +218,68 @@
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
+ <!-- <repositories>-->
|
|
|
+ <!-- <repository>-->
|
|
|
+ <!-- <id>public</id>-->
|
|
|
+ <!-- <name>aliyun nexus</name>-->
|
|
|
+ <!-- <url>https://maven.aliyun.com/repository/public</url>-->
|
|
|
+ <!-- <releases>-->
|
|
|
+ <!-- <enabled>true</enabled>-->
|
|
|
+ <!-- </releases>-->
|
|
|
+ <!-- </repository>-->
|
|
|
+ <!-- </repositories>-->
|
|
|
+
|
|
|
+ <!-- <pluginRepositories>-->
|
|
|
+ <!-- <pluginRepository>-->
|
|
|
+ <!-- <id>public</id>-->
|
|
|
+ <!-- <name>aliyun nexus</name>-->
|
|
|
+ <!-- <url>https://maven.aliyun.com/repository/public</url>-->
|
|
|
+ <!-- <releases>-->
|
|
|
+ <!-- <enabled>true</enabled>-->
|
|
|
+ <!-- </releases>-->
|
|
|
+ <!-- <snapshots>-->
|
|
|
+ <!-- <enabled>false</enabled>-->
|
|
|
+ <!-- </snapshots>-->
|
|
|
+ <!-- </pluginRepository>-->
|
|
|
+ <!-- </pluginRepositories>-->
|
|
|
+
|
|
|
<repositories>
|
|
|
<repository>
|
|
|
- <id>public</id>
|
|
|
- <name>aliyun nexus</name>
|
|
|
- <url>https://maven.aliyun.com/repository/public</url>
|
|
|
+ <id>custom_group</id>
|
|
|
+ <name>Nexus Repository</name>
|
|
|
+ <url>http://124.71.171.71:18881/repository/custom_group/</url>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </snapshots>
|
|
|
<releases>
|
|
|
<enabled>true</enabled>
|
|
|
</releases>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
-
|
|
|
<pluginRepositories>
|
|
|
<pluginRepository>
|
|
|
- <id>public</id>
|
|
|
- <name>aliyun nexus</name>
|
|
|
- <url>https://maven.aliyun.com/repository/public</url>
|
|
|
+ <id>custom_group</id>
|
|
|
+ <name>Nexus Plugin Repository</name>
|
|
|
+ <url>http://124.71.171.71:18881/repository/custom_group/</url>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </snapshots>
|
|
|
<releases>
|
|
|
<enabled>true</enabled>
|
|
|
</releases>
|
|
|
- <snapshots>
|
|
|
- <enabled>false</enabled>
|
|
|
- </snapshots>
|
|
|
</pluginRepository>
|
|
|
</pluginRepositories>
|
|
|
-
|
|
|
+ <!--项目分发信息,在执行mvn deploy后表示要发布的位置。有了这些信息就可以把网站部署到远程服务器或者把构件jar等部署到远程仓库。 -->
|
|
|
+ <distributionManagement>
|
|
|
+ <repository><!--部署项目产生的构件到远程仓库需要的信息 -->
|
|
|
+ <id>custom_releases</id><!-- 此处id和settings.xml的id保持一致 -->
|
|
|
+ <name>Nexus Release Repository</name>
|
|
|
+ <url>http://124.71.171.71:18881/repository/custom_releases/</url>
|
|
|
+ </repository>
|
|
|
+ <snapshotRepository><!--构件的快照部署到哪里?如果没有配置该元素,默认部署到repository元素配置的仓库,参见distributionManagement/repository元素 -->
|
|
|
+ <id>custom_snapshots</id><!-- 此处id和settings.xml的id保持一致 -->
|
|
|
+ <name>Nexus Snapshot Repository</name>
|
|
|
+ <url>http://124.71.171.71:18881/repository/custom_snapshots/</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ </distributionManagement>
|
|
|
</project>
|