|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
|
<version>2.1.3.RELEASE</version>
|
|
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<groupId>com.springcloud</groupId>
|
|
|
|
|
|
<artifactId>utils</artifactId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
<name>utils</name>
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
<description>Demo project for Spring Boot</description>
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
|
<spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
|
|
<module>cloud-util</module>
|
|
|
|
|
|
<module>dto</module>
|
|
|
|
|
|
<module>guava-utils</module>
|
|
|
|
|
|
<module>jpa</module>
|
|
|
|
|
|
<module>model</module>
|
|
|
|
|
|
<module>okhttp3util</module>
|
|
|
|
|
|
<module>spring-util</module>
|
|
|
|
|
|
<module>test</module>
|
|
|
|
|
|
<module>test2</module>
|
|
|
|
|
|
<module>util</module>
|
|
|
|
|
|
<module>web</module>
|
|
|
|
|
|
<module>web-service-util</module>
|
|
|
|
|
|
</modules>
|
|
|
|
|
|
<!--项目部署和发布的话需要配置: 在pom.xml中添加 distributionManagement 配置-->
|
|
|
|
|
|
<!-- maven仓库配置 deploy时可推送到配置的仓库中 -->
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
|
<repository>
|
|
|
|
|
|
<id>maven-releases</id>
|
|
|
|
|
|
<name>Nexus Releases Repository Pro</name>
|
|
|
|
|
|
<url>http://47.242.184.139:8081/repository/maven-releases/</url>
|
|
|
|
|
|
</repository>
|
|
|
|
|
|
<snapshotRepository>
|
|
|
|
|
|
<id>maven-snapshots</id>
|
|
|
|
|
|
<name>Nexus Snapshots Repository Pro</name>
|
|
|
|
|
|
<url>http://47.242.184.139:8081/repository/maven-snapshots/</url>
|
|
|
|
|
|
</snapshotRepository>
|
|
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
<!--在项目中使用pom.xml进行下载依赖配置的话可以单独使用:
|
|
|
|
|
|
注意:项目中使用的maven,如果已经在settings.xml中配置过后就无需在配置此项-->
|
|
|
|
|
|
<repositories>
|
|
|
|
|
|
<repository>
|
|
|
|
|
|
<id>repository</id>
|
|
|
|
|
|
<url>http://47.242.184.139:8081/repository/maven-public/</url>
|
|
|
|
|
|
<releases>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</releases>
|
|
|
|
|
|
<snapshots>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</snapshots>
|
|
|
|
|
|
</repository>
|
|
|
|
|
|
</repositories>
|
|
|
|
|
|
<pluginRepositories>
|
|
|
|
|
|
<pluginRepository>
|
|
|
|
|
|
<id>central</id>
|
|
|
|
|
|
<url>http://47.242.184.139:8081/repository/maven-central/</url>
|
|
|
|
|
|
<releases>
|
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
|
</releases>
|
|
|
|
|
|
<snapshots>
|
|
|
|
|
|
<enabled>false</enabled>
|
|
|
|
|
|
</snapshots>
|
|
|
|
|
|
</pluginRepository>
|
|
|
|
|
|
</pluginRepositories>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|