|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<groupId>com.cuit.basin</groupId>
|
|
|
<artifactId>basin-dependencies</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
<name>basin-dependencies</name>
|
|
|
<description>云服务基础BOM文件,管理整个项目的依赖版本</description>
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
<!--在 <properties>标签里定义依赖版本-->
|
|
|
<properties>
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
<java.version>1.8</java.version>
|
|
|
<!-- 统一依赖管理 -->
|
|
|
<spring.boot.version>2.6.13</spring.boot.version>
|
|
|
<spring.cloud.version>2021.0.1</spring.cloud.version>
|
|
|
<spring.cloud.alibaba.version>2021.0.1.0</spring.cloud.alibaba.version>
|
|
|
<!-- Web 相关 -->
|
|
|
<knife4j.version>3.0.3</knife4j.version>
|
|
|
<swagger-annotations.version>1.6.7</swagger-annotations.version>
|
|
|
<!-- DB 相关 -->
|
|
|
<druid.version>1.2.14</druid.version>
|
|
|
<mybatis-plus.version>3.5.2</mybatis-plus.version>
|
|
|
<mybatis-plus-generator.version>3.5.2</mybatis-plus-generator.version>
|
|
|
<mybatis-plus-extention.version>3.5.2</mybatis-plus-extention.version>
|
|
|
<mybatis-plus-join.version>1.1.3</mybatis-plus-join.version>
|
|
|
<jeffreyning-mybatis-plus.version>1.7.0-RELEASE</jeffreyning-mybatis-plus.version>
|
|
|
<!-- RPC 相关 -->
|
|
|
<dubbo.version>2.7.15</dubbo.version>
|
|
|
<!-- 工具类相关 -->
|
|
|
<lombok.version>1.18.24</lombok.version>
|
|
|
<mapstruct.version>1.5.3.Final</mapstruct.version>
|
|
|
<hutool.version>5.8.9</hutool.version>
|
|
|
<easyexcel.verion>3.1.2</easyexcel.verion>
|
|
|
<velocity.version>2.3</velocity.version>
|
|
|
<screw.version>1.0.5</screw.version>
|
|
|
<fastjson.version>1.2.83</fastjson.version>
|
|
|
<guava.version>30.1.1-jre</guava.version>
|
|
|
<guice.version>5.1.0</guice.version>
|
|
|
<transmittable-thread-local.version>2.14.0</transmittable-thread-local.version>
|
|
|
<commons-net.version>3.8.0</commons-net.version>
|
|
|
<jsch.version>0.1.55</jsch.version>
|
|
|
<tika-core.version>2.5.0</tika-core.version>
|
|
|
<aj-captcha.version>1.3.0</aj-captcha.version>
|
|
|
<netty-all.version>4.1.82.Final</netty-all.version>
|
|
|
<com.jcraft.version>0.1.54</com.jcraft.version>
|
|
|
<fastjson2.version>2.0.17</fastjson2.version>
|
|
|
<!-- 三方云服务相关 -->
|
|
|
<minio.version>8.2.2</minio.version>
|
|
|
</properties>
|
|
|
|
|
|
<dependencyManagement>
|
|
|
<dependencies>
|
|
|
<!-- 统一依赖管理 -->
|
|
|
<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>
|
|
|
<!-- Web 相关 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
<version>${spring.boot.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
<version>${spring.boot.version}</version>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
|
<version>${knife4j.version}</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>mapstruct</artifactId>
|
|
|
<groupId>org.mapstruct</groupId> <!-- 避免冲突 -->
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>guava</artifactId>
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
<groupId>io.swagger</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>io.swagger</groupId>
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
<version>${swagger-annotations.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
<artifactId>spring-security-core</artifactId>
|
|
|
<scope>provided</scope> <!-- 设置为 provided,主要是 GlobalExceptionHandler 使用 -->
|
|
|
</dependency>
|
|
|
<!--业务组件-->
|
|
|
<dependency>
|
|
|
<groupId>com.cuit.basin</groupId>
|
|
|
<artifactId>basin-framework-websocket</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.cuit.basin.base.redismq</groupId>
|
|
|
<artifactId>basin-framework-redismq</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.cuit.basin</groupId>
|
|
|
<artifactId>basin-framework-common</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.cuit.basin</groupId>
|
|
|
<artifactId>basin-framework-kafka</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.cuit.basin</groupId>
|
|
|
<artifactId>basin-framework-log</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.cuit.basin</groupId>
|
|
|
<artifactId>basin-base-service-api</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.cuit.basin</groupId>
|
|
|
<artifactId>basin-framework-mybatis</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- DB 相关 -->
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
</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>mybatis-plus-extension</artifactId>
|
|
|
<version>${mybatis-plus-extention.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>icu.mhb</groupId>
|
|
|
<artifactId>mybatis-plus-join</artifactId>
|
|
|
<version>${mybatis-plus-join.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.jeffreyning</groupId>
|
|
|
<artifactId>mybatisplus-plus</artifactId>
|
|
|
<version>${jeffreyning-mybatis-plus.version}</version>
|
|
|
</dependency>
|
|
|
<!-- RPC 远程调用相关 -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
</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>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>com.alibaba.fastjson2</groupId>
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
<version>${fastjson2.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.anji-plus</groupId>
|
|
|
<artifactId>spring-boot-starter-captcha</artifactId>
|
|
|
<version>${aj-captcha.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.alibaba</groupId>
|
|
|
<artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
|
|
|
<version>${transmittable-thread-local.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.jcraft</groupId>
|
|
|
<artifactId>jsch</artifactId>
|
|
|
<version>${jsch.version}</version>
|
|
|
</dependency>
|
|
|
<!-- 三方云服务相关 -->
|
|
|
<dependency>
|
|
|
<groupId>io.minio</groupId>
|
|
|
<artifactId>minio</artifactId>
|
|
|
<version>${minio.version}</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
<!-- 打包跳过单元测试 -->
|
|
|
<configuration>
|
|
|
<skipTests>true</skipTests>
|
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<source>1.8</source>
|
|
|
<target>1.8</target>
|
|
|
<encoding>utf-8</encoding>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
</project>
|