2021-08-26 14:14:22 +08:00
|
|
|
|
<?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"
|
2022-03-27 23:18:38 +08:00
|
|
|
|
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>
|
2021-08-26 14:14:22 +08:00
|
|
|
|
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-bom</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<packaging>pom</packaging>
|
2021-08-26 14:14:22 +08:00
|
|
|
|
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<name>pig-common-bom</name>
|
|
|
|
|
<url>pig cloud parent</url>
|
|
|
|
|
<description>pig cloud parent</description>
|
2021-08-26 14:14:22 +08:00
|
|
|
|
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<properties>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<!-- 项目版本号 -->
|
2024-07-16 12:20:47 +08:00
|
|
|
|
<revision>3.8.1</revision>
|
2024-07-19 04:32:35 +08:00
|
|
|
|
<spring-boot.version>3.3.2</spring-boot.version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2023-12-07 13:01:55 +08:00
|
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
2024-07-03 02:24:03 +08:00
|
|
|
|
<git.commit.plugin>9.0.1</git.commit.plugin>
|
2024-03-02 18:00:34 +08:00
|
|
|
|
<fastjson.version>1.2.83_noneautotype</fastjson.version>
|
2024-07-01 03:13:03 +08:00
|
|
|
|
<springdoc.version>2.6.0</springdoc.version>
|
2024-05-16 03:07:23 +08:00
|
|
|
|
<swagger.core.version>2.2.22</swagger.core.version>
|
2024-06-11 03:53:24 +08:00
|
|
|
|
<mybatis-plus.version>3.5.7</mybatis-plus.version>
|
2024-07-02 19:09:59 +08:00
|
|
|
|
<mysql.version>9.0.0</mysql.version>
|
2024-06-14 01:23:13 +08:00
|
|
|
|
<dynamic-ds.version>4.3.1</dynamic-ds.version>
|
2023-12-06 14:04:26 +08:00
|
|
|
|
<seata.version>1.7.0</seata.version>
|
2024-08-15 13:17:57 +08:00
|
|
|
|
<excel.version>3.3.0</excel.version>
|
2022-04-06 14:43:48 +08:00
|
|
|
|
<asm.version>7.1</asm.version>
|
2022-12-23 12:29:45 +08:00
|
|
|
|
<sms.version>3.0.0</sms.version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<jaxb.version>2.3.5</jaxb.version>
|
2023-10-22 13:51:31 +08:00
|
|
|
|
<shardingsphere.version>5.4.1</shardingsphere.version>
|
2024-08-12 19:41:51 +08:00
|
|
|
|
<hutool.version>5.8.31</hutool.version>
|
2022-06-02 09:12:33 +08:00
|
|
|
|
<sentinel.version>1.8.4</sentinel.version>
|
2024-08-14 01:43:58 +08:00
|
|
|
|
<spring.checkstyle.plugin>0.0.43</spring.checkstyle.plugin>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</properties>
|
2021-08-26 14:14:22 +08:00
|
|
|
|
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<!-- 定义全局jar版本,模块使用需要再次引入但不用写版本号-->
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-core</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-datasource</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-log</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-mybatis</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
2023-07-07 16:12:01 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-oss</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2023-07-07 16:12:01 +08:00
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-security</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-feign</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-swagger</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
2022-10-10 15:34:59 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-xss</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-10-10 15:34:59 +08:00
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-upms-api</artifactId>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2022-11-17 11:51:42 +08:00
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
2022-06-02 09:12:33 +08:00
|
|
|
|
<version>${mysql.version}</version>
|
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<!--springdoc -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springdoc</groupId>
|
2022-12-23 12:29:45 +08:00
|
|
|
|
<artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2024-04-04 21:35:19 +08:00
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<groupId>org.springdoc</groupId>
|
2022-12-23 12:29:45 +08:00
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2022-12-23 12:29:45 +08:00
|
|
|
|
<groupId>io.swagger.core.v3</groupId>
|
|
|
|
|
<artifactId>swagger-annotations-jakarta</artifactId>
|
|
|
|
|
<version>${swagger.core.version}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<!--fastjson 版本-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- excel 导入导出 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud.excel</groupId>
|
|
|
|
|
<artifactId>excel-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${excel.version}</version>
|
|
|
|
|
</dependency>
|
2023-08-15 22:39:08 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.shardingsphere</groupId>
|
|
|
|
|
<artifactId>shardingsphere-jdbc-core</artifactId>
|
|
|
|
|
<version>${shardingsphere.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 多数据源依赖 -->
|
2023-08-07 18:39:24 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
|
|
|
|
|
<version>${dynamic-ds.version}</version>
|
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<!-- 阿里云短信下发 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springboot.sms</groupId>
|
|
|
|
|
<artifactId>aliyun-sms-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${sms.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!--orm 相关-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
2024-01-03 13:41:47 +08:00
|
|
|
|
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
|
</dependency>
|
2022-04-08 14:15:00 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>mybatis-plus-extension</artifactId>
|
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
|
</dependency>
|
2022-04-09 20:45:42 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>mybatis-plus-annotation</artifactId>
|
|
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
|
|
</dependency>
|
2022-10-10 15:34:59 +08:00
|
|
|
|
<!--hutool bom 工具类-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-bom</artifactId>
|
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<!--web 模块-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<!--排除tomcat依赖-->
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
2021-08-26 14:22:43 +08:00
|
|
|
|
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<!--打包jar 与git commit 关联插件-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>io.github.git-commit-id</groupId>
|
|
|
|
|
<artifactId>git-commit-id-maven-plugin</artifactId>
|
|
|
|
|
<version>${git.commit.plugin}</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!--代码格式插件,默认使用spring 规则-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>io.spring.javaformat</groupId>
|
|
|
|
|
<artifactId>spring-javaformat-maven-plugin</artifactId>
|
|
|
|
|
<version>${spring.checkstyle.plugin}</version>
|
|
|
|
|
</plugin>
|
2024-01-28 21:02:51 +08:00
|
|
|
|
<!-- 统一 revision 版本 -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
|
<version>${flatten-maven-plugin.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
|
|
|
|
<updatePomFile>true</updatePomFile>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>flatten</id>
|
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>flatten</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>flatten.clean</id>
|
|
|
|
|
<phase>clean</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>clean</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2021-08-26 14:14:22 +08:00
|
|
|
|
</project>
|