pom.xml 7.6 KB

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