pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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.usky</groupId>
  6. <artifactId>base-components</artifactId>
  7. <version>0.0.1</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>gateway</artifactId>
  11. <description>
  12. 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. <!-- &lt;!&ndash; SpringCloud Alibaba Sentinel &ndash;&gt;-->
  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>com.github.penggle</groupId>
  58. <artifactId>kaptcha</artifactId>
  59. </dependency>
  60. <!-- RuoYi Common Redis-->
  61. <dependency>
  62. <groupId>com.usky</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. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-lang3</artifactId>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <finalName>${project.artifactId}</finalName>
  83. <plugins>
  84. <plugin>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-maven-plugin</artifactId>
  87. <!-- <version>2.0.4.RELEASE</version>-->
  88. <configuration>
  89. <fork>false</fork>
  90. </configuration>
  91. <executions>
  92. <execution>
  93. <goals>
  94. <goal>repackage</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. </plugins>
  100. </build>
  101. </project>