pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.itstyle.pay</groupId>
  5. <artifactId>spring-boot-pay</artifactId>
  6. <packaging>jar</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>spring-boot-pay</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. </properties>
  13. <!-- spring-boot-starter-parent包含了大量配置好的依赖管理,在自己项目添加这些依赖的时候不需要写<version>版本号 -->
  14. <parent>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-parent</artifactId>
  17. <version>1.5.9.RELEASE</version>
  18. <relativePath/> <!-- lookup parent from repository -->
  19. </parent>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-test</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  37. </dependency>
  38. <!-- 支付宝 SDK(项目中的支付宝SDk需要自行去官网下载打入本地仓库或者私服)-->
  39. <!-- 项目中的支付宝SDk需要自行去官网下载打入本地仓库或者私服,提供下载地址:http://pan.baidu.com/s/1mi5LfhI -->
  40. <dependency>
  41. <groupId>com.acts</groupId>
  42. <artifactId>alipay-trade-sdk</artifactId>
  43. <version>1.0.0</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.acts</groupId>
  47. <artifactId>alipay-sdk-java</artifactId>
  48. <version>1.0.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.commons</groupId>
  52. <artifactId>commons-lang3</artifactId>
  53. <version>3.6</version>
  54. </dependency>
  55. <!-- json-lib -->
  56. <dependency>
  57. <groupId>net.sf.json-lib</groupId>
  58. <artifactId>json-lib</artifactId>
  59. <version>2.4</version>
  60. <!-- 部分jdk版本报错的问题 -->
  61. <classifier>jdk15</classifier>
  62. </dependency>
  63. <!-- commons-configuration -->
  64. <dependency>
  65. <groupId>commons-configuration</groupId>
  66. <artifactId>commons-configuration</artifactId>
  67. <version>1.10</version>
  68. </dependency>
  69. <!--gson -->
  70. <dependency>
  71. <groupId>com.google.code.gson</groupId>
  72. <artifactId>gson</artifactId>
  73. </dependency>
  74. <!-- zxing -->
  75. <dependency>
  76. <groupId>com.google.zxing</groupId>
  77. <artifactId>core</artifactId>
  78. <version>3.2.1</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>net.sourceforge.nekohtml</groupId>
  82. <artifactId>nekohtml</artifactId>
  83. </dependency>
  84. <!--jdom -->
  85. <dependency>
  86. <groupId>jdom</groupId>
  87. <artifactId>jdom</artifactId>
  88. <version>1.1</version>
  89. </dependency>
  90. <!--httpclient -->
  91. <dependency>
  92. <groupId>org.apache.httpcomponents</groupId>
  93. <artifactId>httpclient</artifactId>
  94. <version>4.3.4</version><!--$NO-MVN-MAN-VER$-->
  95. </dependency>
  96. <!-- dom4j -->
  97. <dependency>
  98. <groupId>dom4j</groupId>
  99. <artifactId>dom4j</artifactId>
  100. <version>1.6.1</version><!--$NO-MVN-MAN-VER$-->
  101. </dependency>
  102. <!-- bcprov-jdk16 -->
  103. <dependency>
  104. <groupId>org.bouncycastle</groupId>
  105. <artifactId>bcprov-jdk16</artifactId>
  106. <version>1.46</version>
  107. </dependency>
  108. <!-- DubboX相关 -->
  109. <dependency>
  110. <groupId>com.alibaba</groupId>
  111. <artifactId>dubbo</artifactId>
  112. <!-- 这里使用最新的2.8.4版本,中央仓库不存在,请自行打入本地仓库 -->
  113. <!-- 百度网盘:http://pan.baidu.com/s/1gfxiuYZ -->
  114. <!-- 或者使用最新版本 http://mvnrepository.com/artifact/com.alibaba/dubbo-->
  115. <version>2.8.4</version>
  116. <exclusions>
  117. <exclusion>
  118. <artifactId>spring</artifactId>
  119. <groupId>org.springframework</groupId>
  120. </exclusion>
  121. </exclusions>
  122. </dependency>
  123. <!-- zookeeper 第三方操作工具类 -->
  124. <!-- zookeeper 教程: https://blog.52itstyle.com/tag/zookeeper/ -->
  125. <dependency>
  126. <groupId>com.101tec</groupId>
  127. <artifactId>zkclient</artifactId>
  128. <version>0.6</version>
  129. <exclusions>
  130. <exclusion>
  131. <groupId>org.slf4j</groupId>
  132. <artifactId>slf4j-log4j12</artifactId>
  133. </exclusion>
  134. </exclusions>
  135. </dependency>
  136. <!-- javassist 字节码类库 -->
  137. <dependency>
  138. <groupId>org.javassist</groupId>
  139. <artifactId>javassist</artifactId>
  140. </dependency>
  141. <!-- swagger2 文档 -->
  142. <dependency>
  143. <groupId>io.springfox</groupId>
  144. <artifactId>springfox-swagger2</artifactId>
  145. <version>2.7.0</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>io.springfox</groupId>
  149. <artifactId>springfox-swagger-ui</artifactId>
  150. <version>2.7.0</version>
  151. </dependency>
  152. <!-- 微信开发工具 -->
  153. <dependency>
  154. <groupId>com.github.liyiorg</groupId>
  155. <artifactId>weixin-popular</artifactId>
  156. <version>2.8.16</version>
  157. </dependency>
  158. </dependencies>
  159. <build>
  160. <finalName>spring-boot-pay</finalName>
  161. <plugins>
  162. <!-- 打包项目 mvn clean package -->
  163. <plugin>
  164. <groupId>org.springframework.boot</groupId>
  165. <artifactId>spring-boot-maven-plugin</artifactId>
  166. <!-- 指定main方法入口 -->
  167. <configuration>
  168. <mainClass>com.itstyle.Application</mainClass>
  169. </configuration>
  170. <executions>
  171. <execution>
  172. <goals>
  173. <goal>repackage</goal>
  174. </goals>
  175. </execution>
  176. </executions>
  177. <dependencies>
  178. <!-- mvn spring-boot:run 热部署启动 -->
  179. <dependency>
  180. <groupId>org.springframework</groupId>
  181. <artifactId>springloaded</artifactId>
  182. <version>1.2.7.RELEASE</version>
  183. </dependency>
  184. </dependencies>
  185. </plugin>
  186. </plugins>
  187. </build>
  188. </project>