pom.xml 15 KB

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