pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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>3.6.3</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>ruoyi-gateway</artifactId>
  11. <description>
  12. ruoyi-gateway网关模块
  13. </description>
  14. <dependencies>
  15. <!-- SpringCloud Gateway -->
  16. <dependency>
  17. <groupId>org.springframework.cloud</groupId>
  18. <artifactId>spring-cloud-starter-gateway</artifactId>
  19. </dependency>
  20. <!-- SpringCloud Alibaba Nacos -->
  21. <dependency>
  22. <groupId>com.alibaba.cloud</groupId>
  23. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  24. </dependency>
  25. <!-- SpringCloud Alibaba Nacos Config -->
  26. <dependency>
  27. <groupId>com.alibaba.cloud</groupId>
  28. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  29. </dependency>
  30. <!-- SpringCloud Alibaba Sentinel -->
  31. <dependency>
  32. <groupId>com.alibaba.cloud</groupId>
  33. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  34. </dependency>
  35. <!-- SpringCloud Alibaba Sentinel Gateway -->
  36. <dependency>
  37. <groupId>com.alibaba.cloud</groupId>
  38. <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
  39. </dependency>
  40. <!-- Sentinel Datasource Nacos -->
  41. <dependency>
  42. <groupId>com.alibaba.csp</groupId>
  43. <artifactId>sentinel-datasource-nacos</artifactId>
  44. </dependency>
  45. <!-- SpringBoot Actuator -->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-actuator</artifactId>
  49. </dependency>
  50. <!-- SpringCloud Loadbalancer -->
  51. <dependency>
  52. <groupId>org.springframework.cloud</groupId>
  53. <artifactId>spring-cloud-loadbalancer</artifactId>
  54. </dependency>
  55. <!--验证码 -->
  56. <dependency>
  57. <groupId>pro.fessional</groupId>
  58. <artifactId>kaptcha</artifactId>
  59. </dependency>
  60. <!-- RuoYi Common Redis-->
  61. <dependency>
  62. <groupId>com.ruoyi</groupId>
  63. <artifactId>ruoyi-common-redis</artifactId>
  64. </dependency>
  65. <!-- Swagger -->
  66. <dependency>
  67. <groupId>io.springfox</groupId>
  68. <artifactId>springfox-swagger-ui</artifactId>
  69. <version>${swagger.fox.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>io.springfox</groupId>
  73. <artifactId>springfox-swagger2</artifactId>
  74. <version>${swagger.fox.version}</version>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <finalName>${project.artifactId}</finalName>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-maven-plugin</artifactId>
  83. <executions>
  84. <execution>
  85. <goals>
  86. <goal>repackage</goal>
  87. </goals>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>