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.

277 lines
8.3 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>1.3.6-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <name>WeiXin Java Tools - Parent</name>
  11. <description>微信公众号、企业号上级POM</description>
  12. <url>https://github.com/binarywang/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. </developer>
  24. <developer>
  25. <name>Binary Wang</name>
  26. <email>binarywang@gmail.com</email>
  27. </developer>
  28. </developers>
  29. <scm>
  30. <connection>scm:git:https://github.com/binarywang/weixin-java-tools.git</connection>
  31. <developerConnection>scm:git:git@github.com:binarywang/weixin-java-tools.git</developerConnection>
  32. <url>https://github.com/binarywang/weixin-java-tools</url>
  33. </scm>
  34. <modules>
  35. <module>weixin-java-common</module>
  36. <module>weixin-java-cp</module>
  37. <module>weixin-java-mp</module>
  38. </modules>
  39. <properties>
  40. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  41. <downloadJavadocs>true</downloadJavadocs>
  42. <downloadSources>true</downloadSources>
  43. <httpclient.version>4.5</httpclient.version>
  44. <slf4j.version>1.7.10</slf4j.version>
  45. <logback.version>1.1.2</logback.version>
  46. <jodd-http.version>3.6.7</jodd-http.version>
  47. <jackson.version>2.7.5</jackson.version>
  48. <gson.version>2.7</gson.version>
  49. <commons-lang3.version>3.4</commons-lang3.version>
  50. </properties>
  51. <dependencies>
  52. <dependency>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>slf4j-api</artifactId>
  55. <version>${slf4j.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>ch.qos.logback</groupId>
  59. <artifactId>logback-classic</artifactId>
  60. <version>${logback.version}</version>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.httpcomponents</groupId>
  65. <artifactId>fluent-hc</artifactId>
  66. <version>${httpclient.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.httpcomponents</groupId>
  70. <artifactId>httpmime</artifactId>
  71. <version>${httpclient.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.jodd</groupId>
  75. <artifactId>jodd-http</artifactId>
  76. <version>${jodd-http.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.google.code.gson</groupId>
  80. <artifactId>gson</artifactId>
  81. <version>${gson.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>commons-codec</groupId>
  85. <artifactId>commons-codec</artifactId>
  86. <version>1.9</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>commons-io</groupId>
  90. <artifactId>commons-io</artifactId>
  91. <version>2.4</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.commons</groupId>
  95. <artifactId>commons-lang3</artifactId>
  96. <version>${commons-lang3.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.fasterxml.jackson.core</groupId>
  100. <artifactId>jackson-databind</artifactId>
  101. <version>${jackson.version}</version>
  102. </dependency>
  103. </dependencies>
  104. <dependencyManagement>
  105. <dependencies>
  106. <dependency>
  107. <groupId>junit</groupId>
  108. <artifactId>junit</artifactId>
  109. <version>4.11</version>
  110. <scope>test</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.google.inject</groupId>
  114. <artifactId>guice</artifactId>
  115. <version>3.0</version>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.testng</groupId>
  120. <artifactId>testng</artifactId>
  121. <version>6.8.7</version>
  122. <scope>test</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.mockito</groupId>
  126. <artifactId>mockito-all</artifactId>
  127. <version>1.9.5</version>
  128. <scope>test</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.eclipse.jetty</groupId>
  132. <artifactId>jetty-server</artifactId>
  133. <version>9.3.0.M0</version>
  134. <scope>test</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.eclipse.jetty</groupId>
  138. <artifactId>jetty-servlet</artifactId>
  139. <version>9.3.0.M0</version>
  140. <scope>test</scope>
  141. </dependency>
  142. </dependencies>
  143. </dependencyManagement>
  144. <distributionManagement>
  145. <snapshotRepository>
  146. <id>ossrh</id>
  147. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  148. </snapshotRepository>
  149. <repository>
  150. <id>ossrh</id>
  151. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  152. </repository>
  153. </distributionManagement>
  154. <profiles>
  155. <profile>
  156. <id>doclint-java8-disable</id>
  157. <activation>
  158. <jdk>[1.8,)</jdk>
  159. </activation>
  160. <properties>
  161. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  162. </properties>
  163. </profile>
  164. <profile>
  165. <id>release</id>
  166. <build>
  167. <plugins>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-source-plugin</artifactId>
  171. <version>2.2.1</version>
  172. <executions>
  173. <execution>
  174. <id>attach-sources</id>
  175. <goals>
  176. <goal>jar-no-fork</goal>
  177. </goals>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-javadoc-plugin</artifactId>
  184. <version>2.9.1</version>
  185. <executions>
  186. <execution>
  187. <id>attach-javadocs</id>
  188. <goals>
  189. <goal>jar</goal>
  190. </goals>
  191. </execution>
  192. </executions>
  193. <configuration>
  194. <additionalparam>${javadoc.opts}</additionalparam>
  195. <charset>UTF-8</charset>
  196. <locale>zh_CN</locale>
  197. </configuration>
  198. </plugin>
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-gpg-plugin</artifactId>
  202. <version>1.5</version>
  203. <executions>
  204. <execution>
  205. <id>sign-artifacts</id>
  206. <phase>verify</phase>
  207. <goals>
  208. <goal>sign</goal>
  209. </goals>
  210. </execution>
  211. </executions>
  212. </plugin>
  213. </plugins>
  214. </build>
  215. </profile>
  216. </profiles>
  217. <build>
  218. <pluginManagement>
  219. <plugins>
  220. <plugin>
  221. <groupId>org.apache.maven.plugins</groupId>
  222. <artifactId>maven-surefire-plugin</artifactId>
  223. <version>2.17</version>
  224. </plugin>
  225. </plugins>
  226. </pluginManagement>
  227. <plugins>
  228. <plugin>
  229. <groupId>org.sonatype.plugins</groupId>
  230. <artifactId>nexus-staging-maven-plugin</artifactId>
  231. <version>1.6.3</version>
  232. <extensions>true</extensions>
  233. <configuration>
  234. <serverId>ossrh</serverId>
  235. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  236. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  237. </configuration>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-release-plugin</artifactId>
  242. <version>2.5.1</version>
  243. <configuration>
  244. <autoVersionSubmodules>true</autoVersionSubmodules>
  245. <useReleaseProfile>false</useReleaseProfile>
  246. <releaseProfiles>release</releaseProfiles>
  247. <goals>deploy</goals>
  248. </configuration>
  249. </plugin>
  250. <plugin>
  251. <groupId>org.apache.maven.plugins</groupId>
  252. <artifactId>maven-compiler-plugin</artifactId>
  253. <version>2.3.2</version>
  254. <configuration>
  255. <source>1.7</source>
  256. <target>1.7</target>
  257. <encoding>UTF-8</encoding>
  258. </configuration>
  259. </plugin>
  260. </plugins>
  261. </build>
  262. </project>