dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 10 KiB

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