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.

388 Zeilen
12 KiB

  1. <?xml version="1.0"?>
  2. <project
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  5. xmlns="http://maven.apache.org/POM/4.0.0">
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>com.github.binarywang</groupId>
  8. <artifactId>weixin-java-parent</artifactId>
  9. <version>2.9.0</version>
  10. <packaging>pom</packaging>
  11. <name>WeiXin Java Tools - Parent</name>
  12. <description>微信公众号、企业号上级POM</description>
  13. <url>https://github.com/wechat-group/weixin-java-tools</url>
  14. <licenses>
  15. <license>
  16. <name>The Apache License, Version 2.0</name>
  17. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  18. </license>
  19. </licenses>
  20. <developers>
  21. <developer>
  22. <name>Daniel Qian</name>
  23. <email>chanjarster@gmail.com</email>
  24. <url>https://github.com/chanjarster</url>
  25. </developer>
  26. <developer>
  27. <name>Binary Wang</name>
  28. <email>binarywang@gmail.com</email>
  29. <url>https://github.com/binarywang</url>
  30. </developer>
  31. <developer>
  32. <name>gaigeshen</name>
  33. <email>gaigeshen@qq.com</email>
  34. <url>https://github.com/gaigeshen</url>
  35. </developer>
  36. <developer>
  37. <name>Liu Mingbo</name>
  38. <email>liumingbo2008@gmail.com</email>
  39. <url>https://github.com/FirenzesEagle</url>
  40. </developer>
  41. <developer>
  42. <name>kakotor</name>
  43. <email>kakotor@gmail.com</email>
  44. <url>https://github.com/kakotor</url>
  45. </developer>
  46. <developer>
  47. <name>xiong</name>
  48. <email>zhaoxiong.tan@gmail.com</email>
  49. <url>https://github.com/ZhaoxiongTan</url>
  50. </developer>
  51. <developer>
  52. <name>LiuJunGuang</name>
  53. <email>aimilin@yeah.net</email>
  54. <url>https://github.com/aimilin6688</url>
  55. </developer>
  56. <developer>
  57. <name>Eric.Tsai</name>
  58. <email>xiaodong.cai.ks@gmail.com</email>
  59. <url>https://github.com/iwareserictsai</url>
  60. </developer>
  61. <developer>
  62. <name>withinthefog</name>
  63. <email>withinthefog@gmail.com</email>
  64. <url>https://github.com/withinthefog</url>
  65. </developer>
  66. <developer>
  67. <name>Keung</name>
  68. <email>dongfuqiang1988@163.com</email>
  69. <url>https://github.com/johnnytung</url>
  70. </developer>
  71. <developer>
  72. <name>Jonk</name>
  73. <email>aimilin@yeah.net</email>
  74. <url>https://github.com/aimilin6688</url>
  75. </developer>
  76. <developer>
  77. <name>ecoolper</name>
  78. <email>crskyp@gmail.com</email>
  79. <url>https://github.com/crskyp</url>
  80. </developer>
  81. <developer>
  82. <name>007</name>
  83. <email>007gzs@gmail.com</email>
  84. <url>https://github.com/007gzs</url>
  85. </developer>
  86. </developers>
  87. <scm>
  88. <connection>scm:git:https://github.com/wechat-group/weixin-java-tools.git</connection>
  89. <developerConnection>scm:git:git@github.com:wechat-group/weixin-java-tools.git</developerConnection>
  90. <url>https://github.com/wechat-group/weixin-java-tools</url>
  91. </scm>
  92. <modules>
  93. <module>weixin-java-common</module>
  94. <module>weixin-java-cp</module>
  95. <module>weixin-java-mp</module>
  96. <module>weixin-java-pay</module>
  97. <module>weixin-java-miniapp</module>
  98. <module>weixin-java-open</module>
  99. <!--module>weixin-java-osgi</module-->
  100. </modules>
  101. <properties>
  102. <maven.compiler.source>1.7</maven.compiler.source>
  103. <maven.compiler.target>1.7</maven.compiler.target>
  104. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  105. <downloadJavadocs>true</downloadJavadocs>
  106. <downloadSources>true</downloadSources>
  107. <httpclient.version>4.5</httpclient.version>
  108. <jetty.version>9.3.0.RC0</jetty.version>
  109. </properties>
  110. <dependencyManagement>
  111. <dependencies>
  112. <dependency>
  113. <groupId>com.github.binarywang</groupId>
  114. <artifactId>qrcode-utils</artifactId>
  115. <version>1.1</version>
  116. </dependency>
  117. <!-- 由于jodd-http较新的3.8版本需要jdk8,故而此处采用较低版本 -->
  118. <dependency>
  119. <groupId>org.jodd</groupId>
  120. <artifactId>jodd-http</artifactId>
  121. <version>3.7.1</version>
  122. <scope>provided</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.squareup.okhttp3</groupId>
  126. <artifactId>okhttp</artifactId>
  127. <version>3.7.0</version>
  128. <scope>provided</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.httpcomponents</groupId>
  132. <artifactId>httpclient</artifactId>
  133. <version>${httpclient.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.httpcomponents</groupId>
  137. <artifactId>httpmime</artifactId>
  138. <version>${httpclient.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>commons-codec</groupId>
  142. <artifactId>commons-codec</artifactId>
  143. <version>1.10</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>commons-io</groupId>
  147. <artifactId>commons-io</artifactId>
  148. <version>2.5</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.commons</groupId>
  152. <artifactId>commons-lang3</artifactId>
  153. <version>3.5</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.slf4j</groupId>
  157. <artifactId>slf4j-api</artifactId>
  158. <version>1.7.24</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.thoughtworks.xstream</groupId>
  162. <artifactId>xstream</artifactId>
  163. <version>1.4.9</version>
  164. </dependency>
  165. <!-- 由于guava较新的21.0版本需要jdk8,故而此处采用较低版本 -->
  166. <dependency>
  167. <groupId>com.google.guava</groupId>
  168. <artifactId>guava</artifactId>
  169. <version>20.0</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.google.code.gson</groupId>
  173. <artifactId>gson</artifactId>
  174. <version>2.8.0</version>
  175. </dependency>
  176. <!-- 测试所用依赖 -->
  177. <dependency>
  178. <groupId>joda-time</groupId>
  179. <artifactId>joda-time</artifactId>
  180. <version>2.9.7</version>
  181. <scope>test</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>ch.qos.logback</groupId>
  185. <artifactId>logback-classic</artifactId>
  186. <version>1.1.11</version>
  187. <scope>test</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.google.inject</groupId>
  191. <artifactId>guice</artifactId>
  192. <version>3.0</version>
  193. <scope>test</scope>
  194. </dependency>
  195. <dependency>
  196. <groupId>org.testng</groupId>
  197. <artifactId>testng</artifactId>
  198. <version>6.10</version>
  199. <scope>test</scope>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.mockito</groupId>
  203. <artifactId>mockito-all</artifactId>
  204. <version>1.9.5</version>
  205. <scope>test</scope>
  206. </dependency>
  207. <dependency>
  208. <groupId>org.eclipse.jetty</groupId>
  209. <artifactId>jetty-server</artifactId>
  210. <version>${jetty.version}</version>
  211. <scope>test</scope>
  212. </dependency>
  213. <dependency>
  214. <groupId>org.eclipse.jetty</groupId>
  215. <artifactId>jetty-servlet</artifactId>
  216. <version>${jetty.version}</version>
  217. <scope>test</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>redis.clients</groupId>
  221. <artifactId>jedis</artifactId>
  222. <version>2.9.0</version>
  223. <scope>provided</scope>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.projectlombok</groupId>
  227. <artifactId>lombok</artifactId>
  228. <version>1.16.18</version>
  229. <scope>compile</scope>
  230. </dependency>
  231. </dependencies>
  232. </dependencyManagement>
  233. <distributionManagement>
  234. <snapshotRepository>
  235. <id>ossrh</id>
  236. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  237. </snapshotRepository>
  238. <repository>
  239. <id>ossrh</id>
  240. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  241. </repository>
  242. </distributionManagement>
  243. <profiles>
  244. <profile>
  245. <id>doclint-java8-disable</id>
  246. <activation>
  247. <jdk>[1.8,)</jdk>
  248. </activation>
  249. <properties>
  250. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  251. </properties>
  252. </profile>
  253. <profile>
  254. <id>release</id>
  255. <build>
  256. <plugins>
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-source-plugin</artifactId>
  260. <version>2.2.1</version>
  261. <executions>
  262. <execution>
  263. <id>attach-sources</id>
  264. <goals>
  265. <goal>jar-no-fork</goal>
  266. </goals>
  267. </execution>
  268. </executions>
  269. </plugin>
  270. <plugin>
  271. <groupId>org.apache.maven.plugins</groupId>
  272. <artifactId>maven-javadoc-plugin</artifactId>
  273. <version>2.9.1</version>
  274. <executions>
  275. <execution>
  276. <id>attach-javadocs</id>
  277. <goals>
  278. <goal>jar</goal>
  279. </goals>
  280. </execution>
  281. </executions>
  282. <configuration>
  283. <additionalparam>${javadoc.opts}</additionalparam>
  284. <charset>UTF-8</charset>
  285. <locale>zh_CN</locale>
  286. </configuration>
  287. </plugin>
  288. <plugin>
  289. <groupId>org.apache.maven.plugins</groupId>
  290. <artifactId>maven-gpg-plugin</artifactId>
  291. <version>1.6</version>
  292. <executions>
  293. <execution>
  294. <id>sign-artifacts</id>
  295. <phase>verify</phase>
  296. <goals>
  297. <goal>sign</goal>
  298. </goals>
  299. </execution>
  300. </executions>
  301. </plugin>
  302. </plugins>
  303. </build>
  304. </profile>
  305. </profiles>
  306. <build>
  307. <pluginManagement>
  308. <plugins>
  309. <plugin>
  310. <groupId>org.apache.maven.plugins</groupId>
  311. <artifactId>maven-surefire-plugin</artifactId>
  312. <version>2.17</version>
  313. <configuration>
  314. <skip>true</skip>
  315. </configuration>
  316. </plugin>
  317. </plugins>
  318. </pluginManagement>
  319. <plugins>
  320. <plugin>
  321. <groupId>org.sonatype.plugins</groupId>
  322. <artifactId>nexus-staging-maven-plugin</artifactId>
  323. <version>1.6.3</version>
  324. <extensions>true</extensions>
  325. <configuration>
  326. <serverId>ossrh</serverId>
  327. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  328. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  329. </configuration>
  330. </plugin>
  331. <plugin>
  332. <groupId>org.apache.maven.plugins</groupId>
  333. <artifactId>maven-release-plugin</artifactId>
  334. <version>2.5.1</version>
  335. <configuration>
  336. <autoVersionSubmodules>true</autoVersionSubmodules>
  337. <useReleaseProfile>false</useReleaseProfile>
  338. <releaseProfiles>release</releaseProfiles>
  339. <goals>deploy</goals>
  340. </configuration>
  341. </plugin>
  342. <plugin>
  343. <groupId>org.apache.maven.plugins</groupId>
  344. <artifactId>maven-compiler-plugin</artifactId>
  345. <version>3.6.0</version>
  346. <configuration>
  347. <encoding>UTF-8</encoding>
  348. </configuration>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-checkstyle-plugin</artifactId>
  353. <version>2.17</version>
  354. <configuration>
  355. <configLocation>quality-checks/google_checks.xml</configLocation>
  356. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  357. <consoleOutput>true</consoleOutput>
  358. <failsOnError>true</failsOnError>
  359. </configuration>
  360. <executions>
  361. <execution>
  362. <phase>verify</phase>
  363. <goals>
  364. <goal>check</goal>
  365. </goals>
  366. </execution>
  367. </executions>
  368. </plugin>
  369. </plugins>
  370. </build>
  371. </project>