pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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>cn.kdan.pdf.office</groupId>
  25. <artifactId>pdf-office-api-account</artifactId>
  26. <version>0.0.1</version>
  27. <exclusions>
  28. <exclusion>
  29. <groupId>cn.kdan.pdf.office</groupId>
  30. <artifactId>pdf-office-common</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-web</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-test</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-actuator</artifactId>
  46. <scope>compile</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.alibaba.cloud</groupId>
  50. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.alibaba.cloud</groupId>
  54. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.cloud</groupId>
  58. <artifactId>spring-cloud-starter-openfeign</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid-spring-boot-starter</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.alibaba</groupId>
  70. <artifactId>druid</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>cn.kdan.pdf.office</groupId>
  74. <artifactId>pdf-office-api-payment</artifactId>
  75. <version>0.0.1</version>
  76. <exclusions>
  77. <exclusion>
  78. <groupId>cn.kdan.pdf.office</groupId>
  79. <artifactId>pdf-office-common</artifactId>
  80. </exclusion>
  81. </exclusions>
  82. </dependency>
  83. <dependency>
  84. <groupId>cn.kdan.pdf.office</groupId>
  85. <artifactId>pdf-office-api-product</artifactId>
  86. <version>0.0.1</version>
  87. <exclusions>
  88. <exclusion>
  89. <groupId>cn.kdan.pdf.office</groupId>
  90. <artifactId>pdf-office-common</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.fasterxml.jackson.core</groupId>
  96. <artifactId>jackson-databind</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>fastjson</artifactId>
  101. </dependency>
  102. <!-- &lt;!&ndash;paddle webhook 验证&ndash;&gt;-->
  103. <!-- <dependency>-->
  104. <!-- <groupId>com.jamiussiam</groupId>-->
  105. <!-- <artifactId>paddle-verifier</artifactId>-->
  106. <!-- <version>2.1</version>-->
  107. <!-- </dependency>-->
  108. <dependency>
  109. <groupId>com.xk72</groupId>
  110. <artifactId>paddle-webhook-verifier</artifactId>
  111. <version>1.0</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>commons-beanutils</groupId>
  115. <artifactId>commons-beanutils</artifactId>
  116. </dependency>
  117. <dependency>
  118. <groupId>cn.kdan.pdf.office</groupId>
  119. <artifactId>pdf-office-api-email</artifactId>
  120. <version>0.0.1</version>
  121. <exclusions>
  122. <exclusion>
  123. <groupId>cn.kdan.pdf.office</groupId>
  124. <artifactId>pdf-office-common</artifactId>
  125. </exclusion>
  126. </exclusions>
  127. </dependency>
  128. <!-- https://mvnrepository.com/artifact/com.paypal.sdk/rest-api-sdk -->
  129. <dependency>
  130. <groupId>com.paypal.sdk</groupId>
  131. <artifactId>rest-api-sdk</artifactId>
  132. <version>1.14.0</version>
  133. </dependency>
  134. <!-- https://mvnrepository.com/artifact/com.paypal.sdk/checkout-sdk -->
  135. <dependency>
  136. <groupId>com.paypal.sdk</groupId>
  137. <artifactId>checkout-sdk</artifactId>
  138. <version>2.0.0</version>
  139. </dependency>
  140. </dependencies>
  141. <build>
  142. <finalName>pdf-office-payment</finalName>
  143. <resources>
  144. <resource>
  145. <directory>src/main/resources</directory>
  146. <includes>
  147. <include>**/*</include>
  148. </includes>
  149. <filtering>true</filtering>
  150. </resource>
  151. </resources>
  152. <plugins>
  153. <plugin>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-maven-plugin</artifactId>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-surefire-plugin</artifactId>
  160. <version>2.22.2</version>
  161. <configuration>
  162. <skipTests>true</skipTests>
  163. </configuration>
  164. </plugin>
  165. <plugin>
  166. <groupId>com.spotify</groupId>
  167. <artifactId>docker-maven-plugin</artifactId>
  168. <version>${docker.version}</version>
  169. <configuration>
  170. <!-- Docker 远程管理地址-->
  171. <dockerHost>http://${docker.host}</dockerHost>
  172. <!--镜像名称-->
  173. <imageName>${project.artifactId}</imageName>
  174. <!--Dockerfile-->
  175. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  176. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  177. <resources>
  178. <resource>
  179. <targetPath>/</targetPath>
  180. <directory>${project.build.directory}</directory>
  181. <include>${project.build.finalName}.jar</include>
  182. </resource>
  183. </resources>
  184. </configuration>
  185. </plugin>
  186. </plugins>
  187. </build>
  188. </project>