<?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.iailab</groupId>
|
<artifactId>iailab-xmc-pms</artifactId>
|
<version>${revision}</version>
|
<packaging>pom</packaging>
|
<description>
|
快速开发框架,默认基础system,data,model
|
</description>
|
<modules>
|
<!-- <module>iailab-xmc-pms-api</module>-->
|
<module>iailab-xmc-pms-biz</module>
|
</modules>
|
|
<properties>
|
|
<revision>0.0.1</revision>
|
<!-- Maven 相关 -->
|
<java.version>1.8</java.version>
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
|
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
|
<!-- 统一依赖管理 -->
|
<spring.framework.version>5.3.39</spring.framework.version>
|
<spring.security.version>5.8.14</spring.security.version>
|
<spring.boot.version>2.7.18</spring.boot.version>
|
<spring.cloud.version>2021.0.9</spring.cloud.version>
|
<spring.cloud.alibaba.version>2021.0.6.1</spring.cloud.alibaba.version>
|
<!-- Web 相关 -->
|
<servlet.version>2.5</servlet.version>
|
<springdoc.version>1.7.0</springdoc.version>
|
<knife4j.version>4.5.0</knife4j.version>
|
<!-- DB 相关 -->
|
<druid.version>1.2.23</druid.version>
|
<mybatis.version>3.5.16</mybatis.version>
|
<mybatis-plus.version>3.5.7</mybatis-plus.version>
|
<mybatis-plus-generator.version>3.5.7</mybatis-plus-generator.version>
|
<dynamic-datasource.version>4.3.1</dynamic-datasource.version>
|
<mybatis-plus-join.version>1.4.13</mybatis-plus-join.version>
|
<easy-trans.version>3.0.5</easy-trans.version>
|
<redisson.version>3.18.0</redisson.version> <!-- Spring Boot 2.X 最多使用 3.18.0 版本,否则会报 Tuple NoClassDefFoundError -->
|
<dm8.jdbc.version>8.1.3.62</dm8.jdbc.version>
|
<!-- 消息队列 -->
|
<rocketmq-spring.version>2.3.0</rocketmq-spring.version>
|
<!-- RPC 相关 -->
|
<!-- Config 配置中心相关 -->
|
<apollo.version>1.9.2</apollo.version>
|
<!-- Job 定时任务相关 -->
|
<xxl-job.version>2.4.0</xxl-job.version>
|
<!-- 服务保障相关 -->
|
<lock4j.version>2.2.7</lock4j.version>
|
<!-- 监控相关 -->
|
<skywalking.version>8.12.0</skywalking.version>
|
<spring-boot-admin.version>2.7.15</spring-boot-admin.version>
|
<opentracing.version>0.33.0</opentracing.version>
|
<!-- Test 测试相关 -->
|
<podam.version>7.2.11.RELEASE</podam.version> <!-- Spring Boot 2.X 最多使用 7.2.11 版本 -->
|
<jedis-mock.version>1.0.13</jedis-mock.version>
|
<mockito-inline.version>4.11.0</mockito-inline.version>
|
<!-- Bpm 工作流相关 -->
|
<flowable.version>6.8.0</flowable.version>
|
<!-- 工具类相关 -->
|
<captcha-plus.version>1.0.8</captcha-plus.version>
|
<jsoup.version>1.18.1</jsoup.version>
|
<lombok.version>1.18.34</lombok.version>
|
<mapstruct.version>1.5.5.Final</mapstruct.version>
|
<hutool.version>5.8.29</hutool.version>
|
<joda.time.version>2.10.14</joda.time.version>
|
<easyexcel.verion>3.3.4</easyexcel.verion>
|
<velocity.version>2.3</velocity.version>
|
<!-- <screw.version>1.0.5</screw.version>-->
|
<fastjson.version>1.2.83</fastjson.version>
|
<guava.version>33.2.1-jre</guava.version>
|
<!-- <guice.version>5.1.0</guice.version>-->
|
<transmittable-thread-local.version>2.14.5</transmittable-thread-local.version>
|
<commons-net.version>3.11.1</commons-net.version>
|
<jsch.version>0.1.55</jsch.version>
|
<tika-core.version>2.9.2</tika-core.version>
|
<ip2region.version>2.7.0</ip2region.version>
|
<bizlog-sdk.version>3.0.6</bizlog-sdk.version>
|
<reflections.version>0.10.2</reflections.version>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
</properties>
|
|
<dependencyManagement>
|
<dependencies>
|
<!-- 统一依赖管理 -->
|
<dependency>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-framework-bom</artifactId> <!-- JDK8 版本独有:保证 Spring Framework 尽量高 -->
|
<version>${spring.framework.version}</version>
|
<type>pom</type>
|
<scope>import</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.security</groupId>
|
<artifactId>spring-security-bom</artifactId> <!-- JDK8 版本独有:保证 Spring Security 尽量高 -->
|
<version>${spring.security.version}</version>
|
<type>pom</type>
|
<scope>import</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-dependencies</artifactId>
|
<version>${spring.boot.version}</version>
|
<type>pom</type>
|
<scope>import</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.cloud</groupId>
|
<artifactId>spring-cloud-dependencies</artifactId>
|
<version>${spring.cloud.version}</version>
|
<type>pom</type>
|
<scope>import</scope>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba.cloud</groupId>
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
<version>${spring.cloud.alibaba.version}</version>
|
<type>pom</type>
|
<scope>import</scope>
|
</dependency>
|
|
<!-- 业务组件 -->
|
<dependency>
|
<groupId>io.github.mouzt</groupId>
|
<artifactId>bizlog-sdk</artifactId>
|
<version>${bizlog-sdk.version}</version>
|
<exclusions>
|
<exclusion> <!-- 排除掉springboot依赖使用项目的 -->
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-biz-tenant</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-biz-data-permission</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-biz-ip</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<!-- Spring 核心 -->
|
<dependency>
|
<!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
<version>${spring.boot.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-env</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<!-- Web 相关 -->
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-web</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-security</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-websocket</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springdoc</groupId> <!-- 接口文档 UI:默认 -->
|
<artifactId>springdoc-openapi-ui</artifactId>
|
<version>${springdoc.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j -->
|
<artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
|
<version>${knife4j.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j【网关专属】 -->
|
<artifactId>knife4j-gateway-spring-boot-starter</artifactId>
|
<version>${knife4j.version}</version>
|
</dependency>
|
|
<!-- DB 相关 -->
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-mybatis</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springdoc</groupId>
|
<artifactId>springdoc-openapi-webflux-ui</artifactId>
|
<version>${springdoc.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
<version>${druid.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<version>${mybatis-plus.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
|
<version>${mybatis-plus-generator.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
|
<version>${dynamic-datasource.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.github.yulichang</groupId>
|
<artifactId>mybatis-plus-join-boot-starter</artifactId> <!-- MyBatis 联表查询 -->
|
<version>${mybatis-plus-join.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-redis</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.fhs-opensource</groupId> <!-- VO 数据翻译 -->
|
<artifactId>easy-trans-spring-boot-starter</artifactId>
|
<version>${easy-trans.version}</version>
|
<exclusions>
|
<exclusion>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-context</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework.cloud</groupId>
|
<artifactId>spring-cloud-commons</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>com.fhs-opensource</groupId>
|
<artifactId>easy-trans-mybatis-plus-extend</artifactId>
|
<version>${easy-trans.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.fhs-opensource</groupId>
|
<artifactId>easy-trans-anno</artifactId>
|
<version>${easy-trans.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.redisson</groupId>
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
<version>${redisson.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.dameng</groupId>
|
<artifactId>DmJdbcDriver18</artifactId>
|
<version>${dm8.jdbc.version}</version>
|
</dependency>
|
|
<!-- RPC 远程调用相关 -->
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-rpc</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>lock4j-redisson-spring-boot-starter</artifactId>
|
<version>${lock4j.version}</version>
|
<exclusions>
|
<exclusion>
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
<groupId>org.redisson</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<!-- 监控相关 -->
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-monitor</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<!-- Test 测试相关 -->
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-test</artifactId>
|
<version>${revision}</version>
|
<scope>test</scope>
|
</dependency>
|
|
<!-- 工具类相关 -->
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.iailab</groupId>
|
<artifactId>iailab-common-excel</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<version>${lombok.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.mapstruct</groupId>
|
<artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
|
<version>${mapstruct.version}</version>
|
</dependency>
|
<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>
|
|
<dependency>
|
<groupId>cn.hutool</groupId>
|
<artifactId>hutool-all</artifactId>
|
<version>${hutool.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>joda-time</groupId>
|
<artifactId>joda-time</artifactId>
|
<version>${joda.time.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>easyexcel</artifactId>
|
<version>${easyexcel.verion}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.tika</groupId>
|
<artifactId>tika-core</artifactId> <!-- 文件类型的识别 -->
|
<version>${tika-core.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.velocity</groupId>
|
<artifactId>velocity-engine-core</artifactId>
|
<version>${velocity.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>${fastjson.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>cn.smallbun.screw</groupId>
|
<artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
|
<version>${screw.version}</version>
|
<exclusions>
|
<exclusion>
|
<groupId>org.freemarker</groupId>
|
<artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
|
</exclusion>
|
<exclusion>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId> <!-- 最新版screw-core1.0.5依赖fastjson1.2.73存在漏洞,移除。 -->
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<dependency>
|
<groupId>com.google.guava</groupId>
|
<artifactId>guava</artifactId>
|
<version>${guava.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.google.inject</groupId>
|
<artifactId>guice</artifactId>
|
<version>${guice.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
|
<version>${transmittable-thread-local.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>commons-net</groupId>
|
<artifactId>commons-net</artifactId> <!-- 解决 ftp 连接 -->
|
<version>${commons-net.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>com.jcraft</groupId>
|
<artifactId>jsch</artifactId> <!-- 解决 sftp 连接 -->
|
<version>${jsch.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.xingyuv</groupId>
|
<artifactId>spring-boot-starter-captcha-plus</artifactId>
|
<version>${captcha-plus.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.lionsoul</groupId>
|
<artifactId>ip2region</artifactId>
|
<version>${ip2region.version}</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.jsoup</groupId>
|
<artifactId>jsoup</artifactId>
|
<version>${jsoup.version}</version>
|
</dependency>
|
|
</dependencies>
|
</dependencyManagement>
|
|
<build>
|
<!-- 设置构建的 jar 包名 -->
|
<finalName>${project.artifactId}</finalName>
|
<plugins>
|
<!-- 打包 -->
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<version>${spring.boot.version}</version>
|
<executions>
|
<execution>
|
<goals>
|
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
</plugins>
|
</build>
|
|
|
</project>
|