dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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