pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. <groupId>com.yaozhitech</groupId>
  6. <artifactId>spring5</artifactId>
  7. <packaging>pom</packaging>
  8. <version>0.1.0</version>
  9. <name>${project.artifactId}</name>
  10. <description>spring5 demo</description>
  11. <modules>
  12. <module>spring5-auth</module>
  13. <module>spring5-gateway</module>
  14. <module>spring5-admin</module>
  15. <module>spring5-order</module>
  16. <module>spring5-common</module>
  17. </modules>
  18. <properties>
  19. <maven.compiler.source>1.8</maven.compiler.source>
  20. <maven.compiler.target>1.8</maven.compiler.target>
  21. </properties>
  22. <repositories>
  23. <repository>
  24. <id>spring-milestones</id>
  25. <name>Spring Milestones</name>
  26. <url>https://repo.spring.io/libs-milestone</url>
  27. <snapshots>
  28. <enabled>false</enabled>
  29. </snapshots>
  30. </repository>
  31. </repositories>
  32. <dependencyManagement>
  33. <dependencies>
  34. <!--支持Spring Boot 2.1.X-->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-dependencies</artifactId>
  38. <version>2.1.4.RELEASE</version>
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-dependencies</artifactId>
  45. <version>Greenwich.RELEASE</version>
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.alibaba.cloud</groupId>
  51. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  52. <version>2.1.0.RELEASE</version>
  53. <type>pom</type>
  54. <scope>import</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.cloud</groupId>
  58. <artifactId>spring-cloud-openfeign</artifactId>
  59. <version>2.0.0.RC2</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. </dependencies>
  64. </dependencyManagement>
  65. <dependencies>
  66. <!--自省和监控的集成功能-->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-actuator</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.cloud</groupId>
  73. <artifactId>spring-cloud-starter</artifactId>
  74. </dependency>
  75. <!--注册中心-->
  76. <dependency>
  77. <groupId>com.alibaba.cloud</groupId>
  78. <artifactId>spring-cloud-alibaba-nacos-discovery</artifactId>
  79. </dependency>
  80. <!--热加载-->
  81. <!-- <dependency> -->
  82. <!-- <groupId>org.springframework.boot</groupId> -->
  83. <!-- <artifactId>spring-boot-devtools</artifactId> -->
  84. <!-- <scope>runtime</scope> -->
  85. <!-- <optional>true</optional> -->
  86. <!-- </dependency> -->
  87. <!-- Spring test 依赖 -->
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-test</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>junit</groupId>
  95. <artifactId>junit</artifactId>
  96. <scope>test</scope>
  97. </dependency>
  98. <!-- lombok依赖包 -->
  99. <dependency>
  100. <groupId>org.projectlombok</groupId>
  101. <artifactId>lombok</artifactId>
  102. </dependency>
  103. </dependencies>
  104. </project>