165 lines
6.0 KiB
XML
165 lines
6.0 KiB
XML
<?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>
|
||
<version>3.0.0</version>
|
||
</parent>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<artifactId>ruoyi-modules-file</artifactId>
|
||
|
||
<description>
|
||
ruoyi-modules-file文件服务
|
||
</description>
|
||
|
||
<dependencies>
|
||
|
||
<!-- SpringCloud Alibaba Nacos -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
</dependency>
|
||
|
||
<!-- SpringCloud Alibaba Nacos Config -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
</dependency>
|
||
|
||
<!-- SpringCloud Alibaba Sentinel -->
|
||
<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>
|
||
|
||
<!-- 解决 使用了 【ConfigurationProperties】出现 Spring Boot Configuration Annotation Processor not configured 提示问题 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
<!-- RuoYi Api System -->
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi-api-system</artifactId>
|
||
</dependency>
|
||
|
||
<!-- RuoYi Common Swagger -->
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>ruoyi-common-swagger</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 文件服务器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 -->
|
||
<!--用来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>
|
||
|
||
<!-- 文件服务器4:阿里云OSS库-->
|
||
<dependency>
|
||
<groupId>com.aliyun.oss</groupId>
|
||
<artifactId>aliyun-sdk-oss</artifactId>
|
||
<version>3.10.0</version>
|
||
<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>
|
||
|
||
<!-- 文件服务器5:ceph upload start -->
|
||
<!--文件上传 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 -->
|
||
|
||
<!--文件服务器6:七牛云文件存储 start -->
|
||
<dependency>
|
||
<groupId>com.qiniu</groupId>
|
||
<artifactId>qiniu-java-sdk</artifactId>
|
||
<version>[7.7.0, 7.7.99]</version>
|
||
</dependency>
|
||
<!--七牛云文件存储 end -->
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>${project.artifactId}</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<!-- 打包的时候,相关的包不打入依赖-->
|
||
<excludes>
|
||
<exclude>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
</exclude>
|
||
</excludes>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project> |