pom.xml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (c) 2020 lttcai4cloud Authors. All Rights Reserved.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  18. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  19. <modelVersion>4.0.0</modelVersion>
  20. <parent>
  21. <groupId>cn.lttc.modules</groupId>
  22. <artifactId>lttcai</artifactId>
  23. <version>${revision}</version>
  24. </parent>
  25. <artifactId>lttcai-gateway</artifactId>
  26. <packaging>jar</packaging>
  27. <description>lttcai 服务网关,基于 spring cloud gateway</description>
  28. <dependencies>
  29. <!--gateway 网关依赖,内置webflux 依赖-->
  30. <dependency>
  31. <groupId>org.springframework.cloud</groupId>
  32. <artifactId>spring-cloud-starter-gateway</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  37. </dependency>
  38. <!--注册中心客户端-->
  39. <dependency>
  40. <groupId>com.alibaba.cloud</groupId>
  41. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  42. </dependency>
  43. <!--配置中心客户端-->
  44. <dependency>
  45. <groupId>com.alibaba.cloud</groupId>
  46. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  47. </dependency>
  48. <!-- LB 扩展 -->
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  52. </dependency>
  53. <!--caffeine 替换LB 默认缓存实现-->
  54. <dependency>
  55. <groupId>com.github.ben-manes.caffeine</groupId>
  56. <artifactId>caffeine</artifactId>
  57. </dependency>
  58. <!-- 工具包依赖 -->
  59. <dependency>
  60. <groupId>cn.lttc.modules</groupId>
  61. <artifactId>lttcai-common-core</artifactId>
  62. </dependency>
  63. <!--接口文档-->
  64. <dependency>
  65. <groupId>org.springdoc</groupId>
  66. <artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
  67. </dependency>
  68. <!--引入Knife4j的官方ui包-->
  69. <dependency>
  70. <groupId>io.springboot</groupId>
  71. <artifactId>knife4j-openapi3-ui</artifactId>
  72. <version>${knife4j.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>cn.hutool</groupId>
  76. <artifactId>hutool-crypto</artifactId>
  77. </dependency>
  78. </dependencies>
  79. <build>
  80. <plugins>
  81. <plugin>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-maven-plugin</artifactId>
  84. </plugin>
  85. <plugin>
  86. <groupId>io.fabric8</groupId>
  87. <artifactId>docker-maven-plugin</artifactId>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>