pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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.starbuds.server</groupId>
  7. <artifactId>service-net</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>com.starbuds.server</groupId>
  11. <artifactId>service-parent</artifactId>
  12. <version>1.0.0-SNAPSHOT</version>
  13. </parent>
  14. <properties>
  15. <okhttp.version>4.7.2</okhttp.version>
  16. <ons-client.version>1.8.4.Final</ons-client.version>
  17. </properties>
  18. <dependencies>
  19. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  20. <dependency>
  21. <groupId>com.squareup.okhttp3</groupId>
  22. <artifactId>okhttp</artifactId>
  23. <version>${okhttp.version}</version>
  24. </dependency>
  25. <!-- 使用LRUMap https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 -->
  26. <dependency>
  27. <groupId>org.apache.commons</groupId>
  28. <artifactId>commons-collections4</artifactId>
  29. <version>4.4</version>
  30. </dependency>
  31. <!-- Aliyun ONS -->
  32. <dependency>
  33. <groupId>com.aliyun.openservices</groupId>
  34. <artifactId>ons-client</artifactId>
  35. <version>${ons-client.version}</version>
  36. </dependency>
  37. <!-- https://mvnrepository.com/artifact/org.testng/testng -->
  38. <dependency>
  39. <groupId>org.testng</groupId>
  40. <artifactId>testng</artifactId>
  41. <version>7.1.0</version>
  42. <scope>test</scope>
  43. </dependency>
  44. <!-- 发送XML数据 https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml -->
  45. <dependency>
  46. <groupId>com.fasterxml.jackson.dataformat</groupId>
  47. <artifactId>jackson-dataformat-xml</artifactId>
  48. <version>2.11.0</version>
  49. <scope>test</scope>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <finalName>${project.artifactId}</finalName>
  54. <testResources>
  55. <!--测试的时候直接读取src/main/resources的资源文件-->
  56. <testResource>
  57. <directory>${project.basedir}/src/main/resources</directory>
  58. </testResource>
  59. </testResources>
  60. </build>
  61. </project>