pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. <properties>
  12. <java.version>1.8</java.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
  16. <nacos.latest.version>0.2.1</nacos.latest.version>
  17. <nacos-config-spring-boot.version>0.2.1</nacos-config-spring-boot.version>
  18. </properties>
  19. <parent>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-parent</artifactId>
  22. <version>2.2.5.RELEASE</version>
  23. <relativePath/> <!-- lookup parent from repository -->
  24. </parent>
  25. <dependencyManagement>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springframework.cloud</groupId>
  29. <artifactId>spring-cloud-dependencies</artifactId>
  30. <version>Greenwich.SR2</version>
  31. <type>pom</type>
  32. <scope>import</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.cloud</groupId>
  36. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  37. <version>0.9.0.RELEASE</version>
  38. <type>pom</type>
  39. <scope>import</scope>
  40. </dependency>
  41. </dependencies>
  42. </dependencyManagement>
  43. <dependencies>
  44. <!-- 引入四维sdk -->
  45. <dependency>
  46. <groupId>org.4dage</groupId>
  47. <artifactId>4dage-back-sdk</artifactId>
  48. <version>1.0.2-RELEASE</version>
  49. </dependency>
  50. <!-- nacos 注册中心依赖 -->
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>com.google.guava</groupId>
  57. <artifactId>guava</artifactId>
  58. </exclusion>
  59. <exclusion>
  60. <groupId>commons-io</groupId>
  61. <artifactId>commons-io</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <!-- nacos 配置中心依赖 -->
  66. <dependency>
  67. <groupId>com.alibaba.boot</groupId>
  68. <artifactId>nacos-config-spring-boot-starter</artifactId>
  69. <version>${nacos-config-spring-boot.version}</version>
  70. <exclusions>
  71. <exclusion>
  72. <groupId>com.google.guava</groupId>
  73. <artifactId>guava</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <!-- mybatis-plus逻辑删除依赖-->
  78. <dependency>
  79. <groupId>com.baomidou</groupId>
  80. <artifactId>mybatis-plus-core</artifactId>
  81. <version>3.3.1.tmp</version>
  82. </dependency>
  83. <!-- Rpc feign依赖 -->
  84. <dependency>
  85. <groupId>org.springframework.cloud</groupId>
  86. <artifactId>spring-cloud-starter-openfeign</artifactId>
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <finalName>fcb.manager</finalName>
  91. <resources>
  92. <resource>
  93. <directory>src/main/java</directory>
  94. <includes>
  95. <include>**/*.properties</include>
  96. <include>**/*.xml</include>
  97. </includes>
  98. <filtering>false</filtering>
  99. </resource>
  100. <resource>
  101. <directory>src/main/resources</directory>
  102. <includes>
  103. <include>**/*.properties</include>
  104. <include>**/*.xml</include>
  105. </includes>
  106. <filtering>false</filtering>
  107. </resource>
  108. </resources>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. <configuration>
  114. <!-- 工程主入口 -->
  115. <mainClass>fcb.project.manager.FcbProjectManagerApplication</mainClass>
  116. </configuration>
  117. <executions>
  118. <execution>
  119. <goals>
  120. <goal>repackage</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. </plugins>
  126. </build>
  127. </project>