123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424 |
- <?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.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>
- <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>
- <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-log</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>
- <!-- 插件配置 -->
- <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>
- </project>
|