pom.xml 6.6 KB

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