pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.platomix</groupId>
  7. <artifactId>platomix-pom</artifactId>
  8. <version>1.0.0-cloud</version>
  9. </parent>
  10. <artifactId>platomix-gmetry-gateway</artifactId>
  11. <version>3.0.2-E00</version>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.platomix</groupId>
  15. <artifactId>platomix-gmetry-common</artifactId>
  16. <version>1.0.2-cloud</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.platomix</groupId>
  20. <artifactId>platomix-gmetry-jwt</artifactId>
  21. <version>1.0.1-cloud</version>
  22. </dependency>
  23. <!--gateway 网关依赖,内置webflux 依赖-->
  24. <dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-starter-gateway</artifactId>
  27. </dependency>
  28. <!-- LB 扩展 -->
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.github.ben-manes.caffeine</groupId>
  35. <artifactId>caffeine</artifactId>
  36. </dependency>
  37. <!-- SpringCloud Ailibaba Nacos -->
  38. <dependency>
  39. <groupId>com.alibaba.cloud</groupId>
  40. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  41. </dependency>
  42. <!-- SpringCloud Ailibaba Nacos Config -->
  43. <dependency>
  44. <groupId>com.alibaba.cloud</groupId>
  45. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  46. </dependency>
  47. <!-- 从nacos拉取服务自动注册到prometheus -->
  48. <dependency>
  49. <groupId>io.github.chen-gliu</groupId>
  50. <artifactId>nacos-consul-adapter</artifactId>
  51. </dependency>
  52. <!--SpringCloud Ailibaba sentinel-->
  53. <dependency>
  54. <groupId>com.alibaba.cloud</groupId>
  55. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.alibaba.cloud</groupId>
  59. <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
  60. </dependency>
  61. <!-- sentinel 配置 存储到nacos -->
  62. <dependency>
  63. <groupId>com.alibaba.csp</groupId>
  64. <artifactId>sentinel-datasource-nacos</artifactId>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <finalName>platomix-gmetry-gateway</finalName>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-maven-plugin</artifactId>
  73. </plugin>
  74. <plugin>
  75. <groupId>io.fabric8</groupId>
  76. <artifactId>docker-maven-plugin</artifactId>
  77. <executions>
  78. <execution>
  79. <id>build-push</id>
  80. <phase>package</phase>
  81. <goals>
  82. <goal>build</goal>
  83. <goal>push</goal>
  84. </goals>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>