pom.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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>api-app</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <parent>
  11. <groupId>com.starbuds.server</groupId>
  12. <artifactId>api-parent</artifactId>
  13. <version>1.0.0-SNAPSHOT</version>
  14. </parent>
  15. <dependencies>
  16. <!-- common -->
  17. <dependency>
  18. <groupId>com.starbuds.server</groupId>
  19. <artifactId>game-sdk</artifactId>
  20. <version>1.0.0-SNAPSHOT</version>
  21. <exclusions>
  22. <exclusion>
  23. <groupId>cn.hutool</groupId>
  24. <artifactId>hutool-all</artifactId>
  25. </exclusion>
  26. <exclusion>
  27. <groupId>org.apache.logging.log4j</groupId>
  28. <artifactId>log4j-slf4j-impl</artifactId>
  29. </exclusion>
  30. <exclusion>
  31. <groupId>org.apache.logging.log4j</groupId>
  32. <artifactId>log4j-core</artifactId>
  33. </exclusion>
  34. <exclusion>
  35. <groupId>org.apache.logging.log4j</groupId>
  36. <artifactId>log4j-jul</artifactId>
  37. </exclusion>
  38. <exclusion>
  39. <groupId>org.slf4j</groupId>
  40. <artifactId>jul-to-slf4j</artifactId>
  41. </exclusion>
  42. </exclusions>
  43. </dependency>
  44. <!-- https://mvnrepository.com/artifact/org.testng/testng -->
  45. <dependency>
  46. <groupId>org.testng</groupId>
  47. <artifactId>testng</artifactId>
  48. <version>7.1.0</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  52. <dependency>
  53. <groupId>com.squareup.okhttp3</groupId>
  54. <artifactId>okhttp</artifactId>
  55. <version>4.6.0</version>
  56. <scope>test</scope>
  57. </dependency>
  58. </dependencies>
  59. <build>
  60. <finalName>${project.artifactId}</finalName>
  61. <testResources>
  62. <!--测试的时候直接读取src/main/resources的资源文件-->
  63. <testResource>
  64. <directory>${project.basedir}/src/main/resources</directory>
  65. </testResource>
  66. </testResources>
  67. </build>
  68. </project>