pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~
  4. ~ Copyright (c) 2018-2025, scis All rights reserved.
  5. ~
  6. ~ Redistribution and use in source and binary forms, with or without
  7. ~ modification, are permitted provided that the following conditions are met:
  8. ~
  9. ~ Redistributions of source code must retain the above copyright notice,
  10. ~ this list of conditions and the following disclaimer.
  11. ~ Redistributions in binary form must reproduce the above copyright
  12. ~ notice, this list of conditions and the following disclaimer in the
  13. ~ documentation and/or other materials provided with the distribution.
  14. ~ Neither the name of the pig4cloud.com developer nor the names of its
  15. ~ contributors may be used to endorse or promote products derived from
  16. ~ this software without specific prior written permission.
  17. ~ Author: scis
  18. ~
  19. -->
  20. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>com.jmcloud</groupId>
  25. <artifactId>scis</artifactId>
  26. <version>3.10.0</version>
  27. </parent>
  28. <artifactId>scis-gateway</artifactId>
  29. <packaging>jar</packaging>
  30. <description>scis 服务网关,基于 spring cloud gateway</description>
  31. <dependencies>
  32. <!--gateway 网关依赖,内置webflux 依赖-->
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-gateway</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-data-redis-reactive</artifactId>
  40. </dependency>
  41. <!--动态路由组件-->
  42. <dependency>
  43. <groupId>com.jmcloud</groupId>
  44. <artifactId>scis-common-gateway</artifactId>
  45. </dependency>
  46. <!--注册中心客户端-->
  47. <dependency>
  48. <groupId>com.alibaba.cloud</groupId>
  49. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  50. </dependency>
  51. <!--配置中心客户端-->
  52. <dependency>
  53. <groupId>com.alibaba.cloud</groupId>
  54. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  55. </dependency>
  56. <!--验证码-->
  57. <dependency>
  58. <groupId>com.github.anji-plus</groupId>
  59. <artifactId>captcha-spring-boot-starter</artifactId>
  60. <version>${captcha.version}</version>
  61. </dependency>
  62. <!--hutool-->
  63. <dependency>
  64. <groupId>com.jmcloud</groupId>
  65. <artifactId>scis-common-core</artifactId>
  66. </dependency>
  67. <!--缓存-->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-data-redis</artifactId>
  71. </dependency>
  72. <!--sentinel 依赖-->
  73. <dependency>
  74. <groupId>com.alibaba.cloud</groupId>
  75. <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.jmcloud</groupId>
  79. <artifactId>scis-common-sentinel</artifactId>
  80. </dependency>
  81. <!--接口文档-->
  82. <dependency>
  83. <groupId>io.springfox</groupId>
  84. <artifactId>springfox-swagger-ui</artifactId>
  85. <version>${swagger.fox.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.springfox</groupId>
  89. <artifactId>springfox-swagger2</artifactId>
  90. <version>${swagger.fox.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.github.xiaoymin</groupId>
  94. <artifactId>knife4j-spring-ui</artifactId>
  95. <version>${knife4j.version}</version>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <plugins>
  100. <plugin>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-maven-plugin</artifactId>
  103. </plugin>
  104. <plugin>
  105. <groupId>io.fabric8</groupId>
  106. <artifactId>docker-maven-plugin</artifactId>
  107. <configuration>
  108. <skip>false</skip>
  109. </configuration>
  110. </plugin>
  111. </plugins>
  112. </build>
  113. </project>