|
@@ -1,382 +1,419 @@
|
|
|
<?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>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>apm-parent</artifactId>
|
|
|
- <version>v1.2.0-SNAPSHOT</version>
|
|
|
- <packaging>pom</packaging>
|
|
|
+<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>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>apm-parent</artifactId>
|
|
|
+ <version>v1.3.0-SNAPSHOT</version>
|
|
|
+ <packaging>pom</packaging>
|
|
|
|
|
|
- <repositories>
|
|
|
- <repository>
|
|
|
- <id>integrated</id>
|
|
|
- <name>releases Repository</name>
|
|
|
- <url>http://47.93.132.139:8081/nexus/content/repositories/integrated/</url>
|
|
|
- </repository>
|
|
|
- <repository>
|
|
|
- <id>Snapshots</id>
|
|
|
- <name>snapshot</name>
|
|
|
- <url>http://47.93.132.139:8081/nexus/content/repositories/snapshots/</url>
|
|
|
- </repository>
|
|
|
- <repository>
|
|
|
- <id>Releases</id>
|
|
|
- <name>persagy</name>
|
|
|
- <url>http://47.93.132.139:8081/nexus/content/repositories/persagy</url>
|
|
|
- </repository>
|
|
|
- </repositories>
|
|
|
+ <repositories>
|
|
|
+ <repository>
|
|
|
+ <id>integrated</id>
|
|
|
+ <name>releases Repository</name>
|
|
|
+ <url>http://47.93.132.139:8081/nexus/content/repositories/integrated/</url>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <id>Snapshots</id>
|
|
|
+ <name>snapshot</name>
|
|
|
+ <url>http://47.93.132.139:8081/nexus/content/repositories/snapshots/</url>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <id>Releases</id>
|
|
|
+ <name>persagy</name>
|
|
|
+ <url>http://47.93.132.139:8081/nexus/content/repositories/persagy</url>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <id>persagy2021-yushu-public</id>
|
|
|
+ <name>public</name>
|
|
|
+ <url>https://persagy2021-maven.pkg.coding.net/repository/yushu/public/</url>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+ <parent>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
+ <version>2.4.12</version>
|
|
|
+ <relativePath />
|
|
|
+ </parent>
|
|
|
+ <!-- 版本管理 -->
|
|
|
+ <properties>
|
|
|
+ <passcloud.version>1.0.8</passcloud.version>
|
|
|
+ <apm.version>v1.3.0-SNAPSHOT</apm.version>
|
|
|
+ <platform.version>1.0.0</platform.version>
|
|
|
+ <mybatis-plus.version>3.3.1</mybatis-plus.version>
|
|
|
+ <dynamic-datasource.version>3.3.2</dynamic-datasource.version>
|
|
|
+ <tomcat-jdbc.version>9.0.31</tomcat-jdbc.version>
|
|
|
+ <HikariCP.version>3.2.0</HikariCP.version>
|
|
|
+ <mysql.version>8.0.15</mysql.version>
|
|
|
+ <guava.version>27.0.1-jre</guava.version>
|
|
|
+ <spring.version>5.3.12</spring.version>
|
|
|
+ <spring-data.version>2.4.4</spring-data.version>
|
|
|
+ <mapstruct.version>1.2.0.Final</mapstruct.version>
|
|
|
+ <lang.version>2.5</lang.version>
|
|
|
+ <gson.version>2.8.6</gson.version>
|
|
|
+ <druid.version>1.1.22</druid.version>
|
|
|
+ <!-- Plugins -->
|
|
|
+ <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
|
|
+ <spring-boot-maven-plugin.version>2.4.3</spring-boot-maven-plugin.version>
|
|
|
+ <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
|
|
|
+ <maven-resources-plugin.version>3.0.2</maven-resources-plugin.version>
|
|
|
+ </properties>
|
|
|
|
|
|
- <parent>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>2.1.14.RELEASE</version>
|
|
|
- <relativePath/>
|
|
|
- </parent>
|
|
|
- <!-- 版本管理 -->
|
|
|
- <properties>
|
|
|
- <apm.version>v1.2.0-SNAPSHOT</apm.version>
|
|
|
- <platform.version>1.0.0</platform.version>
|
|
|
- <mybatis-plus.version>3.3.1</mybatis-plus.version>
|
|
|
- <dynamic-datasource.version>3.3.2</dynamic-datasource.version>
|
|
|
- <tomcat-jdbc.version>9.0.31</tomcat-jdbc.version>
|
|
|
- <HikariCP.version>3.2.0</HikariCP.version>
|
|
|
- <mysql.version>8.0.15</mysql.version>
|
|
|
- <guava.version>27.0.1-jre</guava.version>
|
|
|
- <spring.version>5.1.15.RELEASE</spring.version>
|
|
|
- <spring-data.version>2.1.17.RELEASE</spring-data.version>
|
|
|
- <spring-data-jpa.version>2.0.11.RELEASE</spring-data-jpa.version>
|
|
|
- <mapstruct.version>1.2.0.Final</mapstruct.version>
|
|
|
- <lang.version>2.5</lang.version>
|
|
|
- <gson.version>2.8.6</gson.version>
|
|
|
- <druid.version>1.1.22</druid.version>
|
|
|
- <!-- Plugins -->
|
|
|
- <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
|
|
- <spring-boot-maven-plugin.version>2.4.3</spring-boot-maven-plugin.version>
|
|
|
- <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
|
|
|
- <maven-resources-plugin.version>3.0.2</maven-resources-plugin.version>
|
|
|
- </properties>
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>starter-cloud</artifactId>
|
|
|
+ <version>${passcloud.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>starter-web</artifactId>
|
|
|
+ <version>${passcloud.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>starter-redis</artifactId>
|
|
|
+ <version>${passcloud.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>starter-databases</artifactId>
|
|
|
+ <version>${passcloud.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>starter-excel</artifactId>
|
|
|
+ <version>${passcloud.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>starter-redis</artifactId>
|
|
|
+ <version>${passcloud.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>starter-rabbitmq</artifactId>
|
|
|
+ <version>${passcloud.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>apm-server</artifactId>
|
|
|
+ <version>${apm.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>apm-common</artifactId>
|
|
|
+ <version>${apm.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>apm-mybatis</artifactId>
|
|
|
+ <version>${apm.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>apm-translate</artifactId>
|
|
|
+ <version>${apm.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>integrated-common-core</artifactId>
|
|
|
+ <version>${platform.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>integrated-common-security</artifactId>
|
|
|
+ <version>${platform.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>integrated-log-spring-boot-starter</artifactId>
|
|
|
+ <version>${platform.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>integrated-ribbon-spring-boot-starter</artifactId>
|
|
|
+ <version>${platform.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>integrated-swagger2-spring-boot-starter</artifactId>
|
|
|
+ <version>${platform.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>integrated-redis-spring-boot-starter</artifactId>
|
|
|
+ <version>${platform.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.persagy</groupId>
|
|
|
+ <artifactId>integrated-config-client</artifactId>
|
|
|
+ <version>${platform.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- mybatis plus -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
+ <version>${mybatis-plus.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
+ <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
+ <version>${dynamic-datasource.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- mapstruct 优雅的进行bean与dto的转换 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mapstruct</groupId>
|
|
|
+ <artifactId>mapstruct-jdk8</artifactId>
|
|
|
+ <version>${mapstruct.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mapstruct</groupId>
|
|
|
+ <artifactId>mapstruct-processor</artifactId>
|
|
|
+ <version>${mapstruct.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- alibaba druid -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
+ <version>${druid.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 以下是数据库连接池版本管理,建议使用provided方式引入-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.tomcat</groupId>
|
|
|
+ <artifactId>tomcat-jdbc</artifactId>
|
|
|
+ <version>${tomcat-jdbc.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.zaxxer</groupId>
|
|
|
+ <artifactId>HikariCP</artifactId>
|
|
|
+ <version>${HikariCP.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 以下是数据库driver版本管理,建议使用provided方式引入 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>${mysql.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 以下是commons工具版本管理 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.guava</groupId>
|
|
|
+ <artifactId>guava</artifactId>
|
|
|
+ <version>${guava.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 以下是spring版本管理 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-context</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-web</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-tx</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-aop</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-test</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-beans</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-webmvc</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-context-support</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-core</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-expression</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-jcl</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-jdbc</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-messaging</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-oxm</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-webflux</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 以下是spring data版本管理 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.data</groupId>
|
|
|
+ <artifactId>spring-data-commons</artifactId>
|
|
|
+ <version>${spring-data.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.data</groupId>
|
|
|
+ <artifactId>spring-data-redis</artifactId>
|
|
|
+ <version>${spring-data.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.data</groupId>
|
|
|
+ <artifactId>spring-data-jpa</artifactId>
|
|
|
+ <version>${spring-data.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-lang</groupId>
|
|
|
+ <artifactId>commons-lang</artifactId>
|
|
|
+ <version>${lang.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- gson json,java对象互转 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.code.gson</groupId>
|
|
|
+ <artifactId>gson</artifactId>
|
|
|
+ <version>${gson.version}</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
|
|
|
- <dependencyManagement>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>apm-server</artifactId>
|
|
|
- <version>${apm.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>apm-common</artifactId>
|
|
|
- <version>${apm.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>apm-mybatis</artifactId>
|
|
|
- <version>${apm.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>apm-translate</artifactId>
|
|
|
- <version>${apm.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>integrated-common-core</artifactId>
|
|
|
- <version>${platform.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>integrated-common-security</artifactId>
|
|
|
- <version>${platform.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>integrated-log-spring-boot-starter</artifactId>
|
|
|
- <version>${platform.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>integrated-ribbon-spring-boot-starter</artifactId>
|
|
|
- <version>${platform.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>integrated-swagger2-spring-boot-starter</artifactId>
|
|
|
- <version>${platform.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>integrated-redis-spring-boot-starter</artifactId>
|
|
|
- <version>${platform.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.persagy</groupId>
|
|
|
- <artifactId>integrated-config-client</artifactId>
|
|
|
- <version>${platform.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- mybatis plus -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.baomidou</groupId>
|
|
|
- <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
- <version>${mybatis-plus.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.baomidou</groupId>
|
|
|
- <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
- <version>${dynamic-datasource.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- mapstruct 优雅的进行bean与dto的转换 -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.mapstruct</groupId>
|
|
|
- <artifactId>mapstruct-jdk8</artifactId>
|
|
|
- <version>${mapstruct.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.mapstruct</groupId>
|
|
|
- <artifactId>mapstruct-processor</artifactId>
|
|
|
- <version>${mapstruct.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- alibaba druid -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>druid-spring-boot-starter</artifactId>
|
|
|
- <version>${druid.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- 以下是数据库连接池版本管理,建议使用provided方式引入-->
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.tomcat</groupId>
|
|
|
- <artifactId>tomcat-jdbc</artifactId>
|
|
|
- <version>${tomcat-jdbc.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.zaxxer</groupId>
|
|
|
- <artifactId>HikariCP</artifactId>
|
|
|
- <version>${HikariCP.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- 以下是数据库driver版本管理,建议使用provided方式引入 -->
|
|
|
- <dependency>
|
|
|
- <groupId>mysql</groupId>
|
|
|
- <artifactId>mysql-connector-java</artifactId>
|
|
|
- <version>${mysql.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- 以下是commons工具版本管理 -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.google.guava</groupId>
|
|
|
- <artifactId>guava</artifactId>
|
|
|
- <version>${guava.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- 以下是spring版本管理 -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-context</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-web</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-tx</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-aop</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-test</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-beans</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-webmvc</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-context-support</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-core</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-expression</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-jcl</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-jdbc</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-messaging</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-oxm</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-webflux</artifactId>
|
|
|
- <version>${spring.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- 以下是spring data版本管理 -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.data</groupId>
|
|
|
- <artifactId>spring-data-commons</artifactId>
|
|
|
- <version>${spring-data.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.data</groupId>
|
|
|
- <artifactId>spring-data-redis</artifactId>
|
|
|
- <version>${spring-data.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.data</groupId>
|
|
|
- <artifactId>spring-data-jpa</artifactId>
|
|
|
- <version>${spring-data-jpa.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>commons-lang</groupId>
|
|
|
- <artifactId>commons-lang</artifactId>
|
|
|
- <version>${lang.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- gson json,java对象互转 -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.google.code.gson</groupId>
|
|
|
- <artifactId>gson</artifactId>
|
|
|
- <version>${gson.version}</version>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- </dependencyManagement>
|
|
|
+ <!-- 插件配置 -->
|
|
|
+ <build>
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <!-- compiler插件, 设定JDK版本 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>${maven-compiler-plugin.version}</version>
|
|
|
+ <configuration>
|
|
|
+ <source>${java.version}</source>
|
|
|
+ <target>${java.version}</target>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <skip>true</skip>
|
|
|
+ <showWarnings>true</showWarnings>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>${spring-boot-maven-plugin.version}</version>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <version>${maven-source-plugin.version}</version>
|
|
|
+ <configuration>
|
|
|
+ <attach>true</attach>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>compile</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <!-- resource插件 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
+ <version>${maven-resources-plugin.version}</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>copy-resources</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-resources</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources/</directory>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.yml</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>${project.build.directory}</directory>
|
|
|
+ <includes>
|
|
|
+ <include>**/version.txt</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <outputDirectory>${project.build.directory}/config</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ <!--拷贝启动脚本-->
|
|
|
+ <execution>
|
|
|
+ <id>copy-version</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-resources</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/script</directory>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
|
|
|
- <!-- 插件配置 -->
|
|
|
- <build>
|
|
|
- <finalName>${project.artifactId}</finalName>
|
|
|
- <pluginManagement>
|
|
|
- <plugins>
|
|
|
- <!-- compiler插件, 设定JDK版本 -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>${maven-compiler-plugin.version}</version>
|
|
|
- <configuration>
|
|
|
- <source>${java.version}</source>
|
|
|
- <target>${java.version}</target>
|
|
|
- <encoding>UTF-8</encoding>
|
|
|
- <skip>true</skip>
|
|
|
- <showWarnings>true</showWarnings>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- <version>${spring-boot-maven-plugin.version}</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-source-plugin</artifactId>
|
|
|
- <version>${maven-source-plugin.version}</version>
|
|
|
- <configuration>
|
|
|
- <attach>true</attach>
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <phase>compile</phase>
|
|
|
- <goals>
|
|
|
- <goal>jar</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <!-- resource插件 -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-resources-plugin</artifactId>
|
|
|
- <version>${maven-resources-plugin.version}</version>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>copy-resources</id>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>copy-resources</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>src/main/resources/</directory>
|
|
|
- <includes>
|
|
|
- <include>**/*.yml</include>
|
|
|
- </includes>
|
|
|
- </resource>
|
|
|
- <resource>
|
|
|
- <directory>${project.build.directory}</directory>
|
|
|
- <includes>
|
|
|
- <include>**/version.txt</include>
|
|
|
- </includes>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
- <outputDirectory>${project.build.directory}/config</outputDirectory>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- <!--拷贝启动脚本-->
|
|
|
- <execution>
|
|
|
- <id>copy-version</id>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>copy-resources</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>src/script</directory>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
- <outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </pluginManagement>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-source-plugin</artifactId>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
-
|
|
|
- <distributionManagement>
|
|
|
- <snapshotRepository>
|
|
|
- <id>Snapshots</id>
|
|
|
- <name>apm-basics</name>
|
|
|
- <url>http://47.93.132.139:8081/nexus/content/repositories/snapshots/</url>
|
|
|
- </snapshotRepository>
|
|
|
- <repository>
|
|
|
- <id>Releases</id>
|
|
|
- <name>apm-basics</name>
|
|
|
- <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
|
|
|
- </repository>
|
|
|
- </distributionManagement>
|
|
|
+ <distributionManagement>
|
|
|
+ <snapshotRepository>
|
|
|
+ <id>Snapshots</id>
|
|
|
+ <name>apm-basics</name>
|
|
|
+ <url>http://47.93.132.139:8081/nexus/content/repositories/snapshots/</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ <repository>
|
|
|
+ <id>Releases</id>
|
|
|
+ <name>apm-basics</name>
|
|
|
+ <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
|
|
|
+ </repository>
|
|
|
+ </distributionManagement>
|
|
|
</project>
|