pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. </properties>
  18. <parent>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-parent</artifactId>
  21. <version>2.2.5.RELEASE</version>
  22. <relativePath/> <!-- lookup parent from repository -->
  23. </parent>
  24. <dependencies>
  25. <!-- 引入sdk -->
  26. <dependency>
  27. <groupId>org.4dage</groupId>
  28. <artifactId>4dage-back-sdk</artifactId>
  29. <version>1.0.2-RELEASE</version>
  30. </dependency>
  31. <!-- 引入nacos配置中心 -->
  32. <dependency>
  33. <groupId>com.alibaba.boot</groupId>
  34. <artifactId>nacos-config-spring-boot-starter</artifactId>
  35. <version>0.2.6</version>
  36. <exclusions>
  37. <exclusion>
  38. <groupId>commons-io</groupId>
  39. <artifactId>commons-io</artifactId>
  40. </exclusion>
  41. </exclusions>
  42. </dependency>
  43. <!-- 引入nacos服务发现 -->
  44. <dependency>
  45. <groupId>com.alibaba.boot</groupId>
  46. <artifactId>nacos-discovery-spring-boot-starter</artifactId>
  47. <version>0.2.6</version>
  48. <exclusions>
  49. <exclusion>
  50. <groupId>commons-io</groupId>
  51. <artifactId>commons-io</artifactId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <finalName>fcb.manager</finalName>
  58. <resources>
  59. <resource>
  60. <directory>src/main/java</directory>
  61. <includes>
  62. <include>**/*.properties</include>
  63. <include>**/*.xml</include>
  64. </includes>
  65. <filtering>false</filtering>
  66. </resource>
  67. <resource>
  68. <directory>src/main/resources</directory>
  69. <includes>
  70. <include>**/*.properties</include>
  71. <include>**/*.xml</include>
  72. </includes>
  73. <filtering>false</filtering>
  74. </resource>
  75. </resources>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. <configuration>
  81. <!-- 工程主入口 -->
  82. <mainClass>com.scaffolding.app.portal.App</mainClass>
  83. </configuration>
  84. <executions>
  85. <execution>
  86. <goals>
  87. <goal>repackage</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. </plugins>
  93. </build>
  94. </project>