pom.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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>com.tofly</groupId>
  7. <artifactId>sxgkproject</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.tofly</groupId>
  11. <artifactId>tofly-getway</artifactId>
  12. <version>1.0.0</version>
  13. <name>tofly-getway</name>
  14. <description>Demo project for Spring Boot</description>
  15. <properties>
  16. <fastjson.verion>1.2.83</fastjson.verion>
  17. </properties>
  18. <dependencies>
  19. <!--gateway 网关依赖,内置webflux 依赖-->
  20. <dependency>
  21. <groupId>org.springframework.cloud</groupId>
  22. <artifactId>spring-cloud-starter-gateway</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.tofly</groupId>
  26. <artifactId>common-redis</artifactId>
  27. <version>1.0.0</version>
  28. </dependency>
  29. <!-- nacos配置中心 -->
  30. <dependency>
  31. <groupId>com.alibaba.cloud</groupId>
  32. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  33. </dependency>
  34. <!-- swagger -->
  35. <dependency>
  36. <groupId>io.springfox</groupId>
  37. <artifactId>springfox-swagger2</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>io.springfox</groupId>
  41. <artifactId>springfox-swagger-ui</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.tofly</groupId>
  45. <artifactId>swagger-bootstrap-ui</artifactId>
  46. <version>1.9.6</version>
  47. </dependency>
  48. <!-- 基础功能包 -->
  49. <dependency>
  50. <groupId>com.tofly</groupId>
  51. <artifactId>common-core</artifactId>
  52. <version>1.0.0</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-web</artifactId>
  57. <exclusions>
  58. <!--排除tomcat依赖-->
  59. <exclusion>
  60. <artifactId>*</artifactId>
  61. <groupId>*</groupId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.github.vladimir-bukhtoyarov</groupId>
  67. <artifactId>bucket4j-core</artifactId>
  68. <version>4.0.0</version>
  69. </dependency>
  70. </dependencies>
  71. <build>
  72. <plugins>
  73. <plugin>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-maven-plugin</artifactId>
  76. <executions>
  77. <execution>
  78. <goals>
  79. <goal>repackage</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. </project>