pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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.2.10.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.tofly</groupId>
  12. <artifactId>tofly-getway</artifactId>
  13. <version>1.0.0</version>
  14. <name>tofly-getway</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <spring-cloud-alibaba.version>2.2.1.RELEASE</spring-cloud-alibaba.version>
  19. <spring-cloud.version>Hoxton.SR8</spring-cloud.version>
  20. </properties>
  21. <dependencies>
  22. <!-- 排除web依赖 -->
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. <exclusions>
  27. <exclusion>
  28. <groupId>*</groupId>
  29. <artifactId>*</artifactId>
  30. </exclusion>
  31. </exclusions>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-config</artifactId>
  36. </dependency>
  37. <!-- redis -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-data-redis</artifactId>
  41. </dependency>
  42. <!--gateway 网关依赖,内置webflux 依赖-->
  43. <dependency>
  44. <groupId>org.springframework.cloud</groupId>
  45. <artifactId>spring-cloud-starter-gateway</artifactId>
  46. </dependency>
  47. <!-- nacos配置中心 -->
  48. <dependency>
  49. <groupId>com.alibaba.cloud</groupId>
  50. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  51. </dependency>
  52. <!-- swagger -->
  53. <dependency>
  54. <groupId>io.springfox</groupId>
  55. <artifactId>springfox-swagger2</artifactId>
  56. <version>2.9.2</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.springfox</groupId>
  60. <artifactId>springfox-swagger-ui</artifactId>
  61. <version>2.9.2</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.tofly</groupId>
  65. <artifactId>swagger-bootstrap-ui</artifactId>
  66. <version>1.9.6</version>
  67. </dependency>
  68. <!-- 基础功能包 -->
  69. <dependency>
  70. <groupId>com.tofly</groupId>
  71. <artifactId>common-core</artifactId>
  72. <version>1.0.0</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.projectlombok</groupId>
  76. <artifactId>lombok</artifactId>
  77. <optional>true</optional>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-test</artifactId>
  82. <scope>test</scope>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>org.junit.vintage</groupId>
  86. <artifactId>junit-vintage-engine</artifactId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. </dependencies>
  91. <dependencyManagement>
  92. <dependencies>
  93. <dependency>
  94. <groupId>com.alibaba.cloud</groupId>
  95. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  96. <version>${spring-cloud-alibaba.version}</version>
  97. <type>pom</type>
  98. <scope>import</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.cloud</groupId>
  102. <artifactId>spring-cloud-dependencies</artifactId>
  103. <version>${spring-cloud.version}</version>
  104. <type>pom</type>
  105. <scope>import</scope>
  106. </dependency>
  107. </dependencies>
  108. </dependencyManagement>
  109. <build>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-maven-plugin</artifactId>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. </project>