2021-01-02 13:13:08 +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</groupId>
|
|
|
|
<artifactId>dashboard</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
|
|
<name>ruoyi</name>
|
|
|
|
<url>http://www.ruoyi.vip</url>
|
|
|
|
<description>若依管理系统</description>
|
2021-01-13 01:09:26 +08:00
|
|
|
<packaging>jar</packaging>
|
2021-01-02 13:13:08 +08:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<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>
|
|
|
|
<!-- 统一依赖管理 -->
|
2021-01-17 20:55:14 +08:00
|
|
|
<spring.boot.version>2.4.2</spring.boot.version>
|
2021-01-02 13:13:08 +08:00
|
|
|
|
|
|
|
<!-- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
|
|
|
|
<!-- <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>-->
|
|
|
|
<!-- <druid.version>1.2.2</druid.version>-->
|
|
|
|
<!-- <bitwalker.version>1.21</bitwalker.version>-->
|
|
|
|
<!-- <swagger.version>2.9.2</swagger.version>-->
|
|
|
|
<!-- <kaptcha.version>2.3.2</kaptcha.version>-->
|
|
|
|
<!-- <pagehelper.boot.version>1.3.0</pagehelper.boot.version>-->
|
|
|
|
<!-- <fastjson.version>1.2.74</fastjson.version>-->
|
|
|
|
<!-- <oshi.version>5.3.6</oshi.version>-->
|
|
|
|
<!-- <jna.version>5.6.0</jna.version>-->
|
|
|
|
<!-- <commons.io.version>2.5</commons.io.version>-->
|
|
|
|
<!-- <commons.fileupload.version>1.3.3</commons.fileupload.version>-->
|
|
|
|
<!-- <poi.version>4.1.2</poi.version>-->
|
|
|
|
<!-- <velocity.version>1.7</velocity.version>-->
|
|
|
|
<!-- <jwt.version>0.9.1</jwt.version>-->
|
|
|
|
|
|
|
|
<!-- Web 相关 -->
|
|
|
|
<knife4j.version>3.0.2</knife4j.version>
|
|
|
|
|
|
|
|
<!-- DB 相关 -->
|
|
|
|
<mysql-connector-java.version>5.1.46</mysql-connector-java.version>
|
|
|
|
<druid.version>1.2.4</druid.version>
|
|
|
|
<mybatis-plus.version>3.4.1</mybatis-plus.version>
|
2021-01-21 09:13:51 +08:00
|
|
|
<redisson.version>3.14.1</redisson.version>
|
2021-01-17 00:28:56 +08:00
|
|
|
<!-- 监控相关 -->
|
|
|
|
<skywalking.version>8.3.0</skywalking.version>
|
2021-01-02 13:13:08 +08:00
|
|
|
<!-- 工具类相关 -->
|
2021-01-03 01:45:20 +08:00
|
|
|
<lombok.version>1.16.14</lombok.version>
|
|
|
|
<mapstruct.version>1.4.1.Final</mapstruct.version>
|
2021-01-02 13:13:08 +08:00
|
|
|
<jjwt.version>0.9.1</jjwt.version>
|
|
|
|
<fastjson.version>1.2.75</fastjson.version>
|
|
|
|
<hutool.version>5.5.6</hutool.version>
|
2021-01-13 01:09:26 +08:00
|
|
|
<easyexcel.verion>2.2.7</easyexcel.verion>
|
2021-01-02 13:13:08 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<!-- 依赖声明 -->
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- <!– 解析客户端操作系统、浏览器等 –>-->
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>eu.bitwalker</groupId>-->
|
|
|
|
<!-- <artifactId>UserAgentUtils</artifactId>-->
|
|
|
|
<!-- <version>${bitwalker.version}</version>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
<!-- <!– 获取系统信息 –>-->
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>com.github.oshi</groupId>-->
|
|
|
|
<!-- <artifactId>oshi-core</artifactId>-->
|
|
|
|
<!-- <version>${oshi.version}</version>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>net.java.dev.jna</groupId>-->
|
|
|
|
<!-- <artifactId>jna</artifactId>-->
|
|
|
|
<!-- <version>${jna.version}</version>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>net.java.dev.jna</groupId>-->
|
|
|
|
<!-- <artifactId>jna-platform</artifactId>-->
|
|
|
|
<!-- <version>${jna.version}</version>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
<!-- <!–velocity代码生成使用模板 –>-->
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>org.apache.velocity</groupId>-->
|
|
|
|
<!-- <artifactId>velocity</artifactId>-->
|
|
|
|
<!-- <version>${velocity.version}</version>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
<!-- 统一依赖管理 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Spring 核心 -->
|
|
|
|
<dependency>
|
|
|
|
<!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2021-01-17 00:28:56 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2021-01-02 13:13:08 +08:00
|
|
|
<!-- Web 相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
|
|
<version>${knife4j.version}</version>
|
2021-01-21 09:13:51 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>mapstruct</artifactId>
|
|
|
|
<groupId>org.mapstruct</groupId> <!-- 避免冲突 -->
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2021-01-02 13:13:08 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- DB 相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>${mysql-connector-java.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>org.redisson</groupId>
|
|
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
|
|
|
<version>${redisson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-01-20 17:12:27 +08:00
|
|
|
<!-- -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.ctrip.framework.apollo</groupId>
|
|
|
|
<artifactId>apollo-client</artifactId>
|
|
|
|
<version>1.7.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-01-17 00:28:56 +08:00
|
|
|
<!-- 监控相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.skywalking</groupId>
|
|
|
|
<artifactId>apm-toolkit-trace</artifactId>
|
|
|
|
<version>${skywalking.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-01-02 13:13:08 +08:00
|
|
|
<!-- 工具类相关 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2021-01-03 01:45:20 +08:00
|
|
|
<version>${lombok.version}</version>
|
2021-01-02 13:13:08 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
<version>${jjwt.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2021-01-03 01:45:20 +08:00
|
|
|
<version>${lombok.version}</version>
|
2021-01-02 13:13:08 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<!-- 解析客户端操作系统、浏览器等 TODO 芋艿:后面看看 hutool 有没替代 -->
|
|
|
|
<groupId>eu.bitwalker</groupId>
|
|
|
|
<artifactId>UserAgentUtils</artifactId>
|
|
|
|
<version>1.21</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-01-03 01:45:20 +08:00
|
|
|
<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>
|
|
|
|
|
2021-01-02 13:13:08 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-core</artifactId>
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
</dependency>
|
2021-01-03 01:45:20 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-extra</artifactId>
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-captcha</artifactId>
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
</dependency>
|
2021-01-13 01:09:26 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
<version>${easyexcel.verion}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-01-02 13:13:08 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!-- 提供给 mapstruct 使用 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source> <!-- or higher, depending on your project -->
|
|
|
|
<target>${java.version}</target> <!-- or higher, depending on your project -->
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
<path>
|
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
2021-01-03 01:45:20 +08:00
|
|
|
<version>${mapstruct.version}</version>
|
2021-01-02 13:13:08 +08:00
|
|
|
</path>
|
|
|
|
<path>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
2021-01-03 01:45:20 +08:00
|
|
|
<version>${lombok.version}</version>
|
2021-01-02 13:13:08 +08:00
|
|
|
</path>
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- 打包 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<fork>true</fork>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|