dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

201 Zeilen
7.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-tools</artifactId>
  8. <version>1.0.0</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. </distributionManagement>
  102. <profiles>
  103. <profile>
  104. <id>release</id>
  105. <build>
  106. <plugins>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-source-plugin</artifactId>
  110. <version>2.2.1</version>
  111. <executions>
  112. <execution>
  113. <id>attach-sources</id>
  114. <goals>
  115. <goal>jar-no-fork</goal>
  116. </goals>
  117. </execution>
  118. </executions>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-javadoc-plugin</artifactId>
  123. <version>2.9.1</version>
  124. <executions>
  125. <execution>
  126. <id>attach-javadocs</id>
  127. <goals>
  128. <goal>jar</goal>
  129. </goals>
  130. </execution>
  131. </executions>
  132. <configuration>
  133. <charset>UTF-8</charset>
  134. <locale>zh_CN</locale>
  135. </configuration>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-gpg-plugin</artifactId>
  140. <version>1.5</version>
  141. <executions>
  142. <execution>
  143. <id>sign-artifacts</id>
  144. <phase>verify</phase>
  145. <goals>
  146. <goal>sign</goal>
  147. </goals>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. </plugins>
  152. </build>
  153. </profile>
  154. </profiles>
  155. <build>
  156. <plugins>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-surefire-plugin</artifactId>
  160. <version>2.17</version>
  161. <configuration>
  162. <suiteXmlFiles>
  163. <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
  164. </suiteXmlFiles>
  165. </configuration>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.sonatype.plugins</groupId>
  169. <artifactId>nexus-staging-maven-plugin</artifactId>
  170. <version>1.6.3</version>
  171. <extensions>true</extensions>
  172. <configuration>
  173. <serverId>ossrh</serverId>
  174. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  175. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  176. </configuration>
  177. </plugin>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-release-plugin</artifactId>
  181. <version>2.5</version>
  182. <configuration>
  183. <autoVersionSubmodules>true</autoVersionSubmodules>
  184. <useReleaseProfile>false</useReleaseProfile>
  185. <releaseProfiles>release</releaseProfiles>
  186. <goals>deploy</goals>
  187. </configuration>
  188. </plugin>
  189. </plugins>
  190. </build>
  191. </project>