dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

348 строки
11 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" xmlns="http://maven.apache.org/POM/4.0.0">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.github.binarywang</groupId>
  7. <artifactId>weixin-java-parent</artifactId>
  8. <version>2.6.1.BETA</version>
  9. <packaging>pom</packaging>
  10. <name>WeiXin Java Tools - Parent</name>
  11. <description>微信公众号、企业号上级POM</description>
  12. <url>https://github.com/wechat-group/weixin-java-tools</url>
  13. <licenses>
  14. <license>
  15. <name>The Apache License, Version 2.0</name>
  16. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  17. </license>
  18. </licenses>
  19. <developers>
  20. <developer>
  21. <name>Daniel Qian</name>
  22. <email>chanjarster@gmail.com</email>
  23. <url>https://github.com/chanjarster</url>
  24. </developer>
  25. <developer>
  26. <name>Binary Wang</name>
  27. <email>binarywang@gmail.com</email>
  28. <url>https://github.com/binarywang</url>
  29. </developer>
  30. <developer>
  31. <name>gaigeshen</name>
  32. <email>gaigeshen@qq.com</email>
  33. <url>https://github.com/gaigeshen</url>
  34. </developer>
  35. <developer>
  36. <name>Liu Mingbo</name>
  37. <email>liumingbo2008@gmail.com</email>
  38. <url>https://github.com/FirenzesEagle</url>
  39. </developer>
  40. <developer>
  41. <name>kakotor</name>
  42. <email>kakotor@gmail.com</email>
  43. <url>https://github.com/kakotor</url>
  44. </developer>
  45. <developer>
  46. <name>xiong</name>
  47. <email>zhaoxiong.tan@gmail.com</email>
  48. <url>https://github.com/ZhaoxiongTan</url>
  49. </developer>
  50. <developer>
  51. <name>LiuJunGuang</name>
  52. <email>aimilin@yeah.net</email>
  53. <url>https://github.com/aimilin6688</url>
  54. </developer>
  55. <developer>
  56. <name>Eric.Tsai</name>
  57. <email>xiaodong.cai.ks@gmail.com</email>
  58. <url>https://github.com/iwareserictsai</url>
  59. </developer>
  60. <developer>
  61. <name>withinthefog</name>
  62. <email>withinthefog@gmail.com</email>
  63. <url>https://github.com/withinthefog</url>
  64. </developer>
  65. <developer>
  66. <name>Keung</name>
  67. <email>dongfuqiang1988@163.com</email>
  68. <url>https://github.com/johnnytung</url>
  69. </developer>
  70. <developer>
  71. <name>Jonk</name>
  72. <email>aimilin@yeah.net</email>
  73. <url>https://github.com/aimilin6688</url>
  74. </developer>
  75. <developer>
  76. <name>ecoolper</name>
  77. <email>crskyp@gmail.com</email>
  78. <url>https://github.com/crskyp</url>
  79. </developer>
  80. </developers>
  81. <scm>
  82. <connection>scm:git:https://github.com/wechat-group/weixin-java-tools.git</connection>
  83. <developerConnection>scm:git:git@github.com:wechat-group/weixin-java-tools.git</developerConnection>
  84. <url>https://github.com/wechat-group/weixin-java-tools</url>
  85. </scm>
  86. <modules>
  87. <module>weixin-java-common</module>
  88. <module>weixin-java-cp</module>
  89. <module>weixin-java-mp</module>
  90. <module>weixin-java-pay</module>
  91. <!--module>weixin-java-osgi</module-->
  92. </modules>
  93. <properties>
  94. <maven.compiler.source>1.7</maven.compiler.source>
  95. <maven.compiler.target>1.7</maven.compiler.target>
  96. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  97. <downloadJavadocs>true</downloadJavadocs>
  98. <downloadSources>true</downloadSources>
  99. <httpclient.version>4.5</httpclient.version>
  100. <slf4j.version>1.7.10</slf4j.version>
  101. <logback.version>1.1.2</logback.version>
  102. <gson.version>2.7</gson.version>
  103. <guava.version>19.0</guava.version>
  104. <commons-lang3.version>3.5</commons-lang3.version>
  105. <commons-io.version>2.5</commons-io.version>
  106. <commons-codec.version>1.10</commons-codec.version>
  107. <jetty.version>9.3.0.RC0</jetty.version>
  108. <jedis.version>2.9.0</jedis.version>
  109. <!-- 由于较新的3.8版本需要jdk8,故而此处采用较低版本 -->
  110. <jodd-http.version>3.7</jodd-http.version>
  111. </properties>
  112. <dependencies>
  113. <dependency>
  114. <groupId>org.jodd</groupId>
  115. <artifactId>jodd-http</artifactId>
  116. <version>${jodd-http.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.squareup.okhttp3</groupId>
  120. <artifactId>okhttp</artifactId>
  121. <version>3.7.0</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.slf4j</groupId>
  125. <artifactId>slf4j-api</artifactId>
  126. <version>${slf4j.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.thoughtworks.xstream</groupId>
  130. <artifactId>xstream</artifactId>
  131. <version>1.4.9</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>ch.qos.logback</groupId>
  135. <artifactId>logback-classic</artifactId>
  136. <version>${logback.version}</version>
  137. <scope>test</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.apache.httpcomponents</groupId>
  141. <artifactId>httpclient</artifactId>
  142. <version>${httpclient.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.apache.httpcomponents</groupId>
  146. <artifactId>httpmime</artifactId>
  147. <version>${httpclient.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.google.code.gson</groupId>
  151. <artifactId>gson</artifactId>
  152. <version>${gson.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>commons-codec</groupId>
  156. <artifactId>commons-codec</artifactId>
  157. <version>${commons-codec.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>commons-io</groupId>
  161. <artifactId>commons-io</artifactId>
  162. <version>${commons-io.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.commons</groupId>
  166. <artifactId>commons-lang3</artifactId>
  167. <version>${commons-lang3.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.google.guava</groupId>
  171. <artifactId>guava</artifactId>
  172. <version>${guava.version}</version>
  173. </dependency>
  174. </dependencies>
  175. <dependencyManagement>
  176. <dependencies>
  177. <dependency>
  178. <groupId>com.google.inject</groupId>
  179. <artifactId>guice</artifactId>
  180. <version>3.0</version>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.testng</groupId>
  185. <artifactId>testng</artifactId>
  186. <version>6.8.7</version>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.mockito</groupId>
  191. <artifactId>mockito-all</artifactId>
  192. <version>1.9.5</version>
  193. <scope>test</scope>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.eclipse.jetty</groupId>
  197. <artifactId>jetty-server</artifactId>
  198. <version>${jetty.version}</version>
  199. <scope>test</scope>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.eclipse.jetty</groupId>
  203. <artifactId>jetty-servlet</artifactId>
  204. <version>${jetty.version}</version>
  205. <scope>test</scope>
  206. </dependency>
  207. <dependency>
  208. <groupId>redis.clients</groupId>
  209. <artifactId>jedis</artifactId>
  210. <version>${jedis.version}</version>
  211. </dependency>
  212. </dependencies>
  213. </dependencyManagement>
  214. <distributionManagement>
  215. <snapshotRepository>
  216. <id>ossrh</id>
  217. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  218. </snapshotRepository>
  219. <repository>
  220. <id>ossrh</id>
  221. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  222. </repository>
  223. </distributionManagement>
  224. <profiles>
  225. <profile>
  226. <id>doclint-java8-disable</id>
  227. <activation>
  228. <jdk>[1.8,)</jdk>
  229. </activation>
  230. <properties>
  231. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  232. </properties>
  233. </profile>
  234. <profile>
  235. <id>release</id>
  236. <build>
  237. <plugins>
  238. <plugin>
  239. <groupId>org.apache.maven.plugins</groupId>
  240. <artifactId>maven-source-plugin</artifactId>
  241. <version>2.2.1</version>
  242. <executions>
  243. <execution>
  244. <id>attach-sources</id>
  245. <goals>
  246. <goal>jar-no-fork</goal>
  247. </goals>
  248. </execution>
  249. </executions>
  250. </plugin>
  251. <plugin>
  252. <groupId>org.apache.maven.plugins</groupId>
  253. <artifactId>maven-javadoc-plugin</artifactId>
  254. <version>2.9.1</version>
  255. <executions>
  256. <execution>
  257. <id>attach-javadocs</id>
  258. <goals>
  259. <goal>jar</goal>
  260. </goals>
  261. </execution>
  262. </executions>
  263. <configuration>
  264. <additionalparam>${javadoc.opts}</additionalparam>
  265. <charset>UTF-8</charset>
  266. <locale>zh_CN</locale>
  267. </configuration>
  268. </plugin>
  269. <plugin>
  270. <groupId>org.apache.maven.plugins</groupId>
  271. <artifactId>maven-gpg-plugin</artifactId>
  272. <version>1.5</version>
  273. <executions>
  274. <execution>
  275. <id>sign-artifacts</id>
  276. <phase>verify</phase>
  277. <goals>
  278. <goal>sign</goal>
  279. </goals>
  280. </execution>
  281. </executions>
  282. </plugin>
  283. </plugins>
  284. </build>
  285. </profile>
  286. </profiles>
  287. <build>
  288. <pluginManagement>
  289. <plugins>
  290. <plugin>
  291. <groupId>org.apache.maven.plugins</groupId>
  292. <artifactId>maven-surefire-plugin</artifactId>
  293. <version>2.17</version>
  294. <configuration>
  295. <skip>true</skip>
  296. </configuration>
  297. </plugin>
  298. </plugins>
  299. </pluginManagement>
  300. <plugins>
  301. <plugin>
  302. <groupId>org.sonatype.plugins</groupId>
  303. <artifactId>nexus-staging-maven-plugin</artifactId>
  304. <version>1.6.3</version>
  305. <extensions>true</extensions>
  306. <configuration>
  307. <serverId>ossrh</serverId>
  308. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  309. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  310. </configuration>
  311. </plugin>
  312. <plugin>
  313. <groupId>org.apache.maven.plugins</groupId>
  314. <artifactId>maven-release-plugin</artifactId>
  315. <version>2.5.1</version>
  316. <configuration>
  317. <autoVersionSubmodules>true</autoVersionSubmodules>
  318. <useReleaseProfile>false</useReleaseProfile>
  319. <releaseProfiles>release</releaseProfiles>
  320. <goals>deploy</goals>
  321. </configuration>
  322. </plugin>
  323. <plugin>
  324. <groupId>org.apache.maven.plugins</groupId>
  325. <artifactId>maven-compiler-plugin</artifactId>
  326. <version>3.6.0</version>
  327. <configuration>
  328. <encoding>UTF-8</encoding>
  329. </configuration>
  330. </plugin>
  331. </plugins>
  332. </build>
  333. </project>