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

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