pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.1</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>huimv-gateway</artifactId>
  13. <properties>
  14. <java.version>1.8</java.version>
  15. <spring-cloud.version>2020.0.0</spring-cloud.version>
  16. </properties>
  17. <dependencies>
  18. <!-- <dependency>-->
  19. <!-- <groupId>com.huimv</groupId>-->
  20. <!-- <artifactId>huimv-common</artifactId>-->
  21. <!-- <version>0.0.1-SNAPSHOT</version>-->
  22. <!-- </dependency>-->
  23. <dependency>
  24. <groupId>org.springframework.cloud</groupId>
  25. <artifactId>spring-cloud-starter-gateway</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>io.jsonwebtoken</groupId>
  29. <artifactId>jjwt</artifactId>
  30. <version>0.9.1</version>
  31. </dependency>
  32. <!-- 限流-->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  36. <!--如果父项目中限定了版本的话,这里不需要再具体制定-->
  37. <version>2.1.3.RELEASE</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  42. <version>2.2.1.RELEASE</version>
  43. </dependency>
  44. </dependencies>
  45. <dependencyManagement>
  46. <dependencies>
  47. <dependency>
  48. <groupId>org.springframework.cloud</groupId>
  49. <artifactId>spring-cloud-dependencies</artifactId>
  50. <version>${spring-cloud.version}</version>
  51. <type>pom</type>
  52. <scope>import</scope>
  53. </dependency>
  54. </dependencies>
  55. </dependencyManagement>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-maven-plugin</artifactId>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>