pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <?xml version="1.0"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.github.binarywang</groupId>
  8. <artifactId>wx-java</artifactId>
  9. <version>4.4.0</version>
  10. </parent>
  11. <artifactId>weixin-java-common</artifactId>
  12. <name>WxJava - Common Java SDK</name>
  13. <description>微信开发Java SDK公共模块</description>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.jodd</groupId>
  17. <artifactId>jodd-http</artifactId>
  18. <scope>provided</scope>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.squareup.okhttp3</groupId>
  22. <artifactId>okhttp</artifactId>
  23. <scope>provided</scope>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.slf4j</groupId>
  27. <artifactId>slf4j-api</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.thoughtworks.xstream</groupId>
  31. <artifactId>xstream</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.httpcomponents</groupId>
  35. <artifactId>httpclient</artifactId>
  36. <exclusions>
  37. <exclusion>
  38. <artifactId>commons-logging</artifactId>
  39. <groupId>commons-logging</groupId>
  40. </exclusion>
  41. </exclusions>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.httpcomponents</groupId>
  45. <artifactId>httpmime</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.slf4j</groupId>
  49. <artifactId>jcl-over-slf4j</artifactId>
  50. <version>1.7.36</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.google.code.gson</groupId>
  54. <artifactId>gson</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>commons-codec</groupId>
  58. <artifactId>commons-codec</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>commons-io</groupId>
  62. <artifactId>commons-io</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.commons</groupId>
  66. <artifactId>commons-lang3</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.google.guava</groupId>
  70. <artifactId>guava</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>javax.validation</groupId>
  78. <artifactId>validation-api</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>ch.qos.logback</groupId>
  82. <artifactId>logback-classic</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.testng</groupId>
  87. <artifactId>testng</artifactId>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.mockito</groupId>
  92. <artifactId>mockito-all</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.google.inject</groupId>
  97. <artifactId>guice</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.eclipse.jetty</groupId>
  102. <artifactId>jetty-server</artifactId>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.eclipse.jetty</groupId>
  107. <artifactId>jetty-servlet</artifactId>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.assertj</groupId>
  112. <artifactId>assertj-guava</artifactId>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.dom4j</groupId>
  117. <artifactId>dom4j</artifactId>
  118. <version>2.1.3</version>
  119. <exclusions>
  120. <exclusion>
  121. <groupId>pull-parser</groupId>
  122. <artifactId>pull-parser</artifactId>
  123. </exclusion>
  124. </exclusions>
  125. </dependency>
  126. <dependency>
  127. <groupId>redis.clients</groupId>
  128. <artifactId>jedis</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.github.jedis-lock</groupId>
  132. <artifactId>jedis-lock</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.redisson</groupId>
  136. <artifactId>redisson</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.springframework.data</groupId>
  140. <artifactId>spring-data-redis</artifactId>
  141. </dependency>
  142. </dependencies>
  143. <build>
  144. <plugins>
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-surefire-plugin</artifactId>
  148. <configuration>
  149. <suiteXmlFiles>
  150. <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
  151. </suiteXmlFiles>
  152. </configuration>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. <profiles>
  157. <profile>
  158. <id>native-image</id>
  159. <activation>
  160. <activeByDefault>false</activeByDefault>
  161. </activation>
  162. <build>
  163. <plugins>
  164. <plugin>
  165. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-compiler-plugin</artifactId>
  167. <version>3.5.1</version>
  168. <configuration>
  169. <annotationProcessors>
  170. com.github.binarywang.wx.graal.GraalProcessor,lombok.launch.AnnotationProcessorHider$AnnotationProcessor,lombok.launch.AnnotationProcessorHider$ClaimingProcessor
  171. </annotationProcessors>
  172. <annotationProcessorPaths>
  173. <path>
  174. <groupId>com.github.binarywang</groupId>
  175. <artifactId>weixin-graal</artifactId>
  176. <version>${project.version}</version>
  177. </path>
  178. </annotationProcessorPaths>
  179. </configuration>
  180. </plugin>
  181. </plugins>
  182. </build>
  183. </profile>
  184. </profiles>
  185. </project>