pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.12.RELEASE</version>
  9. <relativePath/>
  10. </parent>
  11. <groupId>com.fdkankan</groupId>
  12. <artifactId>4dkankan-gateway</artifactId>
  13. <version>2.0.0</version>
  14. <properties>
  15. <java.version>1.8</java.version>
  16. <spring.cloud-version>Hoxton.SR8</spring.cloud-version>
  17. </properties>
  18. <dependencies>
  19. <!-- <dependency>-->
  20. <!-- <groupId>org.springframework.boot</groupId>-->
  21. <!-- <artifactId>spring-boot-starter-web</artifactId>-->
  22. <!-- </dependency>-->
  23. <dependency>
  24. <groupId>com.fdkankan</groupId>
  25. <artifactId>4dkankan-common-utils</artifactId>
  26. <version>2.0.0</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.fdkankan</groupId>
  30. <artifactId>4dkankan-utils-redis</artifactId>
  31. <version>2.0.0</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-devtools</artifactId>
  40. <scope>runtime</scope>
  41. <optional>true</optional>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.projectlombok</groupId>
  45. <artifactId>lombok</artifactId>
  46. <optional>true</optional>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-test</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.cloud</groupId>
  55. <artifactId>spring-cloud-starter-gateway</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba.cloud</groupId>
  63. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-actuator</artifactId>
  68. </dependency>
  69. <!--nacos 客户端 配置中心-->
  70. <dependency>
  71. <groupId>com.alibaba.cloud</groupId>
  72. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  73. </dependency>
  74. </dependencies>
  75. <dependencyManagement>
  76. <dependencies>
  77. <dependency>
  78. <groupId>com.alibaba.cloud</groupId>
  79. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  80. <version>2.2.7.RELEASE</version>
  81. <type>pom</type>
  82. <scope>import</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.cloud</groupId>
  86. <artifactId>spring-cloud-dependencies</artifactId>
  87. <version>${spring.cloud-version}</version>
  88. <type>pom</type>
  89. <scope>import</scope>
  90. </dependency>
  91. </dependencies>
  92. </dependencyManagement>
  93. <build>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-maven-plugin</artifactId>
  98. <configuration>
  99. <excludes>
  100. <exclude>
  101. <groupId>org.projectlombok</groupId>
  102. <artifactId>lombok</artifactId>
  103. </exclude>
  104. </excludes>
  105. </configuration>
  106. </plugin>
  107. </plugins>
  108. </build>
  109. </project>