pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0"?>
  2. <project
  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. xmlns="http://maven.apache.org/POM/4.0.0">
  6. <modelVersion>4.0.0</modelVersion>
  7. <parent>
  8. <groupId>com.github.binarywang</groupId>
  9. <artifactId>wx-java</artifactId>
  10. <version>4.6.5.B</version>
  11. </parent>
  12. <artifactId>weixin-java-cp</artifactId>
  13. <name>WxJava - CP Java SDK</name>
  14. <description>微信企业号/企业微信 Java SDK</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.github.binarywang</groupId>
  18. <artifactId>weixin-java-common</artifactId>
  19. <version>${project.version}</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.jodd</groupId>
  23. <artifactId>jodd-http</artifactId>
  24. <scope>provided</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.squareup.okhttp3</groupId>
  28. <artifactId>okhttp</artifactId>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>redis.clients</groupId>
  33. <artifactId>jedis</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.slf4j</groupId>
  37. <artifactId>slf4j-api</artifactId>
  38. </dependency>
  39. <!--分布式锁支持-->
  40. <dependency>
  41. <groupId>org.redisson</groupId>
  42. <artifactId>redisson</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.data</groupId>
  46. <artifactId>spring-data-redis</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.testng</groupId>
  50. <artifactId>testng</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.mockito</groupId>
  55. <artifactId>mockito-all</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.google.inject</groupId>
  60. <artifactId>guice</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.eclipse.jetty</groupId>
  65. <artifactId>jetty-server</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.eclipse.jetty</groupId>
  70. <artifactId>jetty-servlet</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>ch.qos.logback</groupId>
  75. <artifactId>logback-classic</artifactId>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.bouncycastle</groupId>
  84. <artifactId>bcprov-jdk18on</artifactId>
  85. <version>1.78.1</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.assertj</groupId>
  89. <artifactId>assertj-guava</artifactId>
  90. <scope>test</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.github.dreamhead</groupId>
  94. <artifactId>moco-runner</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.fasterxml.jackson.core</groupId>
  99. <artifactId>jackson-core</artifactId>
  100. <version>2.13.4</version>
  101. <scope>test</scope>
  102. </dependency>
  103. </dependencies>
  104. <build>
  105. <plugins>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-surefire-plugin</artifactId>
  109. <configuration>
  110. <suiteXmlFiles>
  111. <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
  112. </suiteXmlFiles>
  113. </configuration>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. <profiles>
  118. <profile>
  119. <id>native-image</id>
  120. <activation>
  121. <activeByDefault>false</activeByDefault>
  122. </activation>
  123. <build>
  124. <plugins>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-compiler-plugin</artifactId>
  128. <version>3.5.1</version>
  129. <configuration>
  130. <annotationProcessors>
  131. com.github.binarywang.wx.graal.GraalProcessor,lombok.launch.AnnotationProcessorHider$AnnotationProcessor,lombok.launch.AnnotationProcessorHider$ClaimingProcessor
  132. </annotationProcessors>
  133. <annotationProcessorPaths>
  134. <path>
  135. <groupId>com.github.binarywang</groupId>
  136. <artifactId>weixin-graal</artifactId>
  137. <version>${project.version}</version>
  138. </path>
  139. </annotationProcessorPaths>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. </build>
  144. </profile>
  145. </profiles>
  146. </project>