dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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