pom.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>org.dromara</groupId>
  7. <artifactId>ruoyi-common</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>ruoyi-common-oss</artifactId>
  12. <description>
  13. ruoyi-common-oss oss服务
  14. </description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.dromara</groupId>
  18. <artifactId>ruoyi-common-json</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.dromara</groupId>
  22. <artifactId>ruoyi-common-redis</artifactId>
  23. </dependency>
  24. <!-- AWS SDK for Java 2.x -->
  25. <dependency>
  26. <groupId>software.amazon.awssdk</groupId>
  27. <artifactId>s3</artifactId>
  28. <exclusions>
  29. <!-- 将基于 Netty 的 HTTP 客户端从类路径中移除 -->
  30. <exclusion>
  31. <groupId>software.amazon.awssdk</groupId>
  32. <artifactId>netty-nio-client</artifactId>
  33. </exclusion>
  34. <!-- 将基于 CRT 的 HTTP 客户端从类路径中移除 -->
  35. <exclusion>
  36. <groupId>software.amazon.awssdk</groupId>
  37. <artifactId>aws-crt-client</artifactId>
  38. </exclusion>
  39. <!-- 将基于 Apache 的 HTTP 客户端从类路径中移除 -->
  40. <exclusion>
  41. <groupId>software.amazon.awssdk</groupId>
  42. <artifactId>apache-client</artifactId>
  43. </exclusion>
  44. <!-- 将配置基于 URL 连接的 HTTP 客户端从类路径中移除 -->
  45. <exclusion>
  46. <groupId>software.amazon.awssdk</groupId>
  47. <artifactId>url-connection-client</artifactId>
  48. </exclusion>
  49. </exclusions>
  50. </dependency>
  51. <!-- 使用AWS基于 CRT 的 S3 客户端 -->
  52. <dependency>
  53. <groupId>software.amazon.awssdk.crt</groupId>
  54. <artifactId>aws-crt</artifactId>
  55. </dependency>
  56. <!-- 基于 AWS CRT 的 S3 客户端的性能增强的 S3 传输管理器 -->
  57. <dependency>
  58. <groupId>software.amazon.awssdk</groupId>
  59. <artifactId>s3-transfer-manager</artifactId>
  60. </dependency>
  61. </dependencies>
  62. </project>