pom.xml 4.3 KB

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