dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

291 řádky
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.1</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. <scope>provided</scope>
  113. </dependency>
  114. </dependencies>
  115. <dependencyManagement>
  116. <dependencies>
  117. <dependency>
  118. <groupId>junit</groupId>
  119. <artifactId>junit</artifactId>
  120. <version>4.11</version>
  121. <scope>test</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.google.inject</groupId>
  125. <artifactId>guice</artifactId>
  126. <version>3.0</version>
  127. <scope>test</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.testng</groupId>
  131. <artifactId>testng</artifactId>
  132. <version>6.8.7</version>
  133. <scope>test</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.mockito</groupId>
  137. <artifactId>mockito-all</artifactId>
  138. <version>1.9.5</version>
  139. <scope>test</scope>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.eclipse.jetty</groupId>
  143. <artifactId>jetty-server</artifactId>
  144. <version>${jetty.version}</version>
  145. <scope>test</scope>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.eclipse.jetty</groupId>
  149. <artifactId>jetty-servlet</artifactId>
  150. <version>${jetty.version}</version>
  151. <scope>test</scope>
  152. </dependency>
  153. </dependencies>
  154. </dependencyManagement>
  155. <distributionManagement>
  156. <snapshotRepository>
  157. <id>ossrh</id>
  158. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  159. </snapshotRepository>
  160. <repository>
  161. <id>ossrh</id>
  162. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  163. </repository>
  164. </distributionManagement>
  165. <profiles>
  166. <profile>
  167. <id>doclint-java8-disable</id>
  168. <activation>
  169. <jdk>[1.8,)</jdk>
  170. </activation>
  171. <properties>
  172. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  173. </properties>
  174. </profile>
  175. <profile>
  176. <id>release</id>
  177. <build>
  178. <plugins>
  179. <plugin>
  180. <groupId>org.apache.maven.plugins</groupId>
  181. <artifactId>maven-source-plugin</artifactId>
  182. <version>2.2.1</version>
  183. <executions>
  184. <execution>
  185. <id>attach-sources</id>
  186. <goals>
  187. <goal>jar-no-fork</goal>
  188. </goals>
  189. </execution>
  190. </executions>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-javadoc-plugin</artifactId>
  195. <version>2.9.1</version>
  196. <executions>
  197. <execution>
  198. <id>attach-javadocs</id>
  199. <goals>
  200. <goal>jar</goal>
  201. </goals>
  202. </execution>
  203. </executions>
  204. <configuration>
  205. <additionalparam>${javadoc.opts}</additionalparam>
  206. <charset>UTF-8</charset>
  207. <locale>zh_CN</locale>
  208. </configuration>
  209. </plugin>
  210. <plugin>
  211. <groupId>org.apache.maven.plugins</groupId>
  212. <artifactId>maven-gpg-plugin</artifactId>
  213. <version>1.5</version>
  214. <executions>
  215. <execution>
  216. <id>sign-artifacts</id>
  217. <phase>verify</phase>
  218. <goals>
  219. <goal>sign</goal>
  220. </goals>
  221. </execution>
  222. </executions>
  223. </plugin>
  224. </plugins>
  225. </build>
  226. </profile>
  227. </profiles>
  228. <build>
  229. <pluginManagement>
  230. <plugins>
  231. <plugin>
  232. <groupId>org.apache.maven.plugins</groupId>
  233. <artifactId>maven-surefire-plugin</artifactId>
  234. <version>2.17</version>
  235. <configuration>
  236. <skip>true</skip>
  237. </configuration>
  238. </plugin>
  239. </plugins>
  240. </pluginManagement>
  241. <plugins>
  242. <plugin>
  243. <groupId>org.sonatype.plugins</groupId>
  244. <artifactId>nexus-staging-maven-plugin</artifactId>
  245. <version>1.6.3</version>
  246. <extensions>true</extensions>
  247. <configuration>
  248. <serverId>ossrh</serverId>
  249. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  250. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  251. </configuration>
  252. </plugin>
  253. <plugin>
  254. <groupId>org.apache.maven.plugins</groupId>
  255. <artifactId>maven-release-plugin</artifactId>
  256. <version>2.5.1</version>
  257. <configuration>
  258. <autoVersionSubmodules>true</autoVersionSubmodules>
  259. <useReleaseProfile>false</useReleaseProfile>
  260. <releaseProfiles>release</releaseProfiles>
  261. <goals>deploy</goals>
  262. </configuration>
  263. </plugin>
  264. <plugin>
  265. <groupId>org.apache.maven.plugins</groupId>
  266. <artifactId>maven-compiler-plugin</artifactId>
  267. <version>2.3.2</version>
  268. <configuration>
  269. <source>1.7</source>
  270. <target>1.7</target>
  271. <encoding>UTF-8</encoding>
  272. </configuration>
  273. </plugin>
  274. </plugins>
  275. </build>
  276. </project>