dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

295 行
8.9 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. <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>redis.clients</groupId>
  105. <artifactId>jedis</artifactId>
  106. <version>${jedis.version}</version>
  107. <scope>provided</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.google.guava</groupId>
  111. <artifactId>guava</artifactId>
  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. <dependency>
  153. <groupId>com.google.guava</groupId>
  154. <artifactId>guava</artifactId>
  155. <version>${guava.version}</version>
  156. </dependency>
  157. </dependencies>
  158. </dependencyManagement>
  159. <distributionManagement>
  160. <snapshotRepository>
  161. <id>ossrh</id>
  162. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  163. </snapshotRepository>
  164. <repository>
  165. <id>ossrh</id>
  166. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  167. </repository>
  168. </distributionManagement>
  169. <profiles>
  170. <profile>
  171. <id>doclint-java8-disable</id>
  172. <activation>
  173. <jdk>[1.8,)</jdk>
  174. </activation>
  175. <properties>
  176. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  177. </properties>
  178. </profile>
  179. <profile>
  180. <id>release</id>
  181. <build>
  182. <plugins>
  183. <plugin>
  184. <groupId>org.apache.maven.plugins</groupId>
  185. <artifactId>maven-source-plugin</artifactId>
  186. <version>2.2.1</version>
  187. <executions>
  188. <execution>
  189. <id>attach-sources</id>
  190. <goals>
  191. <goal>jar-no-fork</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-javadoc-plugin</artifactId>
  199. <version>2.9.1</version>
  200. <executions>
  201. <execution>
  202. <id>attach-javadocs</id>
  203. <goals>
  204. <goal>jar</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. <configuration>
  209. <additionalparam>${javadoc.opts}</additionalparam>
  210. <charset>UTF-8</charset>
  211. <locale>zh_CN</locale>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <groupId>org.apache.maven.plugins</groupId>
  216. <artifactId>maven-gpg-plugin</artifactId>
  217. <version>1.5</version>
  218. <executions>
  219. <execution>
  220. <id>sign-artifacts</id>
  221. <phase>verify</phase>
  222. <goals>
  223. <goal>sign</goal>
  224. </goals>
  225. </execution>
  226. </executions>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. </profile>
  231. </profiles>
  232. <build>
  233. <pluginManagement>
  234. <plugins>
  235. <plugin>
  236. <groupId>org.apache.maven.plugins</groupId>
  237. <artifactId>maven-surefire-plugin</artifactId>
  238. <version>2.17</version>
  239. <configuration>
  240. <skip>true</skip>
  241. </configuration>
  242. </plugin>
  243. </plugins>
  244. </pluginManagement>
  245. <plugins>
  246. <plugin>
  247. <groupId>org.sonatype.plugins</groupId>
  248. <artifactId>nexus-staging-maven-plugin</artifactId>
  249. <version>1.6.3</version>
  250. <extensions>true</extensions>
  251. <configuration>
  252. <serverId>ossrh</serverId>
  253. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  254. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  255. </configuration>
  256. </plugin>
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-release-plugin</artifactId>
  260. <version>2.5.1</version>
  261. <configuration>
  262. <autoVersionSubmodules>true</autoVersionSubmodules>
  263. <useReleaseProfile>false</useReleaseProfile>
  264. <releaseProfiles>release</releaseProfiles>
  265. <goals>deploy</goals>
  266. </configuration>
  267. </plugin>
  268. <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-compiler-plugin</artifactId>
  271. <version>2.3.2</version>
  272. <configuration>
  273. <source>1.7</source>
  274. <target>1.7</target>
  275. <encoding>UTF-8</encoding>
  276. </configuration>
  277. </plugin>
  278. </plugins>
  279. </build>
  280. </project>