dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

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