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ů.

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