pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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. </dependencies>
  114. <build>
  115. <finalName>pdf-office-payment</finalName>
  116. <resources>
  117. <resource>
  118. <directory>src/main/resources</directory>
  119. <includes>
  120. <include>**/*</include>
  121. </includes>
  122. <filtering>true</filtering>
  123. </resource>
  124. </resources>
  125. <plugins>
  126. <plugin>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-maven-plugin</artifactId>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-surefire-plugin</artifactId>
  133. <version>2.22.2</version>
  134. <configuration>
  135. <skipTests>true</skipTests>
  136. </configuration>
  137. </plugin>
  138. <plugin>
  139. <groupId>com.spotify</groupId>
  140. <artifactId>docker-maven-plugin</artifactId>
  141. <version>${docker.version}</version>
  142. <configuration>
  143. <!-- Docker 远程管理地址-->
  144. <dockerHost>http://${docker.host}</dockerHost>
  145. <!--镜像名称-->
  146. <imageName>${project.artifactId}</imageName>
  147. <!--Dockerfile-->
  148. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  149. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  150. <resources>
  151. <resource>
  152. <targetPath>/</targetPath>
  153. <directory>${project.build.directory}</directory>
  154. <include>${project.build.finalName}.jar</include>
  155. </resource>
  156. </resources>
  157. </configuration>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. </project>