pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. <exclusions>
  23. <exclusion>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-amqp</artifactId>
  26. </exclusion>
  27. </exclusions>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-test</artifactId>
  36. <scope>test</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-actuator</artifactId>
  41. <scope>compile</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.alibaba.cloud</groupId>
  45. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba.cloud</groupId>
  49. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-starter-openfeign</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.cloud</groupId>
  57. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.alibaba</groupId>
  61. <artifactId>druid-spring-boot-starter</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.alibaba</groupId>
  65. <artifactId>druid</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>cn.kdan.pdf.office</groupId>
  69. <artifactId>pdf-office-api-payment</artifactId>
  70. <version>0.0.1</version>
  71. <exclusions>
  72. <exclusion>
  73. <groupId>cn.kdan.pdf.office</groupId>
  74. <artifactId>pdf-office-common</artifactId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.fasterxml.jackson.core</groupId>
  80. <artifactId>jackson-databind</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.alibaba</groupId>
  84. <artifactId>fastjson</artifactId>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <finalName>pdf-office-payment</finalName>
  89. <resources>
  90. <resource>
  91. <directory>src/main/resources</directory>
  92. <includes>
  93. <include>**/*</include>
  94. </includes>
  95. <filtering>true</filtering>
  96. </resource>
  97. </resources>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-surefire-plugin</artifactId>
  106. <version>2.22.2</version>
  107. <configuration>
  108. <skipTests>true</skipTests>
  109. </configuration>
  110. </plugin>
  111. <plugin>
  112. <groupId>com.spotify</groupId>
  113. <artifactId>docker-maven-plugin</artifactId>
  114. <version>${docker.version}</version>
  115. <configuration>
  116. <!-- Docker 远程管理地址-->
  117. <dockerHost>http://${docker.host}</dockerHost>
  118. <!--镜像名称-->
  119. <imageName>${project.artifactId}</imageName>
  120. <!--Dockerfile-->
  121. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  122. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  123. <resources>
  124. <resource>
  125. <targetPath>/</targetPath>
  126. <directory>${project.build.directory}</directory>
  127. <include>${project.build.finalName}.jar</include>
  128. </resource>
  129. </resources>
  130. </configuration>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>