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>
|
2023-12-07 13:04:09 +08:00
|
|
|
|
<version>3.7.2</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>
|
|
|
|
|
<pig.common.version>${project.version}</pig.common.version>
|
2023-12-24 20:24:06 +08:00
|
|
|
|
<spring-boot.version>3.2.1</spring-boot.version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<log4j2.version>2.17.1</log4j2.version>
|
2023-12-07 13:01:55 +08:00
|
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<git.commit.plugin>4.9.9</git.commit.plugin>
|
2023-07-19 11:39:45 +08:00
|
|
|
|
<spring.checkstyle.plugin>0.0.39</spring.checkstyle.plugin>
|
2022-05-25 22:27:44 +08:00
|
|
|
|
<fastjson.version>1.2.83</fastjson.version>
|
2023-09-06 14:20:02 +08:00
|
|
|
|
<knife4j.version>3.0.3</knife4j.version>
|
2023-07-08 00:42:41 +08:00
|
|
|
|
<springdoc.version>2.1.0</springdoc.version>
|
|
|
|
|
<swagger.core.version>2.2.14</swagger.core.version>
|
2023-10-22 16:42:39 +08:00
|
|
|
|
<mybatis-plus.version>3.5.4</mybatis-plus.version>
|
2023-12-06 14:06:52 +08:00
|
|
|
|
<mybatis-spring.version>3.0.3</mybatis-spring.version>
|
2023-05-26 15:46:52 +08:00
|
|
|
|
<mysql.version>8.0.33</mysql.version>
|
2023-10-24 12:52:56 +08:00
|
|
|
|
<dynamic-ds.version>4.2.0</dynamic-ds.version>
|
2023-12-06 14:04:26 +08:00
|
|
|
|
<seata.version>1.7.0</seata.version>
|
2023-07-07 16:12:01 +08:00
|
|
|
|
<excel.version>3.1.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>
|
2023-12-21 17:18:34 +08:00
|
|
|
|
<hutool.version>5.8.23</hutool.version>
|
2022-06-02 09:12:33 +08:00
|
|
|
|
<sentinel.version>1.8.4</sentinel.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>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-datasource</artifactId>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-log</artifactId>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-mybatis</artifactId>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</dependency>
|
2023-07-07 16:12:01 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-oss</artifactId>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-security</artifactId>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-feign</artifactId>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-swagger</artifactId>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</dependency>
|
2022-10-10 15:34:59 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-xss</artifactId>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-upms-api</artifactId>
|
|
|
|
|
<version>${pig.common.version}</version>
|
|
|
|
|
</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 -->
|
2023-09-06 14:20:02 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springboot</groupId>
|
|
|
|
|
<artifactId>knife4j-openapi3-ui</artifactId>
|
|
|
|
|
<version>${knife4j.version}</version>
|
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<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>
|
|
|
|
|
<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>
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
<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>
|
2023-12-06 14:06:52 +08:00
|
|
|
|
<dependency>
|
2023-12-07 13:01:55 +08:00
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
<artifactId>mybatis-spring</artifactId>
|
2023-12-06 14:06:52 +08:00
|
|
|
|
<version>${mybatis-spring.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>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2021-08-26 14:14:22 +08:00
|
|
|
|
</project>
|