pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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-system</artifactId>
  12. <description>管理后台</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>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-actuator</artifactId>
  62. <scope>compile</scope>
  63. </dependency>
  64. <!-- spring cloud end -->
  65. <dependency>
  66. <groupId>com.alibaba</groupId>
  67. <artifactId>druid-spring-boot-starter</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.alibaba</groupId>
  71. <artifactId>druid</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>cn.kdan.pdf.office</groupId>
  75. <artifactId>pdf-office-api-account</artifactId>
  76. <version>0.0.1</version>
  77. <scope>compile</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-security</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.security.oauth</groupId>
  85. <artifactId>spring-security-oauth2</artifactId>
  86. </dependency>
  87. </dependencies>
  88. <dependencyManagement>
  89. <dependencies>
  90. <dependency>
  91. <groupId>com.alibaba.cloud</groupId>
  92. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  93. <version>2.2.5.RELEASE</version>
  94. <type>pom</type>
  95. <scope>import</scope>
  96. </dependency>
  97. </dependencies>
  98. </dependencyManagement>
  99. <build>
  100. <finalName>pdf-office-system</finalName>
  101. <resources>
  102. <resource>
  103. <directory>src/main/resources</directory>
  104. <includes>
  105. <include>**/*</include>
  106. </includes>
  107. <filtering>true</filtering>
  108. </resource>
  109. </resources>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-maven-plugin</artifactId>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-surefire-plugin</artifactId>
  118. <version>2.22.2</version>
  119. <configuration>
  120. <skipTests>true</skipTests>
  121. </configuration>
  122. </plugin>
  123. <plugin>
  124. <groupId>com.spotify</groupId>
  125. <artifactId>docker-maven-plugin</artifactId>
  126. <version>${docker.version}</version>
  127. <configuration>
  128. <!-- Docker 远程管理地址-->
  129. <dockerHost>http://${docker.host}</dockerHost>
  130. <!--镜像名称-->
  131. <imageName>${project.artifactId}</imageName>
  132. <!--Dockerfile-->
  133. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  134. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  135. <resources>
  136. <resource>
  137. <targetPath>/</targetPath>
  138. <directory>${project.build.directory}</directory>
  139. <include>${project.build.finalName}.jar</include>
  140. </resource>
  141. </resources>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </project>