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.

312 line
9.5 KiB

  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.github.binarywang</groupId>
  7. <artifactId>weixin-java-parent</artifactId>
  8. <version>2.3.0-SNAPSHOT</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. </developers>
  51. <scm>
  52. <connection>scm:git:https://github.com/wechat-group/weixin-java-tools.git</connection>
  53. <developerConnection>scm:git:git@github.com:wechat-group/weixin-java-tools.git</developerConnection>
  54. <url>https://github.com/wechat-group/weixin-java-tools</url>
  55. </scm>
  56. <modules>
  57. <module>weixin-java-common</module>
  58. <module>weixin-java-cp</module>
  59. <module>weixin-java-mp</module>
  60. <module>weixin-java-osgi</module>
  61. </modules>
  62. <properties>
  63. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  64. <downloadJavadocs>true</downloadJavadocs>
  65. <downloadSources>true</downloadSources>
  66. <httpclient.version>4.5</httpclient.version>
  67. <slf4j.version>1.7.10</slf4j.version>
  68. <logback.version>1.1.2</logback.version>
  69. <jodd-http.version>3.6.7</jodd-http.version>
  70. <jedis.version>2.9.0</jedis.version>
  71. <gson.version>2.7</gson.version>
  72. <guava.version>19.0</guava.version>
  73. <commons-lang3.version>3.5</commons-lang3.version>
  74. <commons-io.version>2.5</commons-io.version>
  75. <commons-codec.version>1.10</commons-codec.version>
  76. <jetty.version>9.3.0.M0</jetty.version>
  77. <jetty-new.version>9.3.10.v20160621</jetty-new.version>
  78. </properties>
  79. <dependencies>
  80. <dependency>
  81. <groupId>org.slf4j</groupId>
  82. <artifactId>slf4j-api</artifactId>
  83. <version>${slf4j.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>ch.qos.logback</groupId>
  87. <artifactId>logback-classic</artifactId>
  88. <version>${logback.version}</version>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.httpcomponents</groupId>
  93. <artifactId>httpmime</artifactId>
  94. <version>${httpclient.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.jodd</groupId>
  98. <artifactId>jodd-http</artifactId>
  99. <version>${jodd-http.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.google.code.gson</groupId>
  103. <artifactId>gson</artifactId>
  104. <version>${gson.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>commons-codec</groupId>
  108. <artifactId>commons-codec</artifactId>
  109. <version>${commons-codec.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>commons-io</groupId>
  113. <artifactId>commons-io</artifactId>
  114. <version>${commons-io.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.commons</groupId>
  118. <artifactId>commons-lang3</artifactId>
  119. <version>${commons-lang3.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>redis.clients</groupId>
  123. <artifactId>jedis</artifactId>
  124. <version>${jedis.version}</version>
  125. <optional>true</optional>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.google.guava</groupId>
  129. <artifactId>guava</artifactId>
  130. </dependency>
  131. </dependencies>
  132. <dependencyManagement>
  133. <dependencies>
  134. <dependency>
  135. <groupId>junit</groupId>
  136. <artifactId>junit</artifactId>
  137. <version>4.11</version>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.google.inject</groupId>
  142. <artifactId>guice</artifactId>
  143. <version>3.0</version>
  144. <scope>test</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.testng</groupId>
  148. <artifactId>testng</artifactId>
  149. <version>6.8.7</version>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.mockito</groupId>
  154. <artifactId>mockito-all</artifactId>
  155. <version>1.9.5</version>
  156. <scope>test</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.eclipse.jetty</groupId>
  160. <artifactId>jetty-server</artifactId>
  161. <version>${jetty.version}</version>
  162. <scope>test</scope>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.eclipse.jetty</groupId>
  166. <artifactId>jetty-servlet</artifactId>
  167. <version>${jetty.version}</version>
  168. <scope>test</scope>
  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. <distributionManagement>
  178. <snapshotRepository>
  179. <id>ossrh</id>
  180. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  181. </snapshotRepository>
  182. <repository>
  183. <id>ossrh</id>
  184. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  185. </repository>
  186. </distributionManagement>
  187. <profiles>
  188. <profile>
  189. <id>doclint-java8-disable</id>
  190. <activation>
  191. <jdk>[1.8,)</jdk>
  192. </activation>
  193. <properties>
  194. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  195. </properties>
  196. </profile>
  197. <profile>
  198. <id>release</id>
  199. <build>
  200. <plugins>
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-source-plugin</artifactId>
  204. <version>2.2.1</version>
  205. <executions>
  206. <execution>
  207. <id>attach-sources</id>
  208. <goals>
  209. <goal>jar-no-fork</goal>
  210. </goals>
  211. </execution>
  212. </executions>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-javadoc-plugin</artifactId>
  217. <version>2.9.1</version>
  218. <executions>
  219. <execution>
  220. <id>attach-javadocs</id>
  221. <goals>
  222. <goal>jar</goal>
  223. </goals>
  224. </execution>
  225. </executions>
  226. <configuration>
  227. <additionalparam>${javadoc.opts}</additionalparam>
  228. <charset>UTF-8</charset>
  229. <locale>zh_CN</locale>
  230. </configuration>
  231. </plugin>
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-gpg-plugin</artifactId>
  235. <version>1.5</version>
  236. <executions>
  237. <execution>
  238. <id>sign-artifacts</id>
  239. <phase>verify</phase>
  240. <goals>
  241. <goal>sign</goal>
  242. </goals>
  243. </execution>
  244. </executions>
  245. </plugin>
  246. </plugins>
  247. </build>
  248. </profile>
  249. </profiles>
  250. <build>
  251. <pluginManagement>
  252. <plugins>
  253. <plugin>
  254. <groupId>org.apache.maven.plugins</groupId>
  255. <artifactId>maven-surefire-plugin</artifactId>
  256. <version>2.17</version>
  257. <configuration>
  258. <skip>true</skip>
  259. </configuration>
  260. </plugin>
  261. </plugins>
  262. </pluginManagement>
  263. <plugins>
  264. <plugin>
  265. <groupId>org.sonatype.plugins</groupId>
  266. <artifactId>nexus-staging-maven-plugin</artifactId>
  267. <version>1.6.3</version>
  268. <extensions>true</extensions>
  269. <configuration>
  270. <serverId>ossrh</serverId>
  271. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  272. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  273. </configuration>
  274. </plugin>
  275. <plugin>
  276. <groupId>org.apache.maven.plugins</groupId>
  277. <artifactId>maven-release-plugin</artifactId>
  278. <version>2.5.1</version>
  279. <configuration>
  280. <autoVersionSubmodules>true</autoVersionSubmodules>
  281. <useReleaseProfile>false</useReleaseProfile>
  282. <releaseProfiles>release</releaseProfiles>
  283. <goals>deploy</goals>
  284. </configuration>
  285. </plugin>
  286. <plugin>
  287. <groupId>org.apache.maven.plugins</groupId>
  288. <artifactId>maven-compiler-plugin</artifactId>
  289. <version>2.3.2</version>
  290. <configuration>
  291. <source>1.7</source>
  292. <target>1.7</target>
  293. <encoding>UTF-8</encoding>
  294. </configuration>
  295. </plugin>
  296. </plugins>
  297. </build>
  298. </project>