2021-04-02 15:59:05 +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">
|
2021-07-12 11:36:37 +08:00
|
|
|
|
<parent>
|
|
|
|
|
<artifactId>ruoyi-vue-plus</artifactId>
|
|
|
|
|
<groupId>com.ruoyi</groupId>
|
2021-10-29 09:18:18 +08:00
|
|
|
|
<version>3.3.0</version>
|
2021-07-12 11:36:37 +08:00
|
|
|
|
</parent>
|
2021-04-02 15:59:05 +08:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<packaging>jar</packaging>
|
2021-07-12 11:36:37 +08:00
|
|
|
|
<artifactId>ruoyi</artifactId>
|
|
|
|
|
|
|
|
|
|
<description>
|
|
|
|
|
web服务入口
|
|
|
|
|
</description>
|
2021-04-02 15:59:05 +08:00
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- SpringBoot Web容器 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- web 容器使用 undertow 性能更强 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
|
|
|
</dependency>
|
2021-05-14 21:39:30 +08:00
|
|
|
|
|
2021-04-02 15:59:05 +08:00
|
|
|
|
<!-- SpringBoot 拦截器 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--阿里数据库连接池 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--velocity代码生成使用模板 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
|
|
<artifactId>velocity</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- spring-boot-devtools -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
|
<optional>true</optional> <!-- 表示依赖不会传递 -->
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-09-28 10:09:53 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-04-02 15:59:05 +08:00
|
|
|
|
<!-- Mysql驱动包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- spring security 安全认证 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
2021-05-14 21:39:30 +08:00
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
2021-04-02 15:59:05 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 自定义验证注解 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.validation</groupId>
|
|
|
|
|
<artifactId>validation-api</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--常用工具类 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- JSON工具类 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- excel工具 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-08-18 11:45:51 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-04-02 15:59:05 +08:00
|
|
|
|
<!--Token生成与解析-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-10-29 09:18:18 +08:00
|
|
|
|
<!-- jdk11 缺失依赖 jaxb-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-04-02 15:59:05 +08:00
|
|
|
|
<!-- redis 缓存操作 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- pool 对象池 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- servlet包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-06-23 10:02:55 +08:00
|
|
|
|
<!-- dynamic-datasource 多数据源-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-04-02 15:59:05 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>mybatis-plus-extension</artifactId>
|
|
|
|
|
</dependency>
|
2021-08-18 11:45:51 +08:00
|
|
|
|
<!-- sql性能分析插件 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>p6spy</groupId>
|
|
|
|
|
<artifactId>p6spy</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-04-02 15:59:05 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
|
<artifactId>feign-okhttp</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-04-22 15:50:42 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>de.codecentric</groupId>
|
|
|
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
</dependency>
|
2021-05-18 11:50:29 +08:00
|
|
|
|
<!-- 自动生成YML配置关联JSON文件 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
</dependency>
|
2021-04-22 15:50:42 +08:00
|
|
|
|
|
2021-06-01 10:53:30 +08:00
|
|
|
|
<!--redisson-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
2021-06-23 10:02:55 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
<artifactId>lock4j-redisson-spring-boot-starter</artifactId>
|
|
|
|
|
</dependency>
|
2021-06-01 10:53:30 +08:00
|
|
|
|
|
2021-10-29 09:18:18 +08:00
|
|
|
|
<!-- xxl-job-core -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.xuxueli</groupId>
|
|
|
|
|
<artifactId>xxl-job-core</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.yomahub</groupId>
|
|
|
|
|
<artifactId>tlog-spring-boot-configuration</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.yomahub</groupId>
|
|
|
|
|
<artifactId>tlog-webroot</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.yomahub</groupId>
|
|
|
|
|
<artifactId>tlog-feign</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.yomahub</groupId>
|
|
|
|
|
<artifactId>tlog-xxl-job</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-07-28 11:32:30 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.qiniu</groupId>
|
|
|
|
|
<artifactId>qiniu-java-sdk</artifactId>
|
|
|
|
|
<version>${qiniu.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
|
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|
|
|
|
<version>${aliyun.oss.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.qcloud</groupId>
|
|
|
|
|
<artifactId>cos_api</artifactId>
|
|
|
|
|
<version>${qcloud.cos.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
|
<version>${minio.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-04-02 15:59:05 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2021-05-14 21:39:30 +08:00
|
|
|
|
<version>${spring-boot.version}</version>
|
2021-04-02 15:59:05 +08:00
|
|
|
|
<configuration>
|
|
|
|
|
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
|
<version>3.1.0</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
|
<warName>${project.artifactId}</warName>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
2021-07-12 11:36:37 +08:00
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
<version>${docker.plugin.version}</version>
|
2021-04-02 15:59:05 +08:00
|
|
|
|
<configuration>
|
2021-07-12 11:36:37 +08:00
|
|
|
|
<imageName>${docker.namespace}/ruoyi-server:${project.version}</imageName>
|
|
|
|
|
<dockerDirectory>${project.basedir}</dockerDirectory>
|
|
|
|
|
<dockerHost>${docker.registry.host}</dockerHost>
|
|
|
|
|
<registryUrl>${docker.registry.url}</registryUrl>
|
|
|
|
|
<serverId>${docker.registry.url}</serverId>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<targetPath>/</targetPath>
|
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
|
<include>${project.build.finalName}.jar</include>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
2021-04-02 15:59:05 +08:00
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
2021-05-21 18:00:40 +08:00
|
|
|
|
</project>
|