dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

pom.xml 12 KiB

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