pom.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>backend</artifactId>
  7. <groupId>cn.kdan.pdf.office</groupId>
  8. <version>0.0.1</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>pdf-office-payment</artifactId>
  12. <description>PDF-OFFICE 支付模块</description>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>cn.kdan.pdf.office</groupId>
  20. <artifactId>pdf-office-common</artifactId>
  21. <version>0.0.1</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-freemarker</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>cn.kdan.pdf.office</groupId>
  29. <artifactId>pdf-office-api-account</artifactId>
  30. <version>0.0.1</version>
  31. <exclusions>
  32. <exclusion>
  33. <groupId>cn.kdan.pdf.office</groupId>
  34. <artifactId>pdf-office-common</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-web</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-actuator</artifactId>
  50. <scope>compile</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.alibaba.cloud</groupId>
  54. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba.cloud</groupId>
  58. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-starter-openfeign</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.cloud</groupId>
  66. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.alibaba</groupId>
  70. <artifactId>druid-spring-boot-starter</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.alibaba</groupId>
  74. <artifactId>druid</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>cn.kdan.pdf.office</groupId>
  78. <artifactId>pdf-office-api-payment</artifactId>
  79. <version>0.0.1</version>
  80. <exclusions>
  81. <exclusion>
  82. <groupId>cn.kdan.pdf.office</groupId>
  83. <artifactId>pdf-office-common</artifactId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <dependency>
  88. <groupId>cn.kdan.pdf.office</groupId>
  89. <artifactId>pdf-office-api-product</artifactId>
  90. <version>0.0.1</version>
  91. <exclusions>
  92. <exclusion>
  93. <groupId>cn.kdan.pdf.office</groupId>
  94. <artifactId>pdf-office-common</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.fasterxml.jackson.core</groupId>
  100. <artifactId>jackson-databind</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>fastjson</artifactId>
  105. </dependency>
  106. <!-- &lt;!&ndash;paddle webhook 验证&ndash;&gt;-->
  107. <!-- <dependency>-->
  108. <!-- <groupId>com.jamiussiam</groupId>-->
  109. <!-- <artifactId>paddle-verifier</artifactId>-->
  110. <!-- <version>2.1</version>-->
  111. <!-- </dependency>-->
  112. <dependency>
  113. <groupId>com.xk72</groupId>
  114. <artifactId>paddle-webhook-verifier</artifactId>
  115. <version>1.0</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>commons-beanutils</groupId>
  119. <artifactId>commons-beanutils</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>cn.kdan.pdf.office</groupId>
  123. <artifactId>pdf-office-api-email</artifactId>
  124. <version>0.0.1</version>
  125. <exclusions>
  126. <exclusion>
  127. <groupId>cn.kdan.pdf.office</groupId>
  128. <artifactId>pdf-office-common</artifactId>
  129. </exclusion>
  130. </exclusions>
  131. </dependency>
  132. <!-- https://mvnrepository.com/artifact/com.paypal.sdk/rest-api-sdk -->
  133. <dependency>
  134. <groupId>com.paypal.sdk</groupId>
  135. <artifactId>rest-api-sdk</artifactId>
  136. <version>1.14.0</version>
  137. </dependency>
  138. <!-- https://mvnrepository.com/artifact/com.paypal.sdk/checkout-sdk -->
  139. <dependency>
  140. <groupId>com.paypal.sdk</groupId>
  141. <artifactId>checkout-sdk</artifactId>
  142. <version>2.0.0</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>io.jsonwebtoken</groupId>
  146. <artifactId>jjwt</artifactId>
  147. <version>0.9.1</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.auth0</groupId>
  151. <artifactId>java-jwt</artifactId>
  152. <version>4.2.1</version>
  153. </dependency>
  154. <!-- <dependency>-->
  155. <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
  156. <!-- <artifactId>jackson-databind</artifactId>-->
  157. <!-- <version>2.13.4.2</version>-->
  158. <!-- </dependency>-->
  159. <!--hutool工具包-->
  160. <dependency>
  161. <groupId>cn.hutool</groupId>
  162. <artifactId>hutool-all</artifactId>
  163. <version>5.8.2</version>
  164. </dependency>
  165. </dependencies>
  166. <build>
  167. <finalName>pdf-office-payment</finalName>
  168. <resources>
  169. <resource>
  170. <directory>src/main/resources</directory>
  171. <includes>
  172. <include>**/*</include>
  173. </includes>
  174. <filtering>true</filtering>
  175. </resource>
  176. </resources>
  177. <plugins>
  178. <plugin>
  179. <groupId>org.springframework.boot</groupId>
  180. <artifactId>spring-boot-maven-plugin</artifactId>
  181. </plugin>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-surefire-plugin</artifactId>
  185. <version>2.22.2</version>
  186. <configuration>
  187. <skipTests>true</skipTests>
  188. </configuration>
  189. </plugin>
  190. <plugin>
  191. <groupId>com.spotify</groupId>
  192. <artifactId>docker-maven-plugin</artifactId>
  193. <version>${docker.version}</version>
  194. <configuration>
  195. <!-- Docker 远程管理地址-->
  196. <dockerHost>http://${docker.host}</dockerHost>
  197. <!--镜像名称-->
  198. <imageName>${project.artifactId}</imageName>
  199. <!--Dockerfile-->
  200. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  201. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  202. <resources>
  203. <resource>
  204. <targetPath>/</targetPath>
  205. <directory>${project.build.directory}</directory>
  206. <include>${project.build.finalName}.jar</include>
  207. </resource>
  208. </resources>
  209. </configuration>
  210. </plugin>
  211. </plugins>
  212. </build>
  213. </project>