2020-11-18 19:57:55 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
|
|
|
<artifactId>ruoyi-modules</artifactId>
|
2021-06-10 09:19:42 +08:00
|
|
|
|
<version>3.0.0</version>
|
2020-11-18 19:57:55 +08:00
|
|
|
|
</parent>
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
|
|
<artifactId>ruoyi-modules-file</artifactId>
|
|
|
|
|
|
|
|
|
|
|
|
<description>
|
|
|
|
|
|
ruoyi-modules-file文件服务
|
|
|
|
|
|
</description>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
2021-04-21 16:31:21 +08:00
|
|
|
|
<!-- SpringCloud Alibaba Nacos -->
|
2020-11-18 19:57:55 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2021-04-21 16:31:21 +08:00
|
|
|
|
<!-- SpringCloud Alibaba Nacos Config -->
|
2020-11-18 19:57:55 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2021-04-21 16:31:21 +08:00
|
|
|
|
<!-- SpringCloud Alibaba Sentinel -->
|
2020-11-18 19:57:55 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- SpringBoot Actuator -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
|
|
</dependency>
|
2021-07-17 00:12:24 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 解决 使用了 【ConfigurationProperties】出现 Spring Boot Configuration Annotation Processor not configured 提示问题 -->
|
2020-12-22 09:30:07 +08:00
|
|
|
|
<dependency>
|
2021-07-17 00:12:24 +08:00
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
|
<optional>true</optional>
|
2020-12-22 09:30:07 +08:00
|
|
|
|
</dependency>
|
2021-07-17 00:12:24 +08:00
|
|
|
|
|
2020-11-25 18:22:57 +08:00
|
|
|
|
<!-- RuoYi Api System -->
|
2020-11-18 19:57:55 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.ruoyi</groupId>
|
2020-11-25 18:22:57 +08:00
|
|
|
|
<artifactId>ruoyi-api-system</artifactId>
|
2020-11-18 19:57:55 +08:00
|
|
|
|
</dependency>
|
2021-07-17 00:12:24 +08:00
|
|
|
|
|
2020-11-25 18:22:57 +08:00
|
|
|
|
<!-- RuoYi Common Swagger -->
|
2020-11-18 19:57:55 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.ruoyi</groupId>
|
|
|
|
|
|
<artifactId>ruoyi-common-swagger</artifactId>
|
|
|
|
|
|
</dependency>
|
2021-07-16 12:16:56 +08:00
|
|
|
|
|
2021-07-17 00:12:24 +08:00
|
|
|
|
<!-- 文件服务器1:FastDFS -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.github.tobato</groupId>
|
|
|
|
|
|
<artifactId>fastdfs-client</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 文件服务器2:Minio -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
|
|
<version>${minio.version}</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 文件服务器3:apache commons net ftp工具类; hutool 里面 scope 是 compile -->
|
2021-07-16 12:16:56 +08:00
|
|
|
|
<!--用来ftp上传-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-net</groupId>
|
|
|
|
|
|
<artifactId>commons-net</artifactId>
|
|
|
|
|
|
<version>3.6</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
|
<version>5.7.3</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2021-07-17 00:12:24 +08:00
|
|
|
|
<!-- 文件服务器4:阿里云OSS库-->
|
2021-07-16 12:16:56 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
|
|
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
2021-07-17 17:28:28 +08:00
|
|
|
|
<version>3.10.0</version>
|
2021-07-16 12:16:56 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
|
<!--排除 sdk-core 存在的包-->
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
2021-07-17 00:12:24 +08:00
|
|
|
|
<!-- 文件服务器5:ceph upload start -->
|
2021-07-16 12:16:56 +08:00
|
|
|
|
<!--文件上传 ceph 形式,一般项目都用不上,注释掉; 不要删-->
|
|
|
|
|
|
<!-- ceph实现s3 文件上传-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.ceph</groupId>
|
|
|
|
|
|
<artifactId>libcephfs</artifactId>
|
|
|
|
|
|
<version>0.80.5</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.amazonaws</groupId>
|
|
|
|
|
|
<artifactId>aws-java-sdk-s3</artifactId>
|
|
|
|
|
|
<version>1.11.415</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!--ceph upload end -->
|
2021-07-16 18:50:33 +08:00
|
|
|
|
|
2021-07-17 00:12:24 +08:00
|
|
|
|
<!--文件服务器6:七牛云文件存储 start -->
|
2021-07-16 18:50:33 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.qiniu</groupId>
|
|
|
|
|
|
<artifactId>qiniu-java-sdk</artifactId>
|
|
|
|
|
|
<version>[7.7.0, 7.7.99]</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!--七牛云文件存储 end -->
|
2020-11-18 19:57:55 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
2021-01-17 12:06:33 +08:00
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
2020-11-18 19:57:55 +08:00
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
2021-07-17 00:12:24 +08:00
|
|
|
|
<configuration>
|
|
|
|
|
|
<!-- 打包的时候,相关的包不打入依赖-->
|
|
|
|
|
|
<excludes>
|
|
|
|
|
|
<exclude>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
|
</exclude>
|
|
|
|
|
|
</excludes>
|
|
|
|
|
|
</configuration>
|
2020-11-18 19:57:55 +08:00
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|