pom.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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.fcb.manager</groupId>
  7. <artifactId>fcb.manager</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <description>房车宝管理后台综合管理微服务</description>
  10. <!--<packaging>jar</packaging>-->
  11. <packaging>war</packaging>
  12. <properties>
  13. <java.version>1.8</java.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
  17. <nacos.latest.version>0.2.1</nacos.latest.version>
  18. <nacos-config-spring-boot.version>0.2.1</nacos-config-spring-boot.version>
  19. <jedis-version>3.1.0</jedis-version>
  20. </properties>
  21. <parent>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-parent</artifactId>
  24. <version>2.2.5.RELEASE</version>
  25. <relativePath/> <!-- lookup parent from repository -->
  26. </parent>
  27. <dependencyManagement>
  28. <dependencies>
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-dependencies</artifactId>
  32. <version>Greenwich.SR2</version>
  33. <type>pom</type>
  34. <scope>import</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.cloud</groupId>
  38. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  39. <version>0.9.0.RELEASE</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. </dependencies>
  44. </dependencyManagement>
  45. <dependencies>
  46. <!-- 引入四维sdk -->
  47. <dependency>
  48. <groupId>org.4dage</groupId>
  49. <artifactId>4dage-back-sdk</artifactId>
  50. <version>1.0.2-RELEASE</version>
  51. <exclusions>
  52. <exclusion>
  53. <groupId>io.lettuce</groupId>
  54. <artifactId>lettuce-core</artifactId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <!-- nacos 注册中心依赖 -->
  59. <dependency>
  60. <groupId>org.springframework.cloud</groupId>
  61. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>com.google.guava</groupId>
  65. <artifactId>guava</artifactId>
  66. </exclusion>
  67. <exclusion>
  68. <groupId>commons-io</groupId>
  69. <artifactId>commons-io</artifactId>
  70. </exclusion>
  71. <exclusion>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-tomcat</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <!-- nacos 配置中心依赖 -->
  78. <dependency>
  79. <groupId>com.alibaba.boot</groupId>
  80. <artifactId>nacos-config-spring-boot-starter</artifactId>
  81. <version>${nacos-config-spring-boot.version}</version>
  82. <exclusions>
  83. <exclusion>
  84. <groupId>com.google.guava</groupId>
  85. <artifactId>guava</artifactId>
  86. </exclusion>
  87. </exclusions>
  88. </dependency>
  89. <!-- mybatis-plus逻辑删除依赖-->
  90. <dependency>
  91. <groupId>com.baomidou</groupId>
  92. <artifactId>mybatis-plus-core</artifactId>
  93. <version>3.3.1.tmp</version>
  94. </dependency>
  95. <!-- Rpc feign依赖 -->
  96. <dependency>
  97. <groupId>org.springframework.cloud</groupId>
  98. <artifactId>spring-cloud-starter-openfeign</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>redis.clients</groupId>
  102. <artifactId>jedis</artifactId>
  103. <version>${jedis-version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-starter-data-redis</artifactId>
  108. <exclusions>
  109. <exclusion>
  110. <groupId>io.lettuce</groupId>
  111. <artifactId>lettuce-core</artifactId>
  112. </exclusion>
  113. </exclusions>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.netflix.hystrix</groupId>
  117. <artifactId>hystrix-core</artifactId>
  118. <version>1.5.12</version>
  119. </dependency>
  120. <!-- https://mvnrepository.com/artifact/com.netflix.hystrix/hystrix-javanica -->
  121. <dependency>
  122. <groupId>com.netflix.hystrix</groupId>
  123. <artifactId>hystrix-javanica</artifactId>
  124. <version>1.5.12</version>
  125. </dependency>
  126. <!-- http://mvnrepository.com/artifact/com.netflix.hystrix/hystrix-metrics-event-stream -->
  127. <dependency>
  128. <groupId>com.netflix.hystrix</groupId>
  129. <artifactId>hystrix-metrics-event-stream</artifactId>
  130. <version>1.5.12</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-tomcat</artifactId>
  135. <scope>provided</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.rocketmq</groupId>
  139. <artifactId>rocketmq-spring-boot-starter</artifactId>
  140. <version>2.1.1</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.fasterxml.jackson.datatype</groupId>
  144. <artifactId>jackson-datatype-jsr310</artifactId>
  145. <version>2.12.0</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.google.zxing</groupId>
  149. <artifactId>core</artifactId>
  150. <version>3.4.0</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.google.zxing</groupId>
  154. <artifactId>javase</artifactId>
  155. <version>3.4.0</version>
  156. </dependency>
  157. </dependencies>
  158. <build>
  159. <finalName>fcb-project-manager</finalName>
  160. <resources>
  161. <resource>
  162. <directory>src/main/java</directory>
  163. <includes>
  164. <include>**/*.properties</include>
  165. <include>**/*.xml</include>
  166. </includes>
  167. <filtering>false</filtering>
  168. </resource>
  169. <resource>
  170. <directory>src/main/resources</directory>
  171. <includes>
  172. <include>**/*.properties</include>
  173. <include>**/*.xml</include>
  174. </includes>
  175. <filtering>false</filtering>
  176. </resource>
  177. </resources>
  178. <plugins>
  179. <plugin>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-maven-plugin</artifactId>
  182. <configuration>
  183. <!-- 工程主入口 -->
  184. <mainClass>fcb.project.manager.FcbProjectManagerApplication</mainClass>
  185. </configuration>
  186. <executions>
  187. <execution>
  188. <goals>
  189. <goal>repackage</goal>
  190. </goals>
  191. </execution>
  192. </executions>
  193. </plugin>
  194. <plugin>
  195. <groupId>org.apache.maven.plugins</groupId>
  196. <artifactId>maven-compiler-plugin</artifactId>
  197. <configuration>
  198. <source>1.8</source>
  199. <target>1.8</target>
  200. <encoding>UTF-8</encoding>
  201. </configuration>
  202. </plugin>
  203. </plugins>
  204. </build>
  205. </project>