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.

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