dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

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