pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. <?xml version="1.0"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.github.binarywang</groupId>
  5. <artifactId>wx-java</artifactId>
  6. <version>4.3.0</version>
  7. <packaging>pom</packaging>
  8. <name>WxJava - Weixin/Wechat Java SDK</name>
  9. <description>微信开发Java SDK</description>
  10. <url>https://github.com/Wechat-Group/WxJava</url>
  11. <licenses>
  12. <license>
  13. <name>The Apache License, Version 2.0</name>
  14. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  15. </license>
  16. </licenses>
  17. <developers>
  18. <developer>
  19. <name>Daniel Qian</name>
  20. <email>chanjarster@gmail.com</email>
  21. <url>https://github.com/chanjarster</url>
  22. </developer>
  23. <developer>
  24. <name>Binary Wang</name>
  25. <email>binarywang@gmail.com</email>
  26. <url>https://github.com/binarywang</url>
  27. </developer>
  28. <developer>
  29. <name>gaigeshen</name>
  30. <email>gaigeshen@qq.com</email>
  31. <url>https://github.com/gaigeshen</url>
  32. </developer>
  33. <developer>
  34. <name>Liu Mingbo</name>
  35. <email>liumingbo2008@gmail.com</email>
  36. <url>https://github.com/FirenzesEagle</url>
  37. </developer>
  38. <developer>
  39. <name>kakotor</name>
  40. <email>kakotor@gmail.com</email>
  41. <url>https://github.com/kakotor</url>
  42. </developer>
  43. <developer>
  44. <name>xiong</name>
  45. <email>zhaoxiong.tan@gmail.com</email>
  46. <url>https://github.com/ZhaoxiongTan</url>
  47. </developer>
  48. <developer>
  49. <name>LiuJunGuang</name>
  50. <email>aimilin@yeah.net</email>
  51. <url>https://github.com/aimilin6688</url>
  52. </developer>
  53. <developer>
  54. <name>Eric.Tsai</name>
  55. <email>xiaodong.cai.ks@gmail.com</email>
  56. <url>https://github.com/iwareserictsai</url>
  57. </developer>
  58. <developer>
  59. <name>withinthefog</name>
  60. <email>withinthefog@gmail.com</email>
  61. <url>https://github.com/withinthefog</url>
  62. </developer>
  63. <developer>
  64. <name>Keung</name>
  65. <email>dongfuqiang1988@163.com</email>
  66. <url>https://github.com/johnnytung</url>
  67. </developer>
  68. <developer>
  69. <name>Jonk</name>
  70. <email>aimilin@yeah.net</email>
  71. <url>https://github.com/aimilin6688</url>
  72. </developer>
  73. <developer>
  74. <name>ecoolper</name>
  75. <email>crskyp@gmail.com</email>
  76. <url>https://github.com/crskyp</url>
  77. </developer>
  78. <developer>
  79. <name>007</name>
  80. <email>007gzs@gmail.com</email>
  81. <url>https://github.com/007gzs</url>
  82. </developer>
  83. <developer>
  84. <name>Howard Liu</name>
  85. <email>liuxinghao1988@gmail.com</email>
  86. <url>https://github.com/howardliu-cn</url>
  87. </developer>
  88. <developer>
  89. <name>huangxiaoming</name>
  90. <email>huangxm129@163.com</email>
  91. <url>https://github.com/huangxm129</url>
  92. </developer>
  93. </developers>
  94. <scm>
  95. <connection>scm:git:https://github.com/Wechat-Group/WxJava.git</connection>
  96. <developerConnection>scm:git:git@github.com:Wechat-Group/WxJava.git</developerConnection>
  97. <url>https://github.com/Wechat-Group/WxJava</url>
  98. </scm>
  99. <modules>
  100. <module>weixin-graal</module>
  101. <module>weixin-java-common</module>
  102. <module>weixin-java-cp</module>
  103. <module>weixin-java-mp</module>
  104. <module>weixin-java-pay</module>
  105. <module>weixin-java-miniapp</module>
  106. <module>weixin-java-open</module>
  107. <module>weixin-java-qidian</module>
  108. <module>spring-boot-starters</module>
  109. <!--module>weixin-java-osgi</module-->
  110. </modules>
  111. <properties>
  112. <maven.compiler.source>1.8</maven.compiler.source>
  113. <maven.compiler.target>1.8</maven.compiler.target>
  114. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  115. <httpclient.version>4.5.13</httpclient.version>
  116. <jetty.version>9.4.41.v20210516</jetty.version>
  117. </properties>
  118. <dependencyManagement>
  119. <dependencies>
  120. <dependency>
  121. <groupId>com.github.binarywang</groupId>
  122. <artifactId>qrcode-utils</artifactId>
  123. <version>1.1</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.jodd</groupId>
  127. <artifactId>jodd-http</artifactId>
  128. <version>5.2.0</version>
  129. <scope>provided</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.squareup.okhttp3</groupId>
  133. <artifactId>okhttp</artifactId>
  134. <version>4.5.0</version>
  135. <scope>provided</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.httpcomponents</groupId>
  139. <artifactId>httpclient</artifactId>
  140. <version>${httpclient.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.apache.httpcomponents</groupId>
  144. <artifactId>httpmime</artifactId>
  145. <version>${httpclient.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>commons-codec</groupId>
  149. <artifactId>commons-codec</artifactId>
  150. <version>1.10</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>commons-io</groupId>
  154. <artifactId>commons-io</artifactId>
  155. <version>2.7</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.commons</groupId>
  159. <artifactId>commons-lang3</artifactId>
  160. <version>3.10</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.slf4j</groupId>
  164. <artifactId>slf4j-api</artifactId>
  165. <version>1.7.30</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.thoughtworks.xstream</groupId>
  169. <artifactId>xstream</artifactId>
  170. <version>1.4.19</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.google.guava</groupId>
  174. <artifactId>guava</artifactId>
  175. <version>30.0-jre</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.google.code.gson</groupId>
  179. <artifactId>gson</artifactId>
  180. <version>2.8.0</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.fasterxml.jackson.dataformat</groupId>
  184. <artifactId>jackson-dataformat-xml</artifactId>
  185. <version>2.13.0</version>
  186. </dependency>
  187. <!-- 测试所用依赖 -->
  188. <dependency>
  189. <groupId>joda-time</groupId>
  190. <artifactId>joda-time</artifactId>
  191. <version>2.10.6</version>
  192. <scope>test</scope>
  193. </dependency>
  194. <dependency>
  195. <groupId>ch.qos.logback</groupId>
  196. <artifactId>logback-classic</artifactId>
  197. <version>1.2.3</version>
  198. <scope>test</scope>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.google.inject</groupId>
  202. <artifactId>guice</artifactId>
  203. <version>4.2.3</version>
  204. <scope>test</scope>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.testng</groupId>
  208. <artifactId>testng</artifactId>
  209. <version>7.1.0</version>
  210. <scope>test</scope>
  211. <exclusions>
  212. <exclusion>
  213. <artifactId>guice</artifactId>
  214. <groupId>com.google.inject</groupId>
  215. </exclusion>
  216. <exclusion>
  217. <groupId>org.yaml</groupId>
  218. <artifactId>snakeyaml</artifactId>
  219. </exclusion>
  220. </exclusions>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.mockito</groupId>
  224. <artifactId>mockito-all</artifactId>
  225. <version>1.10.19</version>
  226. <scope>test</scope>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.eclipse.jetty</groupId>
  230. <artifactId>jetty-server</artifactId>
  231. <version>${jetty.version}</version>
  232. <scope>test</scope>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.eclipse.jetty</groupId>
  236. <artifactId>jetty-servlet</artifactId>
  237. <version>${jetty.version}</version>
  238. <scope>test</scope>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.assertj</groupId>
  242. <artifactId>assertj-guava</artifactId>
  243. <version>3.0.0</version>
  244. <scope>test</scope>
  245. </dependency>
  246. <dependency>
  247. <groupId>com.github.dreamhead</groupId>
  248. <artifactId>moco-runner</artifactId>
  249. <version>1.1.0</version>
  250. <scope>test</scope>
  251. </dependency>
  252. <dependency>
  253. <groupId>redis.clients</groupId>
  254. <artifactId>jedis</artifactId>
  255. <version>3.3.0</version>
  256. <scope>provided</scope>
  257. </dependency>
  258. <dependency>
  259. <groupId>com.github.jedis-lock</groupId>
  260. <artifactId>jedis-lock</artifactId>
  261. <version>1.0.0</version>
  262. <scope>provided</scope>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.redisson</groupId>
  266. <artifactId>redisson</artifactId>
  267. <version>3.12.0</version>
  268. <optional>true</optional>
  269. <scope>provided</scope>
  270. <exclusions>
  271. <exclusion>
  272. <groupId>com.fasterxml.jackson.core</groupId>
  273. <artifactId>jackson-core</artifactId>
  274. </exclusion>
  275. <exclusion>
  276. <groupId>org.jodd</groupId>
  277. <artifactId>jodd-core</artifactId>
  278. </exclusion>
  279. <exclusion>
  280. <groupId>org.reactivestreams</groupId>
  281. <artifactId>reactive-streams</artifactId>
  282. </exclusion>
  283. </exclusions>
  284. </dependency>
  285. <dependency>
  286. <groupId>org.springframework.data</groupId>
  287. <artifactId>spring-data-redis</artifactId>
  288. <version>2.3.3.RELEASE</version>
  289. <optional>true</optional>
  290. <scope>provided</scope>
  291. </dependency>
  292. <dependency>
  293. <groupId>org.projectlombok</groupId>
  294. <artifactId>lombok</artifactId>
  295. <version>1.18.8</version>
  296. <scope>provided</scope>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.bouncycastle</groupId>
  300. <artifactId>bcpkix-jdk15on</artifactId>
  301. <version>1.68</version>
  302. </dependency>
  303. </dependencies>
  304. </dependencyManagement>
  305. <distributionManagement>
  306. <snapshotRepository>
  307. <id>ossrh</id>
  308. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  309. </snapshotRepository>
  310. <repository>
  311. <id>ossrh</id>
  312. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  313. </repository>
  314. </distributionManagement>
  315. <profiles>
  316. <profile>
  317. <id>doclint-java8-disable</id>
  318. <activation>
  319. <jdk>[1.8,)</jdk>
  320. </activation>
  321. <properties>
  322. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  323. </properties>
  324. </profile>
  325. <profile>
  326. <id>release</id>
  327. <build>
  328. <plugins>
  329. <plugin>
  330. <groupId>org.apache.maven.plugins</groupId>
  331. <artifactId>maven-source-plugin</artifactId>
  332. <version>2.2.1</version>
  333. <executions>
  334. <execution>
  335. <id>attach-sources</id>
  336. <goals>
  337. <goal>jar-no-fork</goal>
  338. </goals>
  339. </execution>
  340. </executions>
  341. </plugin>
  342. <plugin>
  343. <groupId>org.apache.maven.plugins</groupId>
  344. <artifactId>maven-javadoc-plugin</artifactId>
  345. <version>2.9.1</version>
  346. <executions>
  347. <execution>
  348. <id>attach-javadocs</id>
  349. <goals>
  350. <goal>jar</goal>
  351. </goals>
  352. </execution>
  353. </executions>
  354. <configuration>
  355. <additionalparam>${javadoc.opts}</additionalparam>
  356. <charset>UTF-8</charset>
  357. <locale>zh_CN</locale>
  358. </configuration>
  359. </plugin>
  360. <plugin>
  361. <groupId>org.apache.maven.plugins</groupId>
  362. <artifactId>maven-gpg-plugin</artifactId>
  363. <version>1.6</version>
  364. <executions>
  365. <execution>
  366. <id>sign-artifacts</id>
  367. <phase>verify</phase>
  368. <goals>
  369. <goal>sign</goal>
  370. </goals>
  371. </execution>
  372. </executions>
  373. </plugin>
  374. </plugins>
  375. </build>
  376. </profile>
  377. <profile>
  378. <id>native-image</id>
  379. <activation>
  380. <activeByDefault>false</activeByDefault>
  381. </activation>
  382. </profile>
  383. </profiles>
  384. <build>
  385. <pluginManagement>
  386. <plugins>
  387. <plugin>
  388. <groupId>org.apache.maven.plugins</groupId>
  389. <artifactId>maven-surefire-plugin</artifactId>
  390. <version>2.17</version>
  391. <configuration>
  392. <skip>true</skip>
  393. </configuration>
  394. </plugin>
  395. </plugins>
  396. </pluginManagement>
  397. <plugins>
  398. <plugin>
  399. <groupId>org.sonatype.plugins</groupId>
  400. <artifactId>nexus-staging-maven-plugin</artifactId>
  401. <version>1.6.3</version>
  402. <extensions>true</extensions>
  403. <configuration>
  404. <serverId>ossrh</serverId>
  405. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  406. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  407. </configuration>
  408. </plugin>
  409. <plugin>
  410. <groupId>org.apache.maven.plugins</groupId>
  411. <artifactId>maven-release-plugin</artifactId>
  412. <version>2.5.1</version>
  413. <configuration>
  414. <autoVersionSubmodules>true</autoVersionSubmodules>
  415. <useReleaseProfile>false</useReleaseProfile>
  416. <releaseProfiles>release</releaseProfiles>
  417. <goals>deploy</goals>
  418. </configuration>
  419. </plugin>
  420. <plugin>
  421. <groupId>org.apache.maven.plugins</groupId>
  422. <artifactId>maven-checkstyle-plugin</artifactId>
  423. <version>2.17</version>
  424. <configuration>
  425. <skip>true</skip>
  426. <configLocation>quality-checks/google_checks.xml</configLocation>
  427. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  428. <consoleOutput>true</consoleOutput>
  429. <failsOnError>true</failsOnError>
  430. </configuration>
  431. <executions>
  432. <execution>
  433. <phase>verify</phase>
  434. <goals>
  435. <goal>check</goal>
  436. </goals>
  437. </execution>
  438. </executions>
  439. </plugin>
  440. </plugins>
  441. </build>
  442. </project>