pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0" encoding="UTF-8"?>
  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>3.7.0</version>
  11. </parent>
  12. <artifactId>weixin-java-open</artifactId>
  13. <name>WxJava - Open Java SDK</name>
  14. <description>微信开放平台 Java SDK</description>
  15. <developers>
  16. <developer>
  17. <name>007</name>
  18. <email>007gzs@gmail.com</email>
  19. <url>https://github.com/007gzs</url>
  20. </developer>
  21. </developers>
  22. <dependencies>
  23. <dependency>
  24. <groupId>com.github.binarywang</groupId>
  25. <artifactId>weixin-java-common</artifactId>
  26. <version>${project.version}</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.github.binarywang</groupId>
  30. <artifactId>weixin-java-mp</artifactId>
  31. <version>${project.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.github.binarywang</groupId>
  35. <artifactId>weixin-java-miniapp</artifactId>
  36. <version>${project.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.jodd</groupId>
  40. <artifactId>jodd-http</artifactId>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.squareup.okhttp3</groupId>
  45. <artifactId>okhttp</artifactId>
  46. <scope>provided</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.testng</groupId>
  50. <artifactId>testng</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.google.inject</groupId>
  55. <artifactId>guice</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.eclipse.jetty</groupId>
  60. <artifactId>jetty-server</artifactId>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.eclipse.jetty</groupId>
  65. <artifactId>jetty-servlet</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>joda-time</groupId>
  70. <artifactId>joda-time</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>redis.clients</groupId>
  75. <artifactId>jedis</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>ch.qos.logback</groupId>
  79. <artifactId>logback-classic</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.projectlombok</groupId>
  84. <artifactId>lombok</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.redisson</groupId>
  88. <artifactId>redisson</artifactId>
  89. </dependency>
  90. </dependencies>
  91. <build>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-surefire-plugin</artifactId>
  96. <configuration>
  97. <suiteXmlFiles>
  98. <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
  99. </suiteXmlFiles>
  100. </configuration>
  101. </plugin>
  102. </plugins>
  103. </build>
  104. <profiles>
  105. <profile>
  106. <id>native-image</id>
  107. <activation>
  108. <activeByDefault>false</activeByDefault>
  109. </activation>
  110. <build>
  111. <plugins>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-compiler-plugin</artifactId>
  115. <version>3.5.1</version>
  116. <configuration>
  117. <annotationProcessors>
  118. cn.binarywang.wx.graal.GraalProcessor,lombok.launch.AnnotationProcessorHider$AnnotationProcessor,lombok.launch.AnnotationProcessorHider$ClaimingProcessor
  119. </annotationProcessors>
  120. <annotationProcessorPaths>
  121. <path>
  122. <groupId>com.github.binarywang</groupId>
  123. <artifactId>weixin-graal</artifactId>
  124. <version>${project.version}</version>
  125. </path>
  126. </annotationProcessorPaths>
  127. </configuration>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. </profile>
  132. </profiles>
  133. </project>