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.

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