pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>com.ruoyi</groupId>
  6. <artifactId>ruoyi</artifactId>
  7. <version>2.5.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>ruoyi-gateway</artifactId>
  11. <description>
  12. ruoyi-gateway网关模块
  13. </description>
  14. <dependencies>
  15. <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-gateway -->
  16. <dependency>
  17. <groupId>org.springframework.cloud</groupId>
  18. <artifactId>spring-cloud-starter-gateway</artifactId>
  19. <version>3.1.3</version>
  20. </dependency>
  21. <!-- SpringCloud Ailibaba Nacos -->
  22. <dependency>
  23. <groupId>com.alibaba.cloud</groupId>
  24. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  25. </dependency>
  26. <!-- SpringCloud Ailibaba Nacos Config -->
  27. <dependency>
  28. <groupId>com.alibaba.cloud</groupId>
  29. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  30. </dependency>
  31. <!-- SpringCloud Ailibaba Sentinel -->
  32. <dependency>
  33. <groupId>com.alibaba.cloud</groupId>
  34. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  35. </dependency>
  36. <!-- SpringCloud Ailibaba Sentinel Gateway -->
  37. <dependency>
  38. <groupId>com.alibaba.cloud</groupId>
  39. <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
  40. </dependency>
  41. <!-- Sentinel Datasource Nacos -->
  42. <dependency>
  43. <groupId>com.alibaba.csp</groupId>
  44. <artifactId>sentinel-datasource-nacos</artifactId>
  45. </dependency>
  46. <!-- SpringBoot Actuator -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-actuator</artifactId>
  50. </dependency>
  51. <!--验证码 -->
  52. <dependency>
  53. <groupId>com.github.penggle</groupId>
  54. <artifactId>kaptcha</artifactId>
  55. </dependency>
  56. <!-- RuoYi Common Redis-->
  57. <dependency>
  58. <groupId>com.ruoyi</groupId>
  59. <artifactId>ruoyi-common-redis</artifactId>
  60. </dependency>
  61. <!-- Swagger -->
  62. <dependency>
  63. <groupId>io.springfox</groupId>
  64. <artifactId>springfox-swagger-ui</artifactId>
  65. <version>${swagger.fox.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-swagger2</artifactId>
  70. <version>${swagger.fox.version}</version>
  71. </dependency>
  72. </dependencies>
  73. <build>
  74. <finalName>${project.artifactId}</finalName>
  75. <plugins>
  76. <plugin>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-maven-plugin</artifactId>
  79. <version>2.3.5.RELEASE</version>
  80. <executions>
  81. <execution>
  82. <goals>
  83. <goal>repackage</goal>
  84. </goals>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>