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.

336 righe
10 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.4.5.BETA</version>
  9. <packaging>pom</packaging>
  10. <name>WeiXin Java Tools - Parent</name>
  11. <description>微信公众号、企业号上级POM</description>
  12. <url>https://github.com/wechat-group/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. <url>https://github.com/chanjarster</url>
  24. </developer>
  25. <developer>
  26. <name>Binary Wang</name>
  27. <email>binarywang@gmail.com</email>
  28. <url>https://github.com/binarywang</url>
  29. </developer>
  30. <developer>
  31. <name>gaigeshen</name>
  32. <email>gaigeshen@qq.com</email>
  33. <url>https://github.com/gaigeshen</url>
  34. </developer>
  35. <developer>
  36. <name>Liu Mingbo</name>
  37. <email>liumingbo2008@gmail.com</email>
  38. <url>https://github.com/FirenzesEagle</url>
  39. </developer>
  40. <developer>
  41. <name>kakotor</name>
  42. <email>kakotor@gmail.com</email>
  43. <url>https://github.com/kakotor</url>
  44. </developer>
  45. <developer>
  46. <name>xiong</name>
  47. <email>zhaoxiong.tan@gmail.com</email>
  48. <url>https://github.com/ZhaoxiongTan</url>
  49. </developer>
  50. <developer>
  51. <name>LiuJunGuang</name>
  52. <email>aimilin@yeah.net</email>
  53. <url>https://github.com/aimilin6688</url>
  54. </developer>
  55. <developer>
  56. <name>Eric.Tsai</name>
  57. <email>xiaodong.cai.ks@gmail.com</email>
  58. <url>https://github.com/iwareserictsai</url>
  59. </developer>
  60. <developer>
  61. <name>withinthefog</name>
  62. <email>withinthefog@gmail.com</email>
  63. <url>https://github.com/withinthefog</url>
  64. </developer>
  65. <developer>
  66. <name>Keung</name>
  67. <email>dongfuqiang1988@163.com</email>
  68. <url>https://github.com/johnnytung</url>
  69. </developer>
  70. <developer>
  71. <name>Jonk</name>
  72. <email>aimilin@yeah.net</email>
  73. <url>https://github.com/aimilin6688</url>
  74. </developer>
  75. </developers>
  76. <scm>
  77. <connection>scm:git:https://github.com/wechat-group/weixin-java-tools.git</connection>
  78. <developerConnection>scm:git:git@github.com:wechat-group/weixin-java-tools.git</developerConnection>
  79. <url>https://github.com/wechat-group/weixin-java-tools</url>
  80. </scm>
  81. <modules>
  82. <module>weixin-java-common</module>
  83. <module>weixin-java-cp</module>
  84. <module>weixin-java-mp</module>
  85. <module>weixin-java-osgi</module>
  86. </modules>
  87. <properties>
  88. <maven.compiler.source>1.7</maven.compiler.source>
  89. <maven.compiler.target>1.7</maven.compiler.target>
  90. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  91. <downloadJavadocs>true</downloadJavadocs>
  92. <downloadSources>true</downloadSources>
  93. <httpclient.version>4.5</httpclient.version>
  94. <slf4j.version>1.7.10</slf4j.version>
  95. <logback.version>1.1.2</logback.version>
  96. <jedis.version>2.9.0</jedis.version>
  97. <gson.version>2.7</gson.version>
  98. <guava.version>19.0</guava.version>
  99. <commons-lang3.version>3.5</commons-lang3.version>
  100. <commons-io.version>2.5</commons-io.version>
  101. <commons-codec.version>1.10</commons-codec.version>
  102. <jetty.version>9.3.0.RC0</jetty.version>
  103. </properties>
  104. <dependencies>
  105. <dependency>
  106. <groupId>org.slf4j</groupId>
  107. <artifactId>slf4j-api</artifactId>
  108. <version>${slf4j.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>ch.qos.logback</groupId>
  112. <artifactId>logback-classic</artifactId>
  113. <version>${logback.version}</version>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.httpcomponents</groupId>
  118. <artifactId>httpclient</artifactId>
  119. <version>${httpclient.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.httpcomponents</groupId>
  123. <artifactId>httpmime</artifactId>
  124. <version>${httpclient.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.google.code.gson</groupId>
  128. <artifactId>gson</artifactId>
  129. <version>${gson.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>commons-codec</groupId>
  133. <artifactId>commons-codec</artifactId>
  134. <version>${commons-codec.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>commons-io</groupId>
  138. <artifactId>commons-io</artifactId>
  139. <version>${commons-io.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.commons</groupId>
  143. <artifactId>commons-lang3</artifactId>
  144. <version>${commons-lang3.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>redis.clients</groupId>
  148. <artifactId>jedis</artifactId>
  149. <version>${jedis.version}</version>
  150. <optional>true</optional>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.google.guava</groupId>
  154. <artifactId>guava</artifactId>
  155. </dependency>
  156. </dependencies>
  157. <dependencyManagement>
  158. <dependencies>
  159. <dependency>
  160. <groupId>junit</groupId>
  161. <artifactId>junit</artifactId>
  162. <version>4.11</version>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.google.inject</groupId>
  167. <artifactId>guice</artifactId>
  168. <version>3.0</version>
  169. <scope>test</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.testng</groupId>
  173. <artifactId>testng</artifactId>
  174. <version>6.8.7</version>
  175. <scope>test</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.mockito</groupId>
  179. <artifactId>mockito-all</artifactId>
  180. <version>1.9.5</version>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.eclipse.jetty</groupId>
  185. <artifactId>jetty-server</artifactId>
  186. <version>${jetty.version}</version>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.eclipse.jetty</groupId>
  191. <artifactId>jetty-servlet</artifactId>
  192. <version>${jetty.version}</version>
  193. <scope>test</scope>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.google.guava</groupId>
  197. <artifactId>guava</artifactId>
  198. <version>${guava.version}</version>
  199. </dependency>
  200. </dependencies>
  201. </dependencyManagement>
  202. <distributionManagement>
  203. <snapshotRepository>
  204. <id>ossrh</id>
  205. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  206. </snapshotRepository>
  207. <repository>
  208. <id>ossrh</id>
  209. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  210. </repository>
  211. </distributionManagement>
  212. <profiles>
  213. <profile>
  214. <id>doclint-java8-disable</id>
  215. <activation>
  216. <jdk>[1.8,)</jdk>
  217. </activation>
  218. <properties>
  219. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  220. </properties>
  221. </profile>
  222. <profile>
  223. <id>release</id>
  224. <build>
  225. <plugins>
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-source-plugin</artifactId>
  229. <version>2.2.1</version>
  230. <executions>
  231. <execution>
  232. <id>attach-sources</id>
  233. <goals>
  234. <goal>jar-no-fork</goal>
  235. </goals>
  236. </execution>
  237. </executions>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-javadoc-plugin</artifactId>
  242. <version>2.9.1</version>
  243. <executions>
  244. <execution>
  245. <id>attach-javadocs</id>
  246. <goals>
  247. <goal>jar</goal>
  248. </goals>
  249. </execution>
  250. </executions>
  251. <configuration>
  252. <additionalparam>${javadoc.opts}</additionalparam>
  253. <charset>UTF-8</charset>
  254. <locale>zh_CN</locale>
  255. </configuration>
  256. </plugin>
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-gpg-plugin</artifactId>
  260. <version>1.5</version>
  261. <executions>
  262. <execution>
  263. <id>sign-artifacts</id>
  264. <phase>verify</phase>
  265. <goals>
  266. <goal>sign</goal>
  267. </goals>
  268. </execution>
  269. </executions>
  270. </plugin>
  271. </plugins>
  272. </build>
  273. </profile>
  274. </profiles>
  275. <build>
  276. <pluginManagement>
  277. <plugins>
  278. <plugin>
  279. <groupId>org.apache.maven.plugins</groupId>
  280. <artifactId>maven-surefire-plugin</artifactId>
  281. <version>2.17</version>
  282. <configuration>
  283. <skip>true</skip>
  284. </configuration>
  285. </plugin>
  286. </plugins>
  287. </pluginManagement>
  288. <plugins>
  289. <plugin>
  290. <groupId>org.sonatype.plugins</groupId>
  291. <artifactId>nexus-staging-maven-plugin</artifactId>
  292. <version>1.6.3</version>
  293. <extensions>true</extensions>
  294. <configuration>
  295. <serverId>ossrh</serverId>
  296. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  297. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  298. </configuration>
  299. </plugin>
  300. <plugin>
  301. <groupId>org.apache.maven.plugins</groupId>
  302. <artifactId>maven-release-plugin</artifactId>
  303. <version>2.5.1</version>
  304. <configuration>
  305. <autoVersionSubmodules>true</autoVersionSubmodules>
  306. <useReleaseProfile>false</useReleaseProfile>
  307. <releaseProfiles>release</releaseProfiles>
  308. <goals>deploy</goals>
  309. </configuration>
  310. </plugin>
  311. <plugin>
  312. <groupId>org.apache.maven.plugins</groupId>
  313. <artifactId>maven-compiler-plugin</artifactId>
  314. <version>3.6.0</version>
  315. <configuration>
  316. <encoding>UTF-8</encoding>
  317. </configuration>
  318. </plugin>
  319. </plugins>
  320. </build>
  321. </project>