dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

235 lignes
8.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>me.chanjar</groupId>
  7. <artifactId>weixin-java-parent</artifactId>
  8. <version>1.0.4</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>org.apache.commons</groupId>
  69. <artifactId>commons-lang3</artifactId>
  70. <version>3.1</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>commons-codec</groupId>
  74. <artifactId>commons-codec</artifactId>
  75. <version>1.9</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>commons-io</groupId>
  79. <artifactId>commons-io</artifactId>
  80. <version>2.4</version>
  81. </dependency>
  82. </dependencies>
  83. <dependencyManagement>
  84. <dependencies>
  85. <dependency>
  86. <groupId>junit</groupId>
  87. <artifactId>junit</artifactId>
  88. <version>4.11</version>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.google.inject</groupId>
  93. <artifactId>guice</artifactId>
  94. <version>3.0</version>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.testng</groupId>
  99. <artifactId>testng</artifactId>
  100. <version>6.8.7</version>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.mockito</groupId>
  105. <artifactId>mockito-all</artifactId>
  106. <version>1.9.5</version>
  107. <scope>test</scope>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.eclipse.jetty</groupId>
  111. <artifactId>jetty-server</artifactId>
  112. <version>9.3.0.M0</version>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.eclipse.jetty</groupId>
  117. <artifactId>jetty-servlet</artifactId>
  118. <version>9.3.0.M0</version>
  119. <scope>test</scope>
  120. </dependency>
  121. </dependencies>
  122. </dependencyManagement>
  123. <distributionManagement>
  124. <snapshotRepository>
  125. <id>ossrh</id>
  126. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  127. </snapshotRepository>
  128. <repository>
  129. <id>ossrh</id>
  130. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  131. </repository>
  132. </distributionManagement>
  133. <profiles>
  134. <profile>
  135. <id>release</id>
  136. <build>
  137. <plugins>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-source-plugin</artifactId>
  141. <version>2.2.1</version>
  142. <executions>
  143. <execution>
  144. <id>attach-sources</id>
  145. <goals>
  146. <goal>jar-no-fork</goal>
  147. </goals>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-javadoc-plugin</artifactId>
  154. <version>2.9.1</version>
  155. <executions>
  156. <execution>
  157. <id>attach-javadocs</id>
  158. <goals>
  159. <goal>jar</goal>
  160. </goals>
  161. </execution>
  162. </executions>
  163. <configuration>
  164. <charset>UTF-8</charset>
  165. <locale>zh_CN</locale>
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-gpg-plugin</artifactId>
  171. <version>1.5</version>
  172. <executions>
  173. <execution>
  174. <id>sign-artifacts</id>
  175. <phase>verify</phase>
  176. <goals>
  177. <goal>sign</goal>
  178. </goals>
  179. </execution>
  180. </executions>
  181. </plugin>
  182. </plugins>
  183. </build>
  184. </profile>
  185. </profiles>
  186. <build>
  187. <pluginManagement>
  188. <plugins>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-surefire-plugin</artifactId>
  192. <version>2.17</version>
  193. </plugin>
  194. </plugins>
  195. </pluginManagement>
  196. <plugins>
  197. <plugin>
  198. <groupId>org.sonatype.plugins</groupId>
  199. <artifactId>nexus-staging-maven-plugin</artifactId>
  200. <version>1.6.3</version>
  201. <extensions>true</extensions>
  202. <configuration>
  203. <serverId>ossrh</serverId>
  204. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  205. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  206. </configuration>
  207. </plugin>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-release-plugin</artifactId>
  211. <version>2.5</version>
  212. <configuration>
  213. <autoVersionSubmodules>true</autoVersionSubmodules>
  214. <useReleaseProfile>false</useReleaseProfile>
  215. <releaseProfiles>release</releaseProfiles>
  216. <goals>deploy</goals>
  217. </configuration>
  218. </plugin>
  219. </plugins>
  220. </build>
  221. </project>