pom.xml 7.8 KB

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