pom.xml 6.1 KB

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