pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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需要自行去官网下载打入本地仓库或者私服,提供下载地址:https://pan.baidu.com/s/1B2_uyrz2uKN1Z_Ivbv7lgw -->
  40. <dependency>
  41. <groupId>com.acts</groupId>
  42. <artifactId>alipay-trade-sdk</artifactId>
  43. <version>1.0.0</version>
  44. </dependency>
  45. <!-- 官方SDK https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java -->
  46. <dependency>
  47. <groupId>com.alipay.sdk</groupId>
  48. <artifactId>alipay-sdk-java</artifactId>
  49. <version>3.4.27.ALL</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.commons</groupId>
  53. <artifactId>commons-lang3</artifactId>
  54. <version>3.6</version>
  55. </dependency>
  56. <!-- json-lib -->
  57. <dependency>
  58. <groupId>net.sf.json-lib</groupId>
  59. <artifactId>json-lib</artifactId>
  60. <version>2.4</version>
  61. <!-- 部分jdk版本报错的问题 -->
  62. <classifier>jdk15</classifier>
  63. </dependency>
  64. <!-- commons-configuration -->
  65. <dependency>
  66. <groupId>commons-configuration</groupId>
  67. <artifactId>commons-configuration</artifactId>
  68. <version>1.10</version>
  69. </dependency>
  70. <!--gson -->
  71. <dependency>
  72. <groupId>com.google.code.gson</groupId>
  73. <artifactId>gson</artifactId>
  74. </dependency>
  75. <!-- zxing -->
  76. <dependency>
  77. <groupId>com.google.zxing</groupId>
  78. <artifactId>core</artifactId>
  79. <version>3.2.1</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>net.sourceforge.nekohtml</groupId>
  83. <artifactId>nekohtml</artifactId>
  84. </dependency>
  85. <!--jdom -->
  86. <dependency>
  87. <groupId>jdom</groupId>
  88. <artifactId>jdom</artifactId>
  89. <version>1.1</version>
  90. </dependency>
  91. <!--httpclient -->
  92. <dependency>
  93. <groupId>org.apache.httpcomponents</groupId>
  94. <artifactId>httpclient</artifactId>
  95. <version>4.3.4</version><!--$NO-MVN-MAN-VER$-->
  96. </dependency>
  97. <!-- dom4j -->
  98. <dependency>
  99. <groupId>dom4j</groupId>
  100. <artifactId>dom4j</artifactId>
  101. <version>1.6.1</version><!--$NO-MVN-MAN-VER$-->
  102. </dependency>
  103. <!-- bcprov-jdk16 -->
  104. <dependency>
  105. <groupId>org.bouncycastle</groupId>
  106. <artifactId>bcprov-jdk16</artifactId>
  107. <version>1.46</version>
  108. </dependency>
  109. <!-- DubboX相关 -->
  110. <!-- <dependency>
  111. <groupId>com.alibaba</groupId>
  112. <artifactId>dubbo</artifactId>
  113. 这里使用最新的2.8.4版本,中央仓库不存在,请自行打入本地仓库
  114. 百度网盘:http://pan.baidu.com/s/1gfxiuYZ
  115. 或者使用最新版本 http://mvnrepository.com/artifact/com.alibaba/dubbo
  116. <version>2.8.4</version>
  117. <exclusions>
  118. <exclusion>
  119. <artifactId>spring</artifactId>
  120. <groupId>org.springframework</groupId>
  121. </exclusion>
  122. </exclusions>
  123. </dependency> -->
  124. <!-- dubbo 替换 dubbox-->
  125. <dependency>
  126. <groupId>com.alibaba</groupId>
  127. <artifactId>dubbo</artifactId>
  128. <version>2.6.2</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.alibaba.spring.boot</groupId>
  132. <artifactId>dubbo-spring-boot-starter</artifactId>
  133. <version>2.0.0</version>
  134. </dependency>
  135. <!-- zookeeper 第三方操作工具类 -->
  136. <!-- zookeeper 教程: https://blog.52itstyle.com/tag/zookeeper/ -->
  137. <!-- <dependency>
  138. <groupId>com.101tec</groupId>
  139. <artifactId>zkclient</artifactId>
  140. <version>0.6</version>
  141. <exclusions>
  142. <exclusion>
  143. <groupId>org.slf4j</groupId>
  144. <artifactId>slf4j-log4j12</artifactId>
  145. </exclusion>
  146. </exclusions>
  147. </dependency> -->
  148. <!-- curator-recipes 替换 zkclient-->
  149. <dependency>
  150. <groupId>org.apache.curator</groupId>
  151. <artifactId>curator-recipes</artifactId>
  152. <version>4.0.1</version>
  153. </dependency>
  154. <!-- javassist 字节码类库 -->
  155. <dependency>
  156. <groupId>org.javassist</groupId>
  157. <artifactId>javassist</artifactId>
  158. </dependency>
  159. <!-- swagger2 文档 -->
  160. <dependency>
  161. <groupId>io.springfox</groupId>
  162. <artifactId>springfox-swagger2</artifactId>
  163. <version>2.7.0</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>io.springfox</groupId>
  167. <artifactId>springfox-swagger-ui</artifactId>
  168. <version>2.7.0</version>
  169. </dependency>
  170. <!-- 微信开发工具 -->
  171. <dependency>
  172. <groupId>com.github.liyiorg</groupId>
  173. <artifactId>weixin-popular</artifactId>
  174. <version>2.8.16</version>
  175. </dependency>
  176. </dependencies>
  177. <build>
  178. <finalName>spring-boot-pay</finalName>
  179. <plugins>
  180. <!-- 打包项目 mvn clean package -->
  181. <plugin>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-maven-plugin</artifactId>
  184. <!-- 指定main方法入口 -->
  185. <configuration>
  186. <mainClass>com.itstyle.Application</mainClass>
  187. </configuration>
  188. <executions>
  189. <execution>
  190. <goals>
  191. <goal>repackage</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. <dependencies>
  196. <!-- mvn spring-boot:run 热部署启动 -->
  197. <dependency>
  198. <groupId>org.springframework</groupId>
  199. <artifactId>springloaded</artifactId>
  200. <version>1.2.7.RELEASE</version>
  201. </dependency>
  202. </dependencies>
  203. </plugin>
  204. </plugins>
  205. </build>
  206. </project>