pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. <!-- SpringCloud Gateway -->
  16. <dependency>
  17. <groupId>org.springframework.cloud</groupId>
  18. <artifactId>spring-cloud-starter-gateway</artifactId>
  19. </dependency>
  20. <!-- SpringCloud Ailibaba Nacos -->
  21. <dependency>
  22. <groupId>com.alibaba.cloud</groupId>
  23. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  24. </dependency>
  25. <!-- SpringCloud Ailibaba Nacos Config -->
  26. <dependency>
  27. <groupId>com.alibaba.cloud</groupId>
  28. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  29. </dependency>
  30. <!-- SpringCloud Ailibaba Sentinel -->
  31. <dependency>
  32. <groupId>com.alibaba.cloud</groupId>
  33. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  34. </dependency>
  35. <!-- SpringCloud Ailibaba 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. <!--验证码 -->
  51. <dependency>
  52. <groupId>com.github.penggle</groupId>
  53. <artifactId>kaptcha</artifactId>
  54. </dependency>
  55. <!-- RuoYi Common Redis-->
  56. <dependency>
  57. <groupId>com.ruoyi</groupId>
  58. <artifactId>ruoyi-common-redis</artifactId>
  59. </dependency>
  60. <!-- Swagger -->
  61. <dependency>
  62. <groupId>io.springfox</groupId>
  63. <artifactId>springfox-swagger-ui</artifactId>
  64. <version>${swagger.fox.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.springfox</groupId>
  68. <artifactId>springfox-swagger2</artifactId>
  69. <version>${swagger.fox.version}</version>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <finalName>${project.artifactId}</finalName>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-maven-plugin</artifactId>
  78. <version>2.3.5.RELEASE</version>
  79. <executions>
  80. <execution>
  81. <goals>
  82. <goal>repackage</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. </plugins>
  88. <resources>
  89. <resource>
  90. <directory>src/main/resources</directory>
  91. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  92. <filtering>true</filtering>
  93. </resource>
  94. </resources>
  95. </build>
  96. </project>