dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

284 lines
8.6 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.1.0-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <name>WeiXin Java Tools - Parent</name>
  11. <description>微信公众号、企业号上级POM</description>
  12. <url>https://github.com/binarywang/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. </developer>
  24. <developer>
  25. <name>Binary Wang</name>
  26. <email>binarywang@gmail.com</email>
  27. </developer>
  28. </developers>
  29. <scm>
  30. <connection>scm:git:https://github.com/binarywang/weixin-java-tools.git</connection>
  31. <developerConnection>scm:git:git@github.com:binarywang/weixin-java-tools.git</developerConnection>
  32. <url>https://github.com/binarywang/weixin-java-tools</url>
  33. </scm>
  34. <modules>
  35. <module>weixin-java-common</module>
  36. <module>weixin-java-cp</module>
  37. <module>weixin-java-mp</module>
  38. </modules>
  39. <properties>
  40. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  41. <downloadJavadocs>true</downloadJavadocs>
  42. <downloadSources>true</downloadSources>
  43. <httpclient.version>4.5</httpclient.version>
  44. <slf4j.version>1.7.10</slf4j.version>
  45. <logback.version>1.1.2</logback.version>
  46. <jodd-http.version>3.6.7</jodd-http.version>
  47. <jackson.version>2.8.0</jackson.version>
  48. <gson.version>2.7</gson.version>
  49. <commons-lang3.version>3.4</commons-lang3.version>
  50. <commons-io.version>2.5</commons-io.version>
  51. <commons-codec.version>1.10</commons-codec.version>
  52. <jetty.version>9.3.0.M0</jetty.version>
  53. <jetty-new.version>9.3.10.v20160621</jetty-new.version>
  54. </properties>
  55. <dependencies>
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>slf4j-api</artifactId>
  59. <version>${slf4j.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>ch.qos.logback</groupId>
  63. <artifactId>logback-classic</artifactId>
  64. <version>${logback.version}</version>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.httpcomponents</groupId>
  69. <artifactId>fluent-hc</artifactId>
  70. <version>${httpclient.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.httpcomponents</groupId>
  74. <artifactId>httpmime</artifactId>
  75. <version>${httpclient.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.jodd</groupId>
  79. <artifactId>jodd-http</artifactId>
  80. <version>${jodd-http.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.google.code.gson</groupId>
  84. <artifactId>gson</artifactId>
  85. <version>${gson.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>commons-codec</groupId>
  89. <artifactId>commons-codec</artifactId>
  90. <version>${commons-codec.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>commons-io</groupId>
  94. <artifactId>commons-io</artifactId>
  95. <version>${commons-io.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.commons</groupId>
  99. <artifactId>commons-lang3</artifactId>
  100. <version>${commons-lang3.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.fasterxml.jackson.core</groupId>
  104. <artifactId>jackson-databind</artifactId>
  105. <version>${jackson.version}</version>
  106. </dependency>
  107. </dependencies>
  108. <dependencyManagement>
  109. <dependencies>
  110. <dependency>
  111. <groupId>junit</groupId>
  112. <artifactId>junit</artifactId>
  113. <version>4.11</version>
  114. <scope>test</scope>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.google.inject</groupId>
  118. <artifactId>guice</artifactId>
  119. <version>3.0</version>
  120. <scope>test</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.testng</groupId>
  124. <artifactId>testng</artifactId>
  125. <version>6.8.7</version>
  126. <scope>test</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.mockito</groupId>
  130. <artifactId>mockito-all</artifactId>
  131. <version>1.9.5</version>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.eclipse.jetty</groupId>
  136. <artifactId>jetty-server</artifactId>
  137. <version>${jetty.version}</version>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.eclipse.jetty</groupId>
  142. <artifactId>jetty-servlet</artifactId>
  143. <version>${jetty.version}</version>
  144. <scope>test</scope>
  145. </dependency>
  146. </dependencies>
  147. </dependencyManagement>
  148. <distributionManagement>
  149. <snapshotRepository>
  150. <id>ossrh</id>
  151. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  152. </snapshotRepository>
  153. <repository>
  154. <id>ossrh</id>
  155. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  156. </repository>
  157. </distributionManagement>
  158. <profiles>
  159. <profile>
  160. <id>doclint-java8-disable</id>
  161. <activation>
  162. <jdk>[1.8,)</jdk>
  163. </activation>
  164. <properties>
  165. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  166. </properties>
  167. </profile>
  168. <profile>
  169. <id>release</id>
  170. <build>
  171. <plugins>
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-source-plugin</artifactId>
  175. <version>2.2.1</version>
  176. <executions>
  177. <execution>
  178. <id>attach-sources</id>
  179. <goals>
  180. <goal>jar-no-fork</goal>
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-javadoc-plugin</artifactId>
  188. <version>2.9.1</version>
  189. <executions>
  190. <execution>
  191. <id>attach-javadocs</id>
  192. <goals>
  193. <goal>jar</goal>
  194. </goals>
  195. </execution>
  196. </executions>
  197. <configuration>
  198. <additionalparam>${javadoc.opts}</additionalparam>
  199. <charset>UTF-8</charset>
  200. <locale>zh_CN</locale>
  201. </configuration>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-gpg-plugin</artifactId>
  206. <version>1.5</version>
  207. <executions>
  208. <execution>
  209. <id>sign-artifacts</id>
  210. <phase>verify</phase>
  211. <goals>
  212. <goal>sign</goal>
  213. </goals>
  214. </execution>
  215. </executions>
  216. </plugin>
  217. </plugins>
  218. </build>
  219. </profile>
  220. </profiles>
  221. <build>
  222. <pluginManagement>
  223. <plugins>
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-surefire-plugin</artifactId>
  227. <version>2.17</version>
  228. <configuration>
  229. <skip>true</skip>
  230. </configuration>
  231. </plugin>
  232. </plugins>
  233. </pluginManagement>
  234. <plugins>
  235. <plugin>
  236. <groupId>org.sonatype.plugins</groupId>
  237. <artifactId>nexus-staging-maven-plugin</artifactId>
  238. <version>1.6.3</version>
  239. <extensions>true</extensions>
  240. <configuration>
  241. <serverId>ossrh</serverId>
  242. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  243. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  244. </configuration>
  245. </plugin>
  246. <plugin>
  247. <groupId>org.apache.maven.plugins</groupId>
  248. <artifactId>maven-release-plugin</artifactId>
  249. <version>2.5.1</version>
  250. <configuration>
  251. <autoVersionSubmodules>true</autoVersionSubmodules>
  252. <useReleaseProfile>false</useReleaseProfile>
  253. <releaseProfiles>release</releaseProfiles>
  254. <goals>deploy</goals>
  255. </configuration>
  256. </plugin>
  257. <plugin>
  258. <groupId>org.apache.maven.plugins</groupId>
  259. <artifactId>maven-compiler-plugin</artifactId>
  260. <version>2.3.2</version>
  261. <configuration>
  262. <source>1.7</source>
  263. <target>1.7</target>
  264. <encoding>UTF-8</encoding>
  265. </configuration>
  266. </plugin>
  267. </plugins>
  268. </build>
  269. </project>