dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

420 regels
13 KiB

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