pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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-mp</artifactId>
  13. <name>WxJava - MP 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>org.testng</groupId>
  33. <artifactId>testng</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.mockito</groupId>
  38. <artifactId>mockito-all</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.google.inject</groupId>
  43. <artifactId>guice</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.eclipse.jetty</groupId>
  48. <artifactId>jetty-server</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.eclipse.jetty</groupId>
  53. <artifactId>jetty-servlet</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>joda-time</groupId>
  58. <artifactId>joda-time</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>redis.clients</groupId>
  63. <artifactId>jedis</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>ch.qos.logback</groupId>
  67. <artifactId>logback-classic</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.assertj</groupId>
  72. <artifactId>assertj-guava</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.redisson</groupId>
  81. <artifactId>redisson</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.fasterxml.jackson.dataformat</groupId>
  85. <artifactId>jackson-dataformat-xml</artifactId>
  86. <optional>true</optional>
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.apache.maven.plugins</groupId>
  93. <artifactId>maven-surefire-plugin</artifactId>
  94. <configuration>
  95. <suiteXmlFiles>
  96. <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
  97. </suiteXmlFiles>
  98. </configuration>
  99. </plugin>
  100. </plugins>
  101. </build>
  102. <profiles>
  103. <profile>
  104. <id>native-image</id>
  105. <activation>
  106. <activeByDefault>false</activeByDefault>
  107. </activation>
  108. <build>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-compiler-plugin</artifactId>
  113. <version>3.5.1</version>
  114. <configuration>
  115. <annotationProcessors>
  116. com.github.binarywang.wx.graal.GraalProcessor,lombok.launch.AnnotationProcessorHider$AnnotationProcessor,lombok.launch.AnnotationProcessorHider$ClaimingProcessor
  117. </annotationProcessors>
  118. <annotationProcessorPaths>
  119. <path>
  120. <groupId>com.github.binarywang</groupId>
  121. <artifactId>weixin-graal</artifactId>
  122. <version>${project.version}</version>
  123. </path>
  124. </annotationProcessorPaths>
  125. </configuration>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. </profile>
  130. </profiles>
  131. </project>