pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <artifactId>pdf-office-account</artifactId>
  6. <version>0.0.1</version>
  7. <packaging>jar</packaging>
  8. <name>pdf-office-account</name>
  9. <description>pdf-office-account</description>
  10. <parent>
  11. <groupId>cn.kdan.pdf.office</groupId>
  12. <artifactId>backend</artifactId>
  13. <version>0.0.1</version>
  14. </parent>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework</groupId>
  22. <artifactId>spring-aspects</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.mybatis.spring.boot</groupId>
  26. <artifactId>mybatis-spring-boot-starter</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-configuration-processor</artifactId>
  31. <optional>true</optional>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-data-redis</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.alibaba</groupId>
  43. <artifactId>druid</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-test</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <!-- spring cloud start -->
  51. <dependency>
  52. <groupId>com.alibaba.cloud</groupId>
  53. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.alibaba.cloud</groupId>
  57. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.cloud</groupId>
  61. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.cloud</groupId>
  65. <artifactId>spring-cloud-starter-openfeign</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-actuator</artifactId>
  70. <scope>compile</scope>
  71. </dependency>
  72. <!-- spring cloud end -->
  73. <dependency>
  74. <groupId>com.github.pagehelper</groupId>
  75. <artifactId>pagehelper-spring-boot-starter</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>cn.kdan.pdf.office</groupId>
  79. <artifactId>pdf-office-common</artifactId>
  80. <version>0.0.1</version>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>com.baomidou</groupId>
  84. <artifactId>mybatis-plus-boot-starter</artifactId>
  85. </exclusion>
  86. <exclusion>
  87. <groupId>mysql</groupId>
  88. <artifactId>mysql-connector-java</artifactId>
  89. </exclusion>
  90. </exclusions>
  91. </dependency>
  92. </dependencies>
  93. <dependencyManagement>
  94. <dependencies>
  95. <dependency>
  96. <groupId>com.alibaba.cloud</groupId>
  97. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  98. <version>2.2.5.RELEASE</version>
  99. <type>pom</type>
  100. <scope>import</scope>
  101. </dependency>
  102. </dependencies>
  103. </dependencyManagement>
  104. <build>
  105. <finalName>pdf-office-account</finalName>
  106. <resources>
  107. <resource>
  108. <directory>src/main/resources</directory>
  109. <includes>
  110. <include>**/*</include>
  111. </includes>
  112. <filtering>true</filtering>
  113. </resource>
  114. </resources>
  115. <plugins>
  116. <plugin>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-maven-plugin</artifactId>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.mybatis.generator</groupId>
  122. <artifactId>mybatis-generator-maven-plugin</artifactId>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-surefire-plugin</artifactId>
  127. <version>2.22.2</version>
  128. <configuration>
  129. <skipTests>true</skipTests>
  130. </configuration>
  131. </plugin>
  132. <plugin>
  133. <groupId>com.spotify</groupId>
  134. <artifactId>docker-maven-plugin</artifactId>
  135. <version>${docker.version}</version>
  136. <configuration>
  137. <!-- Docker 远程管理地址-->
  138. <dockerHost>http://${docker.host}</dockerHost>
  139. <!--镜像名称-->
  140. <imageName>${project.artifactId}</imageName>
  141. <!--Dockerfile-->
  142. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  143. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  144. <resources>
  145. <resource>
  146. <targetPath>/</targetPath>
  147. <directory>${project.build.directory}</directory>
  148. <include>${project.build.finalName}.jar</include>
  149. </resource>
  150. </resources>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. </build>
  155. </project>