dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

pom.xml 10 KiB

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