**********************************maven本地仓库引入中央仓库方式***************************************************
<properties>
<maven.host>http://www.sonatype.org</maven.host>
</properties>
<!-- maven 私服 jar库 -->
<repositories>
<repository>
<id>upp_server</id>
<url>${maven.host}/nexus/content/repositories/public</url>
</repository>
</repositories>
<!-- maven 私服 插件库 -->
<pluginRepositories>
<pluginRepository>
<id>upp_server</id>
<url>${maven.host}/nexus/content/repositories/public</url>
</pluginRepository>
</pluginRepositories>
<!-- maven 私服 构建库 -->
<distributionManagement>
<repository>
<id>upp_releases</id>
<name>releases</name>
<url>${maven.host}/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>upp_snapshot</id>
<name>snapshots</name>
<url>${maven.host}/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<maven.host>http://www.sonatype.org</maven.host>
</properties>
<!-- maven 私服 jar库 -->
<repositories>
<repository>
<id>upp_server</id>
<url>${maven.host}/nexus/content/repositories/public</url>
</repository>
</repositories>
<!-- maven 私服 插件库 -->
<pluginRepositories>
<pluginRepository>
<id>upp_server</id>
<url>${maven.host}/nexus/content/repositories/public</url>
</pluginRepository>
</pluginRepositories>
<!-- maven 私服 构建库 -->
<distributionManagement>
<repository>
<id>upp_releases</id>
<name>releases</name>
<url>${maven.host}/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>upp_snapshot</id>
<name>snapshots</name>
<url>${maven.host}/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>