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

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