pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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. <groupId>com.kankan.daikan</groupId>
  7. <artifactId>kankan-daikan-parent</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <description>房车宝管理后台综合管理微服务</description>
  10. <packaging>pom</packaging>
  11. <modules>
  12. <module>kankan-daikan-application</module>
  13. <module>kankan-daikan-core</module>
  14. </modules>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
  20. <nacos.latest.version>0.2.1</nacos.latest.version>
  21. <nacos-config-spring-boot.version>0.2.1</nacos-config-spring-boot.version>
  22. <jedis-version>3.1.0</jedis-version>
  23. </properties>
  24. <parent>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-parent</artifactId>
  27. <version>2.2.5.RELEASE</version>
  28. <relativePath/> <!-- lookup parent from repository -->
  29. </parent>
  30. <dependencyManagement>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.springframework.cloud</groupId>
  34. <artifactId>spring-cloud-dependencies</artifactId>
  35. <version>Greenwich.SR2</version>
  36. <type>pom</type>
  37. <scope>import</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  42. <version>0.9.0.RELEASE</version>
  43. <type>pom</type>
  44. <scope>import</scope>
  45. </dependency>
  46. </dependencies>
  47. </dependencyManagement>
  48. <dependencies>
  49. <!-- 引入四维sdk -->
  50. <dependency>
  51. <groupId>org.4dage</groupId>
  52. <artifactId>4dage-back-sdk</artifactId>
  53. <version>1.0.2.20-RELEASE</version>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>io.lettuce</groupId>
  57. <artifactId>lettuce-core</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <!-- mybatis-plus逻辑删除依赖-->
  62. <dependency>
  63. <groupId>com.baomidou</groupId>
  64. <artifactId>mybatis-plus-core</artifactId>
  65. <version>3.3.1.tmp</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>redis.clients</groupId>
  69. <artifactId>jedis</artifactId>
  70. <version>${jedis-version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-data-redis</artifactId>
  75. <exclusions>
  76. <exclusion>
  77. <groupId>io.lettuce</groupId>
  78. <artifactId>lettuce-core</artifactId>
  79. </exclusion>
  80. </exclusions>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.netflix.hystrix</groupId>
  84. <artifactId>hystrix-core</artifactId>
  85. <version>1.5.12</version>
  86. </dependency>
  87. <!-- https://mvnrepository.com/artifact/com.netflix.hystrix/hystrix-javanica -->
  88. <dependency>
  89. <groupId>com.netflix.hystrix</groupId>
  90. <artifactId>hystrix-javanica</artifactId>
  91. <version>1.5.12</version>
  92. </dependency>
  93. <!-- http://mvnrepository.com/artifact/com.netflix.hystrix/hystrix-metrics-event-stream -->
  94. <dependency>
  95. <groupId>com.netflix.hystrix</groupId>
  96. <artifactId>hystrix-metrics-event-stream</artifactId>
  97. <version>1.5.12</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-starter-tomcat</artifactId>
  102. <scope>provided</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.fasterxml.jackson.datatype</groupId>
  106. <artifactId>jackson-datatype-jsr310</artifactId>
  107. <version>2.12.0</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.google.zxing</groupId>
  111. <artifactId>core</artifactId>
  112. <version>3.4.0</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.google.zxing</groupId>
  116. <artifactId>javase</artifactId>
  117. <version>3.4.0</version>
  118. </dependency>
  119. <!-- nacos 注册中心依赖 -->
  120. <dependency>
  121. <groupId>org.springframework.cloud</groupId>
  122. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  123. <exclusions>
  124. <exclusion>
  125. <groupId>com.google.guava</groupId>
  126. <artifactId>guava</artifactId>
  127. </exclusion>
  128. <exclusion>
  129. <groupId>commons-io</groupId>
  130. <artifactId>commons-io</artifactId>
  131. </exclusion>
  132. <exclusion>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-tomcat</artifactId>
  135. </exclusion>
  136. </exclusions>
  137. </dependency>
  138. <!-- nacos 配置中心依赖 -->
  139. <dependency>
  140. <groupId>com.alibaba.boot</groupId>
  141. <artifactId>nacos-config-spring-boot-starter</artifactId>
  142. <version>${nacos-config-spring-boot.version}</version>
  143. <exclusions>
  144. <exclusion>
  145. <groupId>com.google.guava</groupId>
  146. <artifactId>guava</artifactId>
  147. </exclusion>
  148. </exclusions>
  149. </dependency>
  150. </dependencies>
  151. <build>
  152. <plugins>
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-compiler-plugin</artifactId>
  156. <configuration>
  157. <source>${java.version}</source>
  158. <target>${java.version}</target>
  159. </configuration>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-surefire-plugin</artifactId>
  164. <version>${maven-surefire-plugin.version}</version>
  165. <configuration>
  166. <skipTests>true</skipTests> <!--默认关掉单元测试 -->
  167. </configuration>
  168. </plugin>
  169. </plugins>
  170. </build>
  171. </project>