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.

205 lines
7.5 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-tools</artifactId>
  8. <version>1.0.1-SNAPSHOT</version>
  9. <name>WeiXin Java Tools</name>
  10. <description>用于开发微信公众号的Java工具</description>
  11. <url>https://github.com/chanjarster/weixin-java-tools</url>
  12. <licenses>
  13. <license>
  14. <name>The Apache License, Version 2.0</name>
  15. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  16. </license>
  17. </licenses>
  18. <developers>
  19. <developer>
  20. <name>Daniel Qian</name>
  21. <email>chanjarster@gmail.com</email>
  22. </developer>
  23. </developers>
  24. <scm>
  25. <connection>scm:git:https://github.com/chanjarster/weixin-java-tools.git</connection>
  26. <developerConnection>scm:git:git@github.com:chanjarster/weixin-java-tools.git</developerConnection>
  27. <url>https://github.com/chanjarster/weixin-java-tools</url>
  28. </scm>
  29. <properties>
  30. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  31. <downloadJavadocs>true</downloadJavadocs>
  32. <downloadSources>true</downloadSources>
  33. <httpclient.version>4.3.5</httpclient.version>
  34. </properties>
  35. <dependencies>
  36. <dependency>
  37. <groupId>junit</groupId>
  38. <artifactId>junit</artifactId>
  39. <version>4.11</version>
  40. <scope>test</scope>
  41. </dependency>
  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>org.apache.oltu.oauth2</groupId>
  64. <artifactId>org.apache.oltu.oauth2.client</artifactId>
  65. <version>1.0.0</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.google.code.gson</groupId>
  69. <artifactId>gson</artifactId>
  70. <version>2.2.2</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.testng</groupId>
  74. <artifactId>testng</artifactId>
  75. <version>6.8.7</version>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.mockito</groupId>
  80. <artifactId>mockito-all</artifactId>
  81. <version>1.9.5</version>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.google.inject</groupId>
  86. <artifactId>guice</artifactId>
  87. <version>3.0</version>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.commons</groupId>
  92. <artifactId>commons-lang3</artifactId>
  93. <version>3.1</version>
  94. </dependency>
  95. </dependencies>
  96. <distributionManagement>
  97. <snapshotRepository>
  98. <id>ossrh</id>
  99. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  100. </snapshotRepository>
  101. <repository>
  102. <id>ossrh</id>
  103. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  104. </repository>
  105. </distributionManagement>
  106. <profiles>
  107. <profile>
  108. <id>release</id>
  109. <build>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-source-plugin</artifactId>
  114. <version>2.2.1</version>
  115. <executions>
  116. <execution>
  117. <id>attach-sources</id>
  118. <goals>
  119. <goal>jar-no-fork</goal>
  120. </goals>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-javadoc-plugin</artifactId>
  127. <version>2.9.1</version>
  128. <executions>
  129. <execution>
  130. <id>attach-javadocs</id>
  131. <goals>
  132. <goal>jar</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. <configuration>
  137. <charset>UTF-8</charset>
  138. <locale>zh_CN</locale>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-gpg-plugin</artifactId>
  144. <version>1.5</version>
  145. <executions>
  146. <execution>
  147. <id>sign-artifacts</id>
  148. <phase>verify</phase>
  149. <goals>
  150. <goal>sign</goal>
  151. </goals>
  152. </execution>
  153. </executions>
  154. </plugin>
  155. </plugins>
  156. </build>
  157. </profile>
  158. </profiles>
  159. <build>
  160. <plugins>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-surefire-plugin</artifactId>
  164. <version>2.17</version>
  165. <configuration>
  166. <suiteXmlFiles>
  167. <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
  168. </suiteXmlFiles>
  169. </configuration>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.sonatype.plugins</groupId>
  173. <artifactId>nexus-staging-maven-plugin</artifactId>
  174. <version>1.6.3</version>
  175. <extensions>true</extensions>
  176. <configuration>
  177. <serverId>ossrh</serverId>
  178. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  179. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  180. </configuration>
  181. </plugin>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-release-plugin</artifactId>
  185. <version>2.5</version>
  186. <configuration>
  187. <autoVersionSubmodules>true</autoVersionSubmodules>
  188. <useReleaseProfile>false</useReleaseProfile>
  189. <releaseProfiles>release</releaseProfiles>
  190. <goals>deploy</goals>
  191. </configuration>
  192. </plugin>
  193. </plugins>
  194. </build>
  195. </project>