pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. <groupId>com.ueiibi.shop</groupId>
  7. <artifactId>shop-sdk</artifactId>
  8. <version>1.0.0-release</version>
  9. <packaging>jar</packaging>
  10. <name>ueiibi Shop SDK</name>
  11. <description>Java SDK for interacting with ueiibi Shop APIs.</description>
  12. <url>https://github.com/ibiteam/shop-sdk</url>
  13. <licenses>
  14. <license>
  15. <name>MIT License</name>
  16. <url>https://opensource.org/licenses/MIT</url>
  17. </license>
  18. </licenses>
  19. <scm>
  20. <url>https://github.com/ibiteam/shop-sdk</url>
  21. <connection>scm:git:git://github.com/ibiteam/shop-sdk.git</connection>
  22. <developerConnection>scm:git:ssh://git@github.com/ibiteam/shop-sdk.git</developerConnection>
  23. </scm>
  24. <developers>
  25. <developer>
  26. <id>ueiibi</id>
  27. <name>北京国联视讯信息技术股份有限公司</name>
  28. <email>opensource-dd@ueiibi.com</email>
  29. </developer>
  30. </developers>
  31. <properties>
  32. <maven.compiler.source>17</maven.compiler.source>
  33. <maven.compiler.target>17</maven.compiler.target>
  34. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  35. </properties>
  36. <dependencies>
  37. <!-- Apache HttpClient Fluent API -->
  38. <dependency>
  39. <groupId>org.apache.httpcomponents.client5</groupId>
  40. <artifactId>httpclient5-fluent</artifactId>
  41. <version>5.2.1</version>
  42. </dependency>
  43. <!-- Jackson Databind (JSON 解析) -->
  44. <dependency>
  45. <groupId>com.fasterxml.jackson.core</groupId>
  46. <artifactId>jackson-databind</artifactId>
  47. <version>2.15.3</version>
  48. </dependency>
  49. <!-- Apache Commons Codec (可选,用于签名等功能) -->
  50. <dependency>
  51. <groupId>commons-codec</groupId>
  52. <artifactId>commons-codec</artifactId>
  53. <version>1.15</version>
  54. </dependency>
  55. <!-- 单元测试依赖 -->
  56. <dependency>
  57. <groupId>org.junit.jupiter</groupId>
  58. <artifactId>junit-jupiter</artifactId>
  59. <version>5.9.3</version>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <artifactId>fastjson2-extension</artifactId>
  64. <groupId>com.alibaba.fastjson2</groupId>
  65. <version>2.0.53</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.slf4j</groupId>
  69. <artifactId>slf4j-simple</artifactId> <!-- 或 logback-classic -->
  70. <version>1.7.36</version>
  71. </dependency>
  72. </dependencies>
  73. <build>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-compiler-plugin</artifactId>
  78. <version>3.11.0</version>
  79. <configuration>
  80. <source>${maven.compiler.source}</source>
  81. <target>${maven.compiler.target}</target>
  82. <encoding>${project.build.sourceEncoding}</encoding>
  83. </configuration>
  84. </plugin>
  85. <!-- 配置 Maven Surefire 插件来运行单元测试 -->
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-surefire-plugin</artifactId>
  89. <version>3.0.0-M5</version>
  90. <configuration>
  91. <includes>
  92. <include>**/*Test.java</include>
  93. </includes>
  94. </configuration>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>