pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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.1.8.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>server-two</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>mooctest-report-server</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <spring-cloud.version>Greenwich.SR3</spring-cloud.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.cloud</groupId>
  23. <artifactId>spring-cloud-starter-gateway</artifactId>
  24. </dependency>
  25. <!-- Nacos Client -->
  26. <dependency>
  27. <groupId>com.alibaba.cloud</groupId>
  28. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  29. <exclusions>
  30. <exclusion>
  31. <artifactId>guava</artifactId>
  32. <groupId>com.google.guava</groupId>
  33. </exclusion>
  34. </exclusions>
  35. </dependency>
  36. <!-- actuator -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-actuator</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok</artifactId>
  49. <version>1.16.6</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.google.code.gson</groupId>
  53. <artifactId>gson</artifactId>
  54. </dependency>
  55. <!-- ZIP -->
  56. <dependency>
  57. <groupId>net.lingala.zip4j</groupId>
  58. <artifactId>zip4j</artifactId>
  59. <version>1.3.2</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>javax.servlet</groupId>
  63. <artifactId>javax.servlet-api</artifactId>
  64. <scope>provided</scope>
  65. </dependency>
  66. <!-- <dependency>-->
  67. <!-- <groupId>org.springframework.boot</groupId>-->
  68. <!-- <artifactId>spring-boot-starter-webflux</artifactId>-->
  69. <!-- </dependency>-->
  70. </dependencies>
  71. <dependencyManagement>
  72. <dependencies>
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-dependencies</artifactId>
  76. <version>${spring-cloud.version}</version>
  77. <type>pom</type>
  78. <scope>import</scope>
  79. </dependency>
  80. <!--整合Spring Cloud Alibaba-->
  81. <dependency>
  82. <groupId>com.alibaba.cloud</groupId>
  83. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  84. <version>2.1.0.RELEASE</version>
  85. <type>pom</type>
  86. <scope>import</scope>
  87. </dependency>
  88. </dependencies>
  89. </dependencyManagement>
  90. <build>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-maven-plugin</artifactId>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>