dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

324 lines
9.9 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.5.5.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. </properties>
  104. <dependencies>
  105. <dependency>
  106. <groupId>org.slf4j</groupId>
  107. <artifactId>slf4j-api</artifactId>
  108. <version>${slf4j.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>ch.qos.logback</groupId>
  112. <artifactId>logback-classic</artifactId>
  113. <version>${logback.version}</version>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.httpcomponents</groupId>
  118. <artifactId>httpclient</artifactId>
  119. <version>${httpclient.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.httpcomponents</groupId>
  123. <artifactId>httpmime</artifactId>
  124. <version>${httpclient.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.google.code.gson</groupId>
  128. <artifactId>gson</artifactId>
  129. <version>${gson.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>commons-codec</groupId>
  133. <artifactId>commons-codec</artifactId>
  134. <version>${commons-codec.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>commons-io</groupId>
  138. <artifactId>commons-io</artifactId>
  139. <version>${commons-io.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.commons</groupId>
  143. <artifactId>commons-lang3</artifactId>
  144. <version>${commons-lang3.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.google.guava</groupId>
  148. <artifactId>guava</artifactId>
  149. </dependency>
  150. </dependencies>
  151. <dependencyManagement>
  152. <dependencies>
  153. <dependency>
  154. <groupId>com.google.inject</groupId>
  155. <artifactId>guice</artifactId>
  156. <version>3.0</version>
  157. <scope>test</scope>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.testng</groupId>
  161. <artifactId>testng</artifactId>
  162. <version>6.8.7</version>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.mockito</groupId>
  167. <artifactId>mockito-all</artifactId>
  168. <version>1.9.5</version>
  169. <scope>test</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.eclipse.jetty</groupId>
  173. <artifactId>jetty-server</artifactId>
  174. <version>${jetty.version}</version>
  175. <scope>test</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.eclipse.jetty</groupId>
  179. <artifactId>jetty-servlet</artifactId>
  180. <version>${jetty.version}</version>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.google.guava</groupId>
  185. <artifactId>guava</artifactId>
  186. <version>${guava.version}</version>
  187. </dependency>
  188. </dependencies>
  189. </dependencyManagement>
  190. <distributionManagement>
  191. <snapshotRepository>
  192. <id>ossrh</id>
  193. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  194. </snapshotRepository>
  195. <repository>
  196. <id>ossrh</id>
  197. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  198. </repository>
  199. </distributionManagement>
  200. <profiles>
  201. <profile>
  202. <id>doclint-java8-disable</id>
  203. <activation>
  204. <jdk>[1.8,)</jdk>
  205. </activation>
  206. <properties>
  207. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  208. </properties>
  209. </profile>
  210. <profile>
  211. <id>release</id>
  212. <build>
  213. <plugins>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-source-plugin</artifactId>
  217. <version>2.2.1</version>
  218. <executions>
  219. <execution>
  220. <id>attach-sources</id>
  221. <goals>
  222. <goal>jar-no-fork</goal>
  223. </goals>
  224. </execution>
  225. </executions>
  226. </plugin>
  227. <plugin>
  228. <groupId>org.apache.maven.plugins</groupId>
  229. <artifactId>maven-javadoc-plugin</artifactId>
  230. <version>2.9.1</version>
  231. <executions>
  232. <execution>
  233. <id>attach-javadocs</id>
  234. <goals>
  235. <goal>jar</goal>
  236. </goals>
  237. </execution>
  238. </executions>
  239. <configuration>
  240. <additionalparam>${javadoc.opts}</additionalparam>
  241. <charset>UTF-8</charset>
  242. <locale>zh_CN</locale>
  243. </configuration>
  244. </plugin>
  245. <plugin>
  246. <groupId>org.apache.maven.plugins</groupId>
  247. <artifactId>maven-gpg-plugin</artifactId>
  248. <version>1.5</version>
  249. <executions>
  250. <execution>
  251. <id>sign-artifacts</id>
  252. <phase>verify</phase>
  253. <goals>
  254. <goal>sign</goal>
  255. </goals>
  256. </execution>
  257. </executions>
  258. </plugin>
  259. </plugins>
  260. </build>
  261. </profile>
  262. </profiles>
  263. <build>
  264. <pluginManagement>
  265. <plugins>
  266. <plugin>
  267. <groupId>org.apache.maven.plugins</groupId>
  268. <artifactId>maven-surefire-plugin</artifactId>
  269. <version>2.17</version>
  270. <configuration>
  271. <skip>true</skip>
  272. </configuration>
  273. </plugin>
  274. </plugins>
  275. </pluginManagement>
  276. <plugins>
  277. <plugin>
  278. <groupId>org.sonatype.plugins</groupId>
  279. <artifactId>nexus-staging-maven-plugin</artifactId>
  280. <version>1.6.3</version>
  281. <extensions>true</extensions>
  282. <configuration>
  283. <serverId>ossrh</serverId>
  284. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  285. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  286. </configuration>
  287. </plugin>
  288. <plugin>
  289. <groupId>org.apache.maven.plugins</groupId>
  290. <artifactId>maven-release-plugin</artifactId>
  291. <version>2.5.1</version>
  292. <configuration>
  293. <autoVersionSubmodules>true</autoVersionSubmodules>
  294. <useReleaseProfile>false</useReleaseProfile>
  295. <releaseProfiles>release</releaseProfiles>
  296. <goals>deploy</goals>
  297. </configuration>
  298. </plugin>
  299. <plugin>
  300. <groupId>org.apache.maven.plugins</groupId>
  301. <artifactId>maven-compiler-plugin</artifactId>
  302. <version>3.6.0</version>
  303. <configuration>
  304. <encoding>UTF-8</encoding>
  305. </configuration>
  306. </plugin>
  307. </plugins>
  308. </build>
  309. </project>