pom.xml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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>com.google.auth</groupId>
  20. <artifactId>google-auth-library-credentials</artifactId>
  21. <version>1.21.0</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.google.http-client</groupId>
  25. <artifactId>google-http-client</artifactId>
  26. <version>1.43.3</version> <!-- 更新版本 -->
  27. </dependency>
  28. <dependency>
  29. <groupId>com.google.api-client</groupId>
  30. <artifactId>google-api-client</artifactId>
  31. <version>1.31.1</version> <!-- 更新到至少 1.31.1 -->
  32. </dependency>
  33. <dependency>
  34. <groupId>com.google.auth</groupId>
  35. <artifactId>google-auth-library-oauth2-http</artifactId>
  36. <version>1.19.0</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.google.apis</groupId>
  40. <artifactId>google-api-services-androidpublisher</artifactId>
  41. <version>v3-rev20231115-2.0.0</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>io.jsonwebtoken</groupId>
  45. <artifactId>jjwt-api</artifactId>
  46. <version>0.11.2</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>io.jsonwebtoken</groupId>
  50. <artifactId>jjwt-impl</artifactId>
  51. <version>0.11.2</version>
  52. <scope>runtime</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.jsonwebtoken</groupId>
  56. <artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
  57. <version>0.11.2</version>
  58. <scope>runtime</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>cn.kdan.pdf.office</groupId>
  62. <artifactId>pdf-office-common</artifactId>
  63. <version>0.0.1</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-freemarker</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>cn.kdan.pdf.office</groupId>
  71. <artifactId>pdf-office-api-account</artifactId>
  72. <version>0.0.1</version>
  73. <exclusions>
  74. <exclusion>
  75. <groupId>cn.kdan.pdf.office</groupId>
  76. <artifactId>pdf-office-common</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-web</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-test</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-actuator</artifactId>
  92. <scope>compile</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.alibaba.cloud</groupId>
  96. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.alibaba.cloud</groupId>
  100. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework.cloud</groupId>
  104. <artifactId>spring-cloud-starter-openfeign</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.cloud</groupId>
  108. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.alibaba</groupId>
  112. <artifactId>druid-spring-boot-starter</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.alibaba</groupId>
  116. <artifactId>druid</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>cn.kdan.pdf.office</groupId>
  120. <artifactId>pdf-office-api-payment</artifactId>
  121. <version>0.0.1</version>
  122. <exclusions>
  123. <exclusion>
  124. <groupId>cn.kdan.pdf.office</groupId>
  125. <artifactId>pdf-office-common</artifactId>
  126. </exclusion>
  127. </exclusions>
  128. </dependency>
  129. <dependency>
  130. <groupId>cn.kdan.pdf.office</groupId>
  131. <artifactId>pdf-office-api-product</artifactId>
  132. <version>0.0.1</version>
  133. <exclusions>
  134. <exclusion>
  135. <groupId>cn.kdan.pdf.office</groupId>
  136. <artifactId>pdf-office-common</artifactId>
  137. </exclusion>
  138. </exclusions>
  139. </dependency>
  140. <!-- <dependency>-->
  141. <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
  142. <!-- <artifactId>jackson-databind</artifactId>-->
  143. <!-- </dependency>-->
  144. <!-- <dependency>-->
  145. <!-- <groupId>com.alibaba</groupId>-->
  146. <!-- <artifactId>fastjson</artifactId>-->
  147. <!-- </dependency>-->
  148. <dependency>
  149. <groupId>com.xk72</groupId>
  150. <artifactId>paddle-webhook-verifier</artifactId>
  151. <version>1.0</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>commons-beanutils</groupId>
  155. <artifactId>commons-beanutils</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>cn.kdan.pdf.office</groupId>
  159. <artifactId>pdf-office-api-email</artifactId>
  160. <version>0.0.1</version>
  161. <exclusions>
  162. <exclusion>
  163. <groupId>cn.kdan.pdf.office</groupId>
  164. <artifactId>pdf-office-common</artifactId>
  165. </exclusion>
  166. </exclusions>
  167. </dependency>
  168. <!-- https://mvnrepository.com/artifact/com.paypal.sdk/rest-api-sdk -->
  169. <dependency>
  170. <groupId>com.paypal.sdk</groupId>
  171. <artifactId>rest-api-sdk</artifactId>
  172. <version>1.14.0</version>
  173. </dependency>
  174. <!-- https://mvnrepository.com/artifact/com.paypal.sdk/checkout-sdk -->
  175. <dependency>
  176. <groupId>com.paypal.sdk</groupId>
  177. <artifactId>checkout-sdk</artifactId>
  178. <version>2.0.0</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>io.jsonwebtoken</groupId>
  182. <artifactId>jjwt</artifactId>
  183. <version>0.9.1</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.auth0</groupId>
  187. <artifactId>java-jwt</artifactId>
  188. <version>4.2.1</version>
  189. </dependency>
  190. <!-- <dependency>-->
  191. <!-- <groupId>com.fasterxml.jackson.core</groupId>-->
  192. <!-- <artifactId>jackson-databind</artifactId>-->
  193. <!-- <version>2.13.4.2</version>-->
  194. <!-- </dependency>-->
  195. <!--hutool工具包-->
  196. <dependency>
  197. <groupId>cn.hutool</groupId>
  198. <artifactId>hutool-all</artifactId>
  199. <version>5.8.2</version>
  200. </dependency>
  201. <!-- 添加OkHttp依赖 -->
  202. <dependency>
  203. <groupId>com.squareup.okhttp3</groupId>
  204. <artifactId>okhttp</artifactId>
  205. <version>4.9.1</version> <!-- 请使用最新的稳定版本 -->
  206. </dependency>
  207. </dependencies>
  208. <build>
  209. <finalName>pdf-office-payment</finalName>
  210. <resources>
  211. <resource>
  212. <directory>src/main/resources</directory>
  213. <includes>
  214. <include>**/*</include>
  215. </includes>
  216. <filtering>true</filtering>
  217. </resource>
  218. </resources>
  219. <plugins>
  220. <plugin>
  221. <groupId>org.springframework.boot</groupId>
  222. <artifactId>spring-boot-maven-plugin</artifactId>
  223. </plugin>
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-surefire-plugin</artifactId>
  227. <version>2.22.2</version>
  228. <configuration>
  229. <skipTests>true</skipTests>
  230. </configuration>
  231. </plugin>
  232. <plugin>
  233. <groupId>com.spotify</groupId>
  234. <artifactId>docker-maven-plugin</artifactId>
  235. <version>${docker.version}</version>
  236. <configuration>
  237. <!-- Docker 远程管理地址-->
  238. <dockerHost>http://${docker.host}</dockerHost>
  239. <!--镜像名称-->
  240. <imageName>${project.artifactId}</imageName>
  241. <!--Dockerfile-->
  242. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  243. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  244. <resources>
  245. <resource>
  246. <targetPath>/</targetPath>
  247. <directory>${project.build.directory}</directory>
  248. <include>${project.build.finalName}.jar</include>
  249. </resource>
  250. </resources>
  251. </configuration>
  252. </plugin>
  253. </plugins>
  254. </build>
  255. </project>