pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. </dependency>
  57. </dependencies>
  58. <build>
  59. <finalName>${project.artifactId}</finalName>
  60. <testResources>
  61. <!--测试的时候直接读取src/main/resources的资源文件-->
  62. <testResource>
  63. <directory>${project.basedir}/src/main/resources</directory>
  64. </testResource>
  65. </testResources>
  66. </build>
  67. </project>