dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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