pom.xml 4.0 KB

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