pom.xml 3.7 KB

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