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.

230 lines
8.3 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>me.chanjar</groupId>
  7. <artifactId>weixin-java-parent</artifactId>
  8. <version>1.0.5-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <name>WeiXin Java Tools - Parent</name>
  11. <description>微信公众号、企业号上级POM</description>
  12. <url>https://github.com/chanjarster/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. </developers>
  25. <scm>
  26. <connection>scm:git:https://github.com/chanjarster/weixin-java-tools.git</connection>
  27. <developerConnection>scm:git:git@github.com:chanjarster/weixin-java-tools.git</developerConnection>
  28. <url>https://github.com/chanjarster/weixin-java-tools</url>
  29. </scm>
  30. <modules>
  31. <module>weixin-java-common</module>
  32. <module>weixin-java-cp</module>
  33. <module>weixin-java-mp</module>
  34. </modules>
  35. <properties>
  36. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  37. <downloadJavadocs>true</downloadJavadocs>
  38. <downloadSources>true</downloadSources>
  39. <httpclient.version>4.3.5</httpclient.version>
  40. </properties>
  41. <dependencies>
  42. <dependency>
  43. <groupId>org.apache.httpcomponents</groupId>
  44. <artifactId>fluent-hc</artifactId>
  45. <version>${httpclient.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.httpcomponents</groupId>
  49. <artifactId>httpmime</artifactId>
  50. <version>${httpclient.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>javax.xml.bind</groupId>
  54. <artifactId>jaxb-api</artifactId>
  55. <version>2.2.7</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.sun.xml.bind</groupId>
  59. <artifactId>jaxb-impl</artifactId>
  60. <version>2.2.7</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.google.code.gson</groupId>
  64. <artifactId>gson</artifactId>
  65. <version>2.2.2</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>commons-codec</groupId>
  69. <artifactId>commons-codec</artifactId>
  70. <version>1.9</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>commons-io</groupId>
  74. <artifactId>commons-io</artifactId>
  75. <version>2.4</version>
  76. </dependency>
  77. </dependencies>
  78. <dependencyManagement>
  79. <dependencies>
  80. <dependency>
  81. <groupId>junit</groupId>
  82. <artifactId>junit</artifactId>
  83. <version>4.11</version>
  84. <scope>test</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.google.inject</groupId>
  88. <artifactId>guice</artifactId>
  89. <version>3.0</version>
  90. <scope>test</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.testng</groupId>
  94. <artifactId>testng</artifactId>
  95. <version>6.8.7</version>
  96. <scope>test</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.mockito</groupId>
  100. <artifactId>mockito-all</artifactId>
  101. <version>1.9.5</version>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.eclipse.jetty</groupId>
  106. <artifactId>jetty-server</artifactId>
  107. <version>9.3.0.M0</version>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.eclipse.jetty</groupId>
  112. <artifactId>jetty-servlet</artifactId>
  113. <version>9.3.0.M0</version>
  114. <scope>test</scope>
  115. </dependency>
  116. </dependencies>
  117. </dependencyManagement>
  118. <distributionManagement>
  119. <snapshotRepository>
  120. <id>ossrh</id>
  121. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  122. </snapshotRepository>
  123. <repository>
  124. <id>ossrh</id>
  125. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  126. </repository>
  127. </distributionManagement>
  128. <profiles>
  129. <profile>
  130. <id>release</id>
  131. <build>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.apache.maven.plugins</groupId>
  135. <artifactId>maven-source-plugin</artifactId>
  136. <version>2.2.1</version>
  137. <executions>
  138. <execution>
  139. <id>attach-sources</id>
  140. <goals>
  141. <goal>jar-no-fork</goal>
  142. </goals>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-javadoc-plugin</artifactId>
  149. <version>2.9.1</version>
  150. <executions>
  151. <execution>
  152. <id>attach-javadocs</id>
  153. <goals>
  154. <goal>jar</goal>
  155. </goals>
  156. </execution>
  157. </executions>
  158. <configuration>
  159. <charset>UTF-8</charset>
  160. <locale>zh_CN</locale>
  161. </configuration>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-gpg-plugin</artifactId>
  166. <version>1.5</version>
  167. <executions>
  168. <execution>
  169. <id>sign-artifacts</id>
  170. <phase>verify</phase>
  171. <goals>
  172. <goal>sign</goal>
  173. </goals>
  174. </execution>
  175. </executions>
  176. </plugin>
  177. </plugins>
  178. </build>
  179. </profile>
  180. </profiles>
  181. <build>
  182. <pluginManagement>
  183. <plugins>
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-surefire-plugin</artifactId>
  187. <version>2.17</version>
  188. </plugin>
  189. </plugins>
  190. </pluginManagement>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.sonatype.plugins</groupId>
  194. <artifactId>nexus-staging-maven-plugin</artifactId>
  195. <version>1.6.3</version>
  196. <extensions>true</extensions>
  197. <configuration>
  198. <serverId>ossrh</serverId>
  199. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  200. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  201. </configuration>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-release-plugin</artifactId>
  206. <version>2.5</version>
  207. <configuration>
  208. <autoVersionSubmodules>true</autoVersionSubmodules>
  209. <useReleaseProfile>false</useReleaseProfile>
  210. <releaseProfiles>release</releaseProfiles>
  211. <goals>deploy</goals>
  212. </configuration>
  213. </plugin>
  214. </plugins>
  215. </build>
  216. </project>