pom.xml 8.0 KB

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