dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

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