pom.xml 2.7 KB

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