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:39:35 +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:39:35 +08:00
|
|
|
|
<revision>3.7.4-JDK8</revision>
|
2024-01-06 15:21:29 +08:00
|
|
|
|
<spring-boot.version>2.7.18</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>
|
|
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
2022-05-25 22:27:44 +08:00
|
|
|
|
<fastjson.version>1.2.83</fastjson.version>
|
2024-04-07 12:50:25 +08:00
|
|
|
|
<springdoc.version>1.6.9</springdoc.version>
|
2022-04-11 10:54:42 +08:00
|
|
|
|
<swagger.core.version>2.2.0</swagger.core.version>
|
2023-12-25 19:23:17 +08:00
|
|
|
|
<mybatis-plus.version>3.5.5</mybatis-plus.version>
|
2024-01-28 20:25:43 +08:00
|
|
|
|
<dynamic-ds.version>4.3.0</dynamic-ds.version>
|
2023-05-12 15:53:26 +08:00
|
|
|
|
<mysql.version>8.0.33</mysql.version>
|
2023-04-04 10:28:06 +08:00
|
|
|
|
<seata.version>1.6.1</seata.version>
|
2022-09-20 21:03:54 +08:00
|
|
|
|
<excel.version>1.2.6</excel.version>
|
2022-04-06 14:43:48 +08:00
|
|
|
|
<asm.version>7.1</asm.version>
|
2023-08-17 21:45:14 +08:00
|
|
|
|
<aws.version>1.11.543</aws.version>
|
2022-05-18 14:17:02 +08:00
|
|
|
|
<oss.version>1.0.5</oss.version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<sms.version>2.0.2</sms.version>
|
|
|
|
|
<jaxb.version>2.3.5</jaxb.version>
|
2024-04-09 12:27:54 +08:00
|
|
|
|
<hutool.version>5.8.27</hutool.version>
|
2022-10-10 15:34:59 +08:00
|
|
|
|
<mica.version>2.7.4</mica.version>
|
2022-06-02 09:12:33 +08:00
|
|
|
|
<sentinel.version>1.8.4</sentinel.version>
|
2024-01-28 21:39:35 +08:00
|
|
|
|
<git.commit.plugin>4.9.9</git.commit.plugin>
|
|
|
|
|
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
|
|
|
|
|
<spring.checkstyle.plugin>0.0.39</spring.checkstyle.plugin>
|
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:39:35 +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:39:35 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-job</artifactId>
|
2024-01-28 21:39:35 +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:39:35 +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:39:35 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-security</artifactId>
|
2024-01-28 21:39:35 +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:39:35 +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:39:35 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
</dependency>
|
2022-03-30 08:46:33 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-seata</artifactId>
|
2024-01-28 21:39:35 +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:39:35 +08:00
|
|
|
|
<version>${revision}</version>
|
2022-10-10 15:34:59 +08:00
|
|
|
|
</dependency>
|
2023-08-17 21:45:14 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud</groupId>
|
|
|
|
|
<artifactId>pig-common-oss</artifactId>
|
2024-01-28 21:39:35 +08:00
|
|
|
|
<version>${revision}</version>
|
2023-08-17 21:45:14 +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:39:35 +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>
|
2023-09-06 15:25:02 +08:00
|
|
|
|
<dependency>
|
2024-04-09 12:27:54 +08:00
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
<artifactId>springdoc-openapi-ui</artifactId>
|
|
|
|
|
<version>${springdoc.version}</version>
|
2023-09-06 15:25:02 +08:00
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
<artifactId>springdoc-openapi-webmvc-core</artifactId>
|
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.swagger.core.v3</groupId>
|
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
|
|
<version>${swagger.core.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
<artifactId>springdoc-openapi-webflux-ui</artifactId>
|
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
<artifactId>springdoc-openapi-security</artifactId>
|
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
|
</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-17 21:45:14 +08:00
|
|
|
|
<!--动态数据源组件-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${dynamic-ds.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- S3 sdk -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.amazonaws</groupId>
|
|
|
|
|
<artifactId>aws-java-sdk-s3</artifactId>
|
|
|
|
|
<version>${aws.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>
|
2022-04-08 14:15:00 +08:00
|
|
|
|
<!--oss-->
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.pig4cloud.plugin</groupId>
|
|
|
|
|
<artifactId>oss-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${oss.version}</version>
|
|
|
|
|
</dependency>
|
2022-03-30 08:46:33 +08:00
|
|
|
|
<!-- seata kryo 序列化-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.seata</groupId>
|
|
|
|
|
<artifactId>seata-serializer-kryo</artifactId>
|
|
|
|
|
<version>${seata.version}</version>
|
|
|
|
|
</dependency>
|
2022-03-27 23:18:38 +08:00
|
|
|
|
<!--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>
|
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>
|
|
|
|
|
<!--mica bom 工具类-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.dreamlu</groupId>
|
|
|
|
|
<artifactId>mica-bom</artifactId>
|
|
|
|
|
<version>${mica.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>
|
2024-01-28 21:39:35 +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
|
|
|
|
<!--打包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>
|