pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. <artifactId>lb-server</artifactId>
  6. <groupId>com.ydd</groupId>
  7. <version>1.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>lb-gateway</artifactId>
  11. <description>
  12. lb-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. <!--&lt;!&ndash; SpringCloud Alibaba Sentinel Gateway &ndash;&gt;-->
  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. <!--<dependency>-->
  46. <!--<groupId>com.ydd</groupId>-->
  47. <!--<artifactId>lb-common</artifactId>-->
  48. <!--<version>1.0</version>-->
  49. <!--</dependency>-->
  50. </dependencies>
  51. <build>
  52. <finalName>${project.artifactId}</finalName>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-maven-plugin</artifactId>
  57. <executions>
  58. <execution>
  59. <goals>
  60. <goal>repackage</goal>
  61. </goals>
  62. </execution>
  63. </executions>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </project>