2021-04-28 00:01:14 +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"
|
|
|
|
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>cn.iocoder.boot</groupId>
|
|
|
|
<artifactId>yudao-dependencies</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<name>yudao-dependencies</name>
|
|
|
|
<description>基础 bom 文件,管理整个项目的依赖版本</description>
|
|
|
|
<url>https://github.com/YunaiV/ruoyi-vue-pro</url>
|
|
|
|
|
2021-04-29 00:52:41 +08:00
|
|
|
<properties>
|
|
|
|
<revision>1.0.0</revision>
|
2021-04-29 02:07:27 +08:00
|
|
|
<!-- Maven 相关 -->
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<resource.delimiter>@</resource.delimiter>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
|
|
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
|
|
|
|
<!-- 统一依赖管理 -->
|
|
|
|
<spring.boot.version>2.4.4</spring.boot.version>
|
|
|
|
<!-- Test 测试相关 -->
|
|
|
|
<podam.version>7.2.6.RELEASE</podam.version>
|
|
|
|
<jedis-mock.version>0.1.16</jedis-mock.version>
|
2021-04-29 00:52:41 +08:00
|
|
|
<!-- 工具类相关 -->
|
|
|
|
<lombok.version>1.16.14</lombok.version>
|
|
|
|
<mapstruct.version>1.4.1.Final</mapstruct.version>
|
|
|
|
<hutool.version>5.6.1</hutool.version>
|
|
|
|
<easyexcel.verion>2.2.7</easyexcel.verion>
|
|
|
|
<velocity.version>2.2</velocity.version>
|
|
|
|
<screw.version>1.0.5</screw.version>
|
|
|
|
<!-- 三方云服务相关 -->
|
|
|
|
<aliyun-java-sdk-core.version>4.5.18</aliyun-java-sdk-core.version>
|
|
|
|
<aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
|
|
|
|
<yunpian-java-sdk.version>1.2.7</yunpian-java-sdk.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2021-04-29 02:07:27 +08:00
|
|
|
<!-- 统一依赖管理 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Spring 核心 -->
|
|
|
|
|
|
|
|
<!-- Test 测试相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>asm</artifactId>
|
|
|
|
<groupId>org.ow2.asm</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.fppt</groupId> <!-- 单元测试,我们采用内嵌的 Redis 数据库 -->
|
|
|
|
<artifactId>jedis-mock</artifactId>
|
|
|
|
<version>${jedis-mock.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>uk.co.jemos.podam</groupId> <!-- 单元测试,随机生成 POJO 类 -->
|
|
|
|
<artifactId>podam</artifactId>
|
|
|
|
<version>${podam.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2021-04-29 00:52:41 +08:00
|
|
|
<!-- 工具类相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
2021-04-29 02:07:27 +08:00
|
|
|
<optional>true</optional>
|
2021-04-29 00:52:41 +08:00
|
|
|
</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>
|
2021-04-29 02:07:27 +08:00
|
|
|
<artifactId>mapstruct-jdk8</artifactId>
|
2021-04-29 00:52:41 +08:00
|
|
|
<version>${mapstruct.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
2021-04-29 02:07:27 +08:00
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
2021-04-29 00:52:41 +08:00
|
|
|
<version>${mapstruct.version}</version>
|
2021-04-29 02:07:27 +08:00
|
|
|
<optional>true</optional>
|
2021-04-29 00:52:41 +08:00
|
|
|
</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.velocity</groupId>
|
|
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
|
|
<version>${velocity.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.smallbun.screw</groupId>
|
|
|
|
<artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
|
|
|
|
<version>${screw.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- 三方云服务相关 -->
|
|
|
|
|
|
|
|
<!-- SMS SDK begin -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.yunpian.sdk</groupId>
|
|
|
|
<artifactId>yunpian-java-sdk</artifactId>
|
|
|
|
<version>${yunpian-java-sdk.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
|
<version>${aliyun-java-sdk-core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
<artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
|
|
|
<version>${aliyun-java-sdk-dysmsapi.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- SMS SDK end -->
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2021-04-29 02:07:27 +08:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!-- 打包 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<fork>true</fork>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal> <!-- 将原来的 jar 打入其中 -->
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- 提供给 mapstruct 使用 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
<path>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
|
<version>${mapstruct.version}</version>
|
|
|
|
</path>
|
|
|
|
<path>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
</path>
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
2021-04-28 00:01:14 +08:00
|
|
|
</project>
|