pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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. <!-- dubbo 替换 dubbox-->
  124. <dependency>
  125. <groupId>com.alibaba</groupId>
  126. <artifactId>dubbo</artifactId>
  127. <version>2.6.2</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.alibaba.spring.boot</groupId>
  131. <artifactId>dubbo-spring-boot-starter</artifactId>
  132. <version>2.0.0</version>
  133. </dependency>
  134. <!-- zookeeper 第三方操作工具类 -->
  135. <!-- zookeeper 教程: https://blog.52itstyle.com/tag/zookeeper/ -->
  136. <!-- <dependency>
  137. <groupId>com.101tec</groupId>
  138. <artifactId>zkclient</artifactId>
  139. <version>0.6</version>
  140. <exclusions>
  141. <exclusion>
  142. <groupId>org.slf4j</groupId>
  143. <artifactId>slf4j-log4j12</artifactId>
  144. </exclusion>
  145. </exclusions>
  146. </dependency> -->
  147. <!-- curator-recipes 替换 zkclient-->
  148. <dependency>
  149. <groupId>org.apache.curator</groupId>
  150. <artifactId>curator-recipes</artifactId>
  151. <version>4.0.1</version>
  152. </dependency>
  153. <!-- javassist 字节码类库 -->
  154. <dependency>
  155. <groupId>org.javassist</groupId>
  156. <artifactId>javassist</artifactId>
  157. </dependency>
  158. <!-- swagger2 文档 -->
  159. <dependency>
  160. <groupId>io.springfox</groupId>
  161. <artifactId>springfox-swagger2</artifactId>
  162. <version>2.7.0</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>io.springfox</groupId>
  166. <artifactId>springfox-swagger-ui</artifactId>
  167. <version>2.7.0</version>
  168. </dependency>
  169. <!-- 微信开发工具 -->
  170. <dependency>
  171. <groupId>com.github.liyiorg</groupId>
  172. <artifactId>weixin-popular</artifactId>
  173. <version>2.8.16</version>
  174. </dependency>
  175. </dependencies>
  176. <build>
  177. <finalName>spring-boot-pay</finalName>
  178. <plugins>
  179. <!-- 打包项目 mvn clean package -->
  180. <plugin>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-maven-plugin</artifactId>
  183. <!-- 指定main方法入口 -->
  184. <configuration>
  185. <mainClass>com.itstyle.Application</mainClass>
  186. </configuration>
  187. <executions>
  188. <execution>
  189. <goals>
  190. <goal>repackage</goal>
  191. </goals>
  192. </execution>
  193. </executions>
  194. <dependencies>
  195. <!-- mvn spring-boot:run 热部署启动 -->
  196. <dependency>
  197. <groupId>org.springframework</groupId>
  198. <artifactId>springloaded</artifactId>
  199. <version>1.2.7.RELEASE</version>
  200. </dependency>
  201. </dependencies>
  202. </plugin>
  203. </plugins>
  204. </build>
  205. </project>