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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.xyzc</groupId>
  8. <artifactId>xyzc-common</artifactId>
  9. <version>${revision}</version>
  10. </parent>
  11. <artifactId>xyzc-common-oss</artifactId>
  12. <description>
  13. xyzc-common-oss oss服务
  14. </description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.xyzc</groupId>
  18. <artifactId>xyzc-common-core</artifactId>
  19. </dependency>
  20. <!-- AWS SDK for Java 2.x -->
  21. <dependency>
  22. <groupId>software.amazon.awssdk</groupId>
  23. <artifactId>s3</artifactId>
  24. <exclusions>
  25. <!-- 将基于 Netty 的 HTTP 客户端从类路径中移除 -->
  26. <exclusion>
  27. <groupId>software.amazon.awssdk</groupId>
  28. <artifactId>netty-nio-client</artifactId>
  29. </exclusion>
  30. <!-- 将基于 CRT 的 HTTP 客户端从类路径中移除 -->
  31. <exclusion>
  32. <groupId>software.amazon.awssdk</groupId>
  33. <artifactId>aws-crt-client</artifactId>
  34. </exclusion>
  35. <!-- 将基于 Apache 的 HTTP 客户端从类路径中移除 -->
  36. <exclusion>
  37. <groupId>software.amazon.awssdk</groupId>
  38. <artifactId>apache-client</artifactId>
  39. </exclusion>
  40. <!-- 将配置基于 URL 连接的 HTTP 客户端从类路径中移除 -->
  41. <exclusion>
  42. <groupId>software.amazon.awssdk</groupId>
  43. <artifactId>url-connection-client</artifactId>
  44. </exclusion>
  45. </exclusions>
  46. </dependency>
  47. <!-- 使用AWS基于 CRT 的 S3 客户端 -->
  48. <dependency>
  49. <groupId>software.amazon.awssdk.crt</groupId>
  50. <artifactId>aws-crt</artifactId>
  51. </dependency>
  52. <!-- 基于 AWS CRT 的 S3 客户端的性能增强的 S3 传输管理器 -->
  53. <dependency>
  54. <groupId>software.amazon.awssdk</groupId>
  55. <artifactId>s3-transfer-manager</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.xyzc</groupId>
  59. <artifactId>xyzc-common-redis</artifactId>
  60. </dependency>
  61. </dependencies>
  62. </project>