pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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-pdf-website</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <url>http://maven.apache.org</url>
  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-payment</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-account</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. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-actuator</artifactId>
  111. <scope>compile</scope>
  112. </dependency>
  113. <!-- spring security start -->
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-security</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework.security.oauth</groupId>
  120. <artifactId>spring-security-oauth2</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>cn.kdan.pdf.office</groupId>
  124. <artifactId>pdf-office-api-account</artifactId>
  125. <version>0.0.1</version>
  126. <scope>compile</scope>
  127. </dependency>
  128. <!-- end -->
  129. </dependencies>
  130. <build>
  131. <finalName>pdf-office-website</finalName>
  132. <resources>
  133. <resource>
  134. <directory>src/main/resources</directory>
  135. <includes>
  136. <include>**/*</include>
  137. </includes>
  138. <filtering>true</filtering>
  139. </resource>
  140. </resources>
  141. <plugins>
  142. <plugin>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-maven-plugin</artifactId>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-surefire-plugin</artifactId>
  149. <version>2.22.2</version>
  150. <configuration>
  151. <skipTests>true</skipTests>
  152. </configuration>
  153. </plugin>
  154. <plugin>
  155. <groupId>com.spotify</groupId>
  156. <artifactId>docker-maven-plugin</artifactId>
  157. <version>${docker.version}</version>
  158. <configuration>
  159. <!-- Docker 远程管理地址-->
  160. <dockerHost>http://${docker.host}</dockerHost>
  161. <!--镜像名称-->
  162. <imageName>${project.artifactId}</imageName>
  163. <!--Dockerfile-->
  164. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  165. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  166. <resources>
  167. <resource>
  168. <targetPath>/</targetPath>
  169. <directory>${project.build.directory}</directory>
  170. <include>${project.build.finalName}.jar</include>
  171. </resource>
  172. </resources>
  173. </configuration>
  174. </plugin>
  175. </plugins>
  176. </build>
  177. </project>