pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. <artifactId>fframwork</artifactId>
  7. <groupId>com.tofly</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>tofly-getway</artifactId>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.cloud</groupId>
  16. <artifactId>spring-cloud-starter-config</artifactId>
  17. </dependency>
  18. <!--gateway 网关依赖,内置webflux 依赖-->
  19. <dependency>
  20. <groupId>org.springframework.cloud</groupId>
  21. <artifactId>spring-cloud-starter-gateway</artifactId>
  22. </dependency>
  23. <!-- thymeleaf -->
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  27. </dependency>
  28. <!-- <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  31. </dependency>-->
  32. <!--配置中心客户端-->
  33. <dependency>
  34. <groupId>com.tofly</groupId>
  35. <artifactId>common-core</artifactId>
  36. <version>1.0-SNAPSHOT</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-data-redis</artifactId>
  41. <!--<exclusions>-->
  42. <!--<exclusion>-->
  43. <!--<groupId>io.lettuce</groupId>-->
  44. <!--<artifactId>lettuce-core</artifactId>-->
  45. <!--</exclusion>-->
  46. <!--</exclusions>-->
  47. </dependency>
  48. <!--<dependency>-->
  49. <!--<groupId>redis.clients</groupId>-->
  50. <!--<artifactId>jedis</artifactId>-->
  51. <!--</dependency>-->
  52. <dependency>
  53. <groupId>io.springfox</groupId>
  54. <artifactId>springfox-swagger2</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.springfox</groupId>
  58. <artifactId>springfox-swagger-ui</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.tofly</groupId>
  62. <artifactId>swagger-bootstrap-ui</artifactId>
  63. <version>1.9.6</version>
  64. </dependency>
  65. <!--<dependency>-->
  66. <!--<groupId>com.github.xiaoymin</groupId>-->
  67. <!--<artifactId>swagger-bootstrap-ui</artifactId>-->
  68. <!--<version>1.9.3</version>-->
  69. <!--</dependency>-->
  70. <!--<dependency>-->
  71. <!--<groupId>org.word</groupId>-->
  72. <!--<artifactId>Swagger2Word</artifactId>-->
  73. <!--<version>1.4.2-SNAPSHOT</version>-->
  74. <!--<exclusions>-->
  75. <!--&lt;!&ndash;排除tomcat依赖&ndash;&gt;-->
  76. <!--<exclusion>-->
  77. <!--<groupId>org.springframework.boot</groupId>-->
  78. <!--<artifactId>spring-boot-starter-web</artifactId>-->
  79. <!--</exclusion>-->
  80. <!--<exclusion>-->
  81. <!--<groupId>org.projectlombok</groupId>-->
  82. <!--<artifactId>lombok</artifactId>-->
  83. <!--</exclusion>-->
  84. <!--<exclusion>-->
  85. <!--<groupId>org.apache.commons</groupId>-->
  86. <!--<artifactId>commons-lang3</artifactId>-->
  87. <!--</exclusion>-->
  88. <!--</exclusions>-->
  89. <!--</dependency>-->
  90. <!--<dependency>
  91. <groupId>com.zyplayer</groupId>
  92. <artifactId>swagger-mg-ui</artifactId>
  93. </dependency>-->
  94. </dependencies>
  95. <!--<build>-->
  96. <!--<plugins>-->
  97. <!--<plugin>-->
  98. <!--<groupId>org.springframework.boot</groupId>-->
  99. <!--<artifactId>spring-boot-maven-plugin</artifactId>-->
  100. <!--<executions>-->
  101. <!--<execution>-->
  102. <!--<goals>-->
  103. <!--<goal>repackage</goal>-->
  104. <!--</goals>-->
  105. <!--</execution>-->
  106. <!--</executions>-->
  107. <!--</plugin>-->
  108. <!--</plugins>-->
  109. <!--</build>-->
  110. <build>
  111. <plugins>
  112. <plugin>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-maven-plugin</artifactId>
  115. <executions>
  116. <execution>
  117. <goals>
  118. <goal>repackage</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. </plugins>
  124. </build>
  125. </project>