pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  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.6.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>https://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. <developer>
  94. <name>xiaohe</name>
  95. <email>xiaohe@53jy.net</email>
  96. <url>https://github.com/xiaohe-53</url>
  97. </developer>
  98. <developer>
  99. <name>Wang_Wong</name>
  100. <email>wangkaikate@163.com</email>
  101. <url>https://github.com/0katekate0</url>
  102. </developer>
  103. <developer>
  104. <name>Bincent</name>
  105. <email>hongbin.hsu@qq.com</email>
  106. <url>https://gitee.com/bincent</url>
  107. </developer>
  108. </developers>
  109. <scm>
  110. <connection>scm:git:https://github.com/Wechat-Group/WxJava.git</connection>
  111. <developerConnection>scm:git:git@github.com:Wechat-Group/WxJava.git</developerConnection>
  112. <url>https://github.com/Wechat-Group/WxJava</url>
  113. </scm>
  114. <modules>
  115. <module>weixin-graal</module>
  116. <module>weixin-java-common</module>
  117. <module>weixin-java-cp</module>
  118. <module>weixin-java-mp</module>
  119. <module>weixin-java-pay</module>
  120. <module>weixin-java-miniapp</module>
  121. <module>weixin-java-open</module>
  122. <module>weixin-java-qidian</module>
  123. <module>weixin-java-channel</module>
  124. <module>spring-boot-starters</module>
  125. <!--module>weixin-java-osgi</module-->
  126. </modules>
  127. <properties>
  128. <maven.compiler.source>1.8</maven.compiler.source>
  129. <maven.compiler.target>1.8</maven.compiler.target>
  130. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  131. <httpclient.version>4.5.13</httpclient.version>
  132. <jetty.version>9.4.51.v20230217</jetty.version>
  133. <!-- 这个不能用10以上的版本,不支持jdk8-->
  134. </properties>
  135. <dependencyManagement>
  136. <dependencies>
  137. <dependency>
  138. <groupId>com.github.binarywang</groupId>
  139. <artifactId>qrcode-utils</artifactId>
  140. <version>1.3</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.jodd</groupId>
  144. <artifactId>jodd-http</artifactId>
  145. <version>6.3.0</version>
  146. <scope>provided</scope>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.squareup.okhttp3</groupId>
  150. <artifactId>okhttp</artifactId>
  151. <version>4.5.0</version>
  152. <scope>provided</scope>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.apache.httpcomponents</groupId>
  156. <artifactId>httpclient</artifactId>
  157. <version>${httpclient.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.apache.httpcomponents</groupId>
  161. <artifactId>httpmime</artifactId>
  162. <version>${httpclient.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>commons-codec</groupId>
  166. <artifactId>commons-codec</artifactId>
  167. <version>1.13</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>commons-io</groupId>
  171. <artifactId>commons-io</artifactId>
  172. <version>2.7</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.apache.commons</groupId>
  176. <artifactId>commons-lang3</artifactId>
  177. <version>3.10</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.slf4j</groupId>
  181. <artifactId>slf4j-api</artifactId>
  182. <version>1.7.30</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>com.thoughtworks.xstream</groupId>
  186. <artifactId>xstream</artifactId>
  187. <version>1.4.20</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.google.guava</groupId>
  191. <artifactId>guava</artifactId>
  192. <version>32.1.2-jre</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>com.google.code.gson</groupId>
  196. <artifactId>gson</artifactId>
  197. <version>2.10.1</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.fasterxml.jackson.dataformat</groupId>
  201. <artifactId>jackson-dataformat-xml</artifactId>
  202. <version>2.15.2</version>
  203. </dependency>
  204. <!-- 测试所用依赖 -->
  205. <dependency>
  206. <groupId>joda-time</groupId>
  207. <artifactId>joda-time</artifactId>
  208. <version>2.10.6</version>
  209. <scope>test</scope>
  210. </dependency>
  211. <dependency>
  212. <groupId>ch.qos.logback</groupId>
  213. <artifactId>logback-classic</artifactId>
  214. <version>1.3.12</version>
  215. <scope>test</scope>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.google.inject</groupId>
  219. <artifactId>guice</artifactId>
  220. <version>4.2.3</version>
  221. <scope>test</scope>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.testng</groupId>
  225. <artifactId>testng</artifactId>
  226. <version>7.5.1</version>
  227. <!-- 这个不能用7.6以上的版本,不支持jdk8-->
  228. <scope>test</scope>
  229. <exclusions>
  230. <exclusion>
  231. <artifactId>guice</artifactId>
  232. <groupId>com.google.inject</groupId>
  233. </exclusion>
  234. <exclusion>
  235. <groupId>org.yaml</groupId>
  236. <artifactId>snakeyaml</artifactId>
  237. </exclusion>
  238. </exclusions>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.mockito</groupId>
  242. <artifactId>mockito-all</artifactId>
  243. <version>1.10.19</version>
  244. <scope>test</scope>
  245. </dependency>
  246. <dependency>
  247. <groupId>org.eclipse.jetty</groupId>
  248. <artifactId>jetty-server</artifactId>
  249. <version>${jetty.version}</version>
  250. <scope>test</scope>
  251. </dependency>
  252. <dependency>
  253. <groupId>org.eclipse.jetty</groupId>
  254. <artifactId>jetty-servlet</artifactId>
  255. <version>${jetty.version}</version>
  256. <scope>test</scope>
  257. </dependency>
  258. <dependency>
  259. <groupId>org.assertj</groupId>
  260. <artifactId>assertj-guava</artifactId>
  261. <version>3.0.0</version>
  262. <scope>test</scope>
  263. </dependency>
  264. <dependency>
  265. <groupId>com.github.dreamhead</groupId>
  266. <artifactId>moco-runner</artifactId>
  267. <version>1.1.0</version>
  268. <scope>test</scope>
  269. </dependency>
  270. <dependency>
  271. <groupId>redis.clients</groupId>
  272. <artifactId>jedis</artifactId>
  273. <version>3.3.0</version>
  274. <scope>provided</scope>
  275. </dependency>
  276. <dependency>
  277. <groupId>com.github.jedis-lock</groupId>
  278. <artifactId>jedis-lock</artifactId>
  279. <version>1.0.0</version>
  280. <scope>provided</scope>
  281. </dependency>
  282. <dependency>
  283. <groupId>org.redisson</groupId>
  284. <artifactId>redisson</artifactId>
  285. <version>3.23.3</version>
  286. <optional>true</optional>
  287. <scope>provided</scope>
  288. <exclusions>
  289. <exclusion>
  290. <groupId>com.fasterxml.jackson.core</groupId>
  291. <artifactId>jackson-core</artifactId>
  292. </exclusion>
  293. <exclusion>
  294. <groupId>org.jodd</groupId>
  295. <artifactId>jodd-core</artifactId>
  296. </exclusion>
  297. <exclusion>
  298. <groupId>org.reactivestreams</groupId>
  299. <artifactId>reactive-streams</artifactId>
  300. </exclusion>
  301. </exclusions>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.springframework.data</groupId>
  305. <artifactId>spring-data-redis</artifactId>
  306. <version>2.3.3.RELEASE</version>
  307. <optional>true</optional>
  308. <scope>provided</scope>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.projectlombok</groupId>
  312. <artifactId>lombok</artifactId>
  313. <version>1.18.24</version>
  314. <scope>provided</scope>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.bouncycastle</groupId>
  318. <artifactId>bcpkix-jdk15on</artifactId>
  319. <version>1.70</version>
  320. </dependency>
  321. </dependencies>
  322. </dependencyManagement>
  323. <distributionManagement>
  324. <snapshotRepository>
  325. <id>ossrh</id>
  326. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  327. </snapshotRepository>
  328. <repository>
  329. <id>ossrh</id>
  330. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  331. </repository>
  332. </distributionManagement>
  333. <profiles>
  334. <profile>
  335. <id>doclint-java8-disable</id>
  336. <activation>
  337. <jdk>[1.8,)</jdk>
  338. </activation>
  339. <properties>
  340. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  341. </properties>
  342. </profile>
  343. <profile>
  344. <id>release</id>
  345. <build>
  346. <plugins>
  347. <plugin>
  348. <groupId>org.apache.maven.plugins</groupId>
  349. <artifactId>maven-source-plugin</artifactId>
  350. <version>3.1.0</version>
  351. <executions>
  352. <execution>
  353. <id>attach-sources</id>
  354. <goals>
  355. <goal>jar-no-fork</goal>
  356. </goals>
  357. </execution>
  358. </executions>
  359. </plugin>
  360. <plugin>
  361. <groupId>org.apache.maven.plugins</groupId>
  362. <artifactId>maven-javadoc-plugin</artifactId>
  363. <version>2.9.1</version>
  364. <executions>
  365. <execution>
  366. <id>attach-javadocs</id>
  367. <goals>
  368. <goal>jar</goal>
  369. </goals>
  370. </execution>
  371. </executions>
  372. <configuration>
  373. <additionalparam>${javadoc.opts}</additionalparam>
  374. <charset>UTF-8</charset>
  375. <locale>zh_CN</locale>
  376. </configuration>
  377. </plugin>
  378. <plugin>
  379. <groupId>org.apache.maven.plugins</groupId>
  380. <artifactId>maven-gpg-plugin</artifactId>
  381. <version>3.1.0</version>
  382. <executions>
  383. <execution>
  384. <id>sign-artifacts</id>
  385. <phase>verify</phase>
  386. <goals>
  387. <goal>sign</goal>
  388. </goals>
  389. </execution>
  390. </executions>
  391. </plugin>
  392. </plugins>
  393. </build>
  394. </profile>
  395. <profile>
  396. <id>native-image</id>
  397. <activation>
  398. <activeByDefault>false</activeByDefault>
  399. </activation>
  400. </profile>
  401. </profiles>
  402. <build>
  403. <pluginManagement>
  404. <plugins>
  405. <plugin>
  406. <groupId>org.apache.maven.plugins</groupId>
  407. <artifactId>maven-surefire-plugin</artifactId>
  408. <version>2.17</version>
  409. <configuration>
  410. <skip>true</skip>
  411. </configuration>
  412. </plugin>
  413. </plugins>
  414. </pluginManagement>
  415. <plugins>
  416. <plugin>
  417. <groupId>org.sonatype.plugins</groupId>
  418. <artifactId>nexus-staging-maven-plugin</artifactId>
  419. <version>1.6.3</version>
  420. <extensions>true</extensions>
  421. <configuration>
  422. <serverId>ossrh</serverId>
  423. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  424. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  425. </configuration>
  426. </plugin>
  427. <plugin>
  428. <groupId>org.apache.maven.plugins</groupId>
  429. <artifactId>maven-release-plugin</artifactId>
  430. <version>2.5.1</version>
  431. <configuration>
  432. <autoVersionSubmodules>true</autoVersionSubmodules>
  433. <useReleaseProfile>false</useReleaseProfile>
  434. <releaseProfiles>release</releaseProfiles>
  435. <goals>deploy</goals>
  436. </configuration>
  437. </plugin>
  438. <plugin>
  439. <groupId>org.apache.maven.plugins</groupId>
  440. <artifactId>maven-checkstyle-plugin</artifactId>
  441. <version>2.17</version>
  442. <configuration>
  443. <skip>true</skip>
  444. <configLocation>quality-checks/google_checks.xml</configLocation>
  445. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  446. <consoleOutput>true</consoleOutput>
  447. <failsOnError>true</failsOnError>
  448. </configuration>
  449. <executions>
  450. <execution>
  451. <phase>verify</phase>
  452. <goals>
  453. <goal>check</goal>
  454. </goals>
  455. </execution>
  456. </executions>
  457. </plugin>
  458. </plugins>
  459. </build>
  460. </project>