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.

393 line
12 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.5.0</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-java-common</module>
  99. <module>weixin-java-cp</module>
  100. <module>weixin-java-mp</module>
  101. <module>weixin-java-pay</module>
  102. <module>weixin-java-miniapp</module>
  103. <module>weixin-java-open</module>
  104. <module>spring-boot-starters/wx-java-pay-spring-boot-starter</module>
  105. <module>spring-boot-starters/wx-java-mp-spring-boot-starter</module>
  106. <module>spring-boot-starters/wx-java-miniapp-spring-boot-starter</module>
  107. <!--module>weixin-java-osgi</module-->
  108. </modules>
  109. <properties>
  110. <maven.compiler.source>1.7</maven.compiler.source>
  111. <maven.compiler.target>1.7</maven.compiler.target>
  112. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  113. <httpclient.version>4.5</httpclient.version>
  114. <jetty.version>9.4.17.v20190418</jetty.version>
  115. </properties>
  116. <dependencyManagement>
  117. <dependencies>
  118. <dependency>
  119. <groupId>com.github.binarywang</groupId>
  120. <artifactId>qrcode-utils</artifactId>
  121. <version>1.1</version>
  122. </dependency>
  123. <!-- 由于jodd-http较新的3.8版本需要jdk8,故而此处采用较低版本 -->
  124. <dependency>
  125. <groupId>org.jodd</groupId>
  126. <artifactId>jodd-http</artifactId>
  127. <version>3.7.1</version>
  128. <scope>provided</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.squareup.okhttp3</groupId>
  132. <artifactId>okhttp</artifactId>
  133. <version>3.7.0</version>
  134. <scope>provided</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.httpcomponents</groupId>
  138. <artifactId>httpclient</artifactId>
  139. <version>${httpclient.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.httpcomponents</groupId>
  143. <artifactId>httpmime</artifactId>
  144. <version>${httpclient.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>commons-codec</groupId>
  148. <artifactId>commons-codec</artifactId>
  149. <version>1.10</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>commons-io</groupId>
  153. <artifactId>commons-io</artifactId>
  154. <version>2.5</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.commons</groupId>
  158. <artifactId>commons-lang3</artifactId>
  159. <version>3.5</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.slf4j</groupId>
  163. <artifactId>slf4j-api</artifactId>
  164. <version>1.7.24</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.thoughtworks.xstream</groupId>
  168. <artifactId>xstream</artifactId>
  169. <version>1.4.11</version>
  170. </dependency>
  171. <!-- 由于guava较新的21.0版本需要jdk8,故而此处采用较低版本 -->
  172. <dependency>
  173. <groupId>com.google.guava</groupId>
  174. <artifactId>guava</artifactId>
  175. <version>20.0</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. <!-- 测试所用依赖 -->
  183. <dependency>
  184. <groupId>joda-time</groupId>
  185. <artifactId>joda-time</artifactId>
  186. <version>2.9.7</version>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>ch.qos.logback</groupId>
  191. <artifactId>logback-classic</artifactId>
  192. <version>1.1.11</version>
  193. <scope>test</scope>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.google.inject</groupId>
  197. <artifactId>guice</artifactId>
  198. <version>3.0</version>
  199. <scope>test</scope>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.testng</groupId>
  203. <artifactId>testng</artifactId>
  204. <version>6.10</version>
  205. <scope>test</scope>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.mockito</groupId>
  209. <artifactId>mockito-all</artifactId>
  210. <version>1.9.5</version>
  211. <scope>test</scope>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.eclipse.jetty</groupId>
  215. <artifactId>jetty-server</artifactId>
  216. <version>${jetty.version}</version>
  217. <scope>test</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.eclipse.jetty</groupId>
  221. <artifactId>jetty-servlet</artifactId>
  222. <version>${jetty.version}</version>
  223. <scope>test</scope>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.assertj</groupId>
  227. <artifactId>assertj-guava</artifactId>
  228. <version>3.0.0</version>
  229. <scope>test</scope>
  230. </dependency>
  231. <dependency>
  232. <groupId>redis.clients</groupId>
  233. <artifactId>jedis</artifactId>
  234. <version>2.9.0</version>
  235. <scope>provided</scope>
  236. </dependency>
  237. <dependency>
  238. <groupId>org.projectlombok</groupId>
  239. <artifactId>lombok</artifactId>
  240. <version>1.18.8</version>
  241. <scope>provided</scope>
  242. </dependency>
  243. </dependencies>
  244. </dependencyManagement>
  245. <distributionManagement>
  246. <snapshotRepository>
  247. <id>ossrh</id>
  248. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  249. </snapshotRepository>
  250. <repository>
  251. <id>ossrh</id>
  252. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  253. </repository>
  254. </distributionManagement>
  255. <profiles>
  256. <profile>
  257. <id>doclint-java8-disable</id>
  258. <activation>
  259. <jdk>[1.8,)</jdk>
  260. </activation>
  261. <properties>
  262. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  263. </properties>
  264. </profile>
  265. <profile>
  266. <id>release</id>
  267. <build>
  268. <plugins>
  269. <plugin>
  270. <groupId>org.apache.maven.plugins</groupId>
  271. <artifactId>maven-source-plugin</artifactId>
  272. <version>2.2.1</version>
  273. <executions>
  274. <execution>
  275. <id>attach-sources</id>
  276. <goals>
  277. <goal>jar-no-fork</goal>
  278. </goals>
  279. </execution>
  280. </executions>
  281. </plugin>
  282. <plugin>
  283. <groupId>org.apache.maven.plugins</groupId>
  284. <artifactId>maven-javadoc-plugin</artifactId>
  285. <version>2.9.1</version>
  286. <executions>
  287. <execution>
  288. <id>attach-javadocs</id>
  289. <goals>
  290. <goal>jar</goal>
  291. </goals>
  292. </execution>
  293. </executions>
  294. <configuration>
  295. <additionalparam>${javadoc.opts}</additionalparam>
  296. <charset>UTF-8</charset>
  297. <locale>zh_CN</locale>
  298. </configuration>
  299. </plugin>
  300. <plugin>
  301. <groupId>org.apache.maven.plugins</groupId>
  302. <artifactId>maven-gpg-plugin</artifactId>
  303. <version>1.6</version>
  304. <executions>
  305. <execution>
  306. <id>sign-artifacts</id>
  307. <phase>verify</phase>
  308. <goals>
  309. <goal>sign</goal>
  310. </goals>
  311. </execution>
  312. </executions>
  313. </plugin>
  314. </plugins>
  315. </build>
  316. </profile>
  317. </profiles>
  318. <build>
  319. <pluginManagement>
  320. <plugins>
  321. <plugin>
  322. <groupId>org.apache.maven.plugins</groupId>
  323. <artifactId>maven-surefire-plugin</artifactId>
  324. <version>2.17</version>
  325. <configuration>
  326. <skip>true</skip>
  327. </configuration>
  328. </plugin>
  329. </plugins>
  330. </pluginManagement>
  331. <plugins>
  332. <plugin>
  333. <groupId>org.sonatype.plugins</groupId>
  334. <artifactId>nexus-staging-maven-plugin</artifactId>
  335. <version>1.6.3</version>
  336. <extensions>true</extensions>
  337. <configuration>
  338. <serverId>ossrh</serverId>
  339. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  340. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  341. </configuration>
  342. </plugin>
  343. <plugin>
  344. <groupId>org.apache.maven.plugins</groupId>
  345. <artifactId>maven-release-plugin</artifactId>
  346. <version>2.5.1</version>
  347. <configuration>
  348. <autoVersionSubmodules>true</autoVersionSubmodules>
  349. <useReleaseProfile>false</useReleaseProfile>
  350. <releaseProfiles>release</releaseProfiles>
  351. <goals>deploy</goals>
  352. </configuration>
  353. </plugin>
  354. <plugin>
  355. <groupId>org.apache.maven.plugins</groupId>
  356. <artifactId>maven-checkstyle-plugin</artifactId>
  357. <version>2.17</version>
  358. <configuration>
  359. <skip>true</skip>
  360. <configLocation>quality-checks/google_checks.xml</configLocation>
  361. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  362. <consoleOutput>true</consoleOutput>
  363. <failsOnError>true</failsOnError>
  364. </configuration>
  365. <executions>
  366. <execution>
  367. <phase>verify</phase>
  368. <goals>
  369. <goal>check</goal>
  370. </goals>
  371. </execution>
  372. </executions>
  373. </plugin>
  374. </plugins>
  375. </build>
  376. </project>