pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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>cn.kdan.pdf.office</groupId>
  22. <artifactId>pdf-office-api-account</artifactId>
  23. <version>0.0.1</version>
  24. <scope>compile</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework</groupId>
  28. <artifactId>spring-aspects</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.mybatis.spring.boot</groupId>
  32. <artifactId>mybatis-spring-boot-starter</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-configuration-processor</artifactId>
  37. <optional>true</optional>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-data-redis</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>mysql</groupId>
  45. <artifactId>mysql-connector-java</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>druid</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <!-- spring cloud start -->
  57. <dependency>
  58. <groupId>com.alibaba.cloud</groupId>
  59. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba.cloud</groupId>
  63. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.cloud</groupId>
  67. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.cloud</groupId>
  71. <artifactId>spring-cloud-starter-openfeign</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-actuator</artifactId>
  76. <scope>compile</scope>
  77. </dependency>
  78. <!-- spring cloud end -->
  79. <dependency>
  80. <groupId>com.github.pagehelper</groupId>
  81. <artifactId>pagehelper-spring-boot-starter</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>cn.kdan.pdf.office</groupId>
  85. <artifactId>pdf-office-common</artifactId>
  86. <version>0.0.1</version>
  87. <exclusions>
  88. <exclusion>
  89. <groupId>com.baomidou</groupId>
  90. <artifactId>mybatis-plus-boot-starter</artifactId>
  91. </exclusion>
  92. <exclusion>
  93. <groupId>mysql</groupId>
  94. <artifactId>mysql-connector-java</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <!-- <dependency>-->
  99. <!-- <groupId>org.springframework.security.oauth.boot</groupId>-->
  100. <!-- <artifactId>spring-security-oauth2-autoconfigure</artifactId>-->
  101. <!-- </dependency>-->
  102. <!-- <dependency>-->
  103. <!-- <groupId>org.springframework.boot</groupId>-->
  104. <!-- <artifactId>spring-boot-starter-security</artifactId>-->
  105. <!-- </dependency>-->
  106. </dependencies>
  107. <dependencyManagement>
  108. <dependencies>
  109. <dependency>
  110. <groupId>com.alibaba.cloud</groupId>
  111. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  112. <version>2.2.5.RELEASE</version>
  113. <type>pom</type>
  114. <scope>import</scope>
  115. </dependency>
  116. </dependencies>
  117. </dependencyManagement>
  118. <build>
  119. <finalName>pdf-office-account</finalName>
  120. <resources>
  121. <resource>
  122. <directory>src/main/resources</directory>
  123. <includes>
  124. <include>**/*</include>
  125. </includes>
  126. <filtering>true</filtering>
  127. </resource>
  128. </resources>
  129. <plugins>
  130. <plugin>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-maven-plugin</artifactId>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.mybatis.generator</groupId>
  136. <artifactId>mybatis-generator-maven-plugin</artifactId>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-surefire-plugin</artifactId>
  141. <version>2.22.2</version>
  142. <configuration>
  143. <skipTests>true</skipTests>
  144. </configuration>
  145. </plugin>
  146. <plugin>
  147. <groupId>com.spotify</groupId>
  148. <artifactId>docker-maven-plugin</artifactId>
  149. <version>${docker.version}</version>
  150. <configuration>
  151. <!-- Docker 远程管理地址-->
  152. <dockerHost>http://${docker.host}</dockerHost>
  153. <!--镜像名称-->
  154. <imageName>${project.artifactId}</imageName>
  155. <!--Dockerfile-->
  156. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  157. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  158. <resources>
  159. <resource>
  160. <targetPath>/</targetPath>
  161. <directory>${project.build.directory}</directory>
  162. <include>${project.build.finalName}.jar</include>
  163. </resource>
  164. </resources>
  165. </configuration>
  166. </plugin>
  167. </plugins>
  168. </build>
  169. </project>