pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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-product</artifactId>
  12. <description>产品/app/活动 中心</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>com.fasterxml.jackson.core</groupId>
  69. <artifactId>jackson-databind</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>fastjson</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>cn.kdan.pdf.office</groupId>
  77. <artifactId>pdf-office-api-product</artifactId>
  78. <version>0.0.1</version>
  79. <exclusions>
  80. <exclusion>
  81. <groupId>cn.kdan.pdf.office</groupId>
  82. <artifactId>pdf-office-common</artifactId>
  83. </exclusion>
  84. </exclusions>
  85. </dependency>
  86. <dependency>
  87. <groupId>cn.kdan.pdf.office</groupId>
  88. <artifactId>pdf-office-api-account</artifactId>
  89. <version>0.0.1</version>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>cn.kdan.pdf.office</groupId>
  93. <artifactId>pdf-office-common</artifactId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <finalName>pdf-office-product</finalName>
  100. <resources>
  101. <resource>
  102. <directory>src/main/resources</directory>
  103. <includes>
  104. <include>**/*</include>
  105. </includes>
  106. <filtering>true</filtering>
  107. </resource>
  108. </resources>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-surefire-plugin</artifactId>
  117. <version>2.22.2</version>
  118. <configuration>
  119. <skipTests>true</skipTests>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>com.spotify</groupId>
  124. <artifactId>docker-maven-plugin</artifactId>
  125. <version>${docker.version}</version>
  126. <configuration>
  127. <!-- Docker 远程管理地址-->
  128. <dockerHost>http://${docker.host}</dockerHost>
  129. <!--镜像名称-->
  130. <imageName>${project.artifactId}</imageName>
  131. <!--Dockerfile-->
  132. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  133. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  134. <resources>
  135. <resource>
  136. <targetPath>/</targetPath>
  137. <directory>${project.build.directory}</directory>
  138. <include>${project.build.finalName}.jar</include>
  139. </resource>
  140. </resources>
  141. </configuration>
  142. </plugin>
  143. </plugins>
  144. </build>
  145. </project>