dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

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