123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.platomix</groupId>
- <artifactId>platomix-pom</artifactId>
- <version>1.0.0-cloud</version>
- </parent>
- <artifactId>platomix-gmetry-gateway</artifactId>
- <version>3.0.2-E00</version>
- <dependencies>
- <dependency>
- <groupId>com.platomix</groupId>
- <artifactId>platomix-gmetry-common</artifactId>
- <version>1.0.2-cloud</version>
- </dependency>
- <dependency>
- <groupId>com.platomix</groupId>
- <artifactId>platomix-gmetry-jwt</artifactId>
- <version>1.0.1-cloud</version>
- </dependency>
- <!--gateway 网关依赖,内置webflux 依赖-->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-gateway</artifactId>
- </dependency>
- <!-- LB 扩展 -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-loadbalancer</artifactId>
- </dependency>
- <dependency>
- <groupId>com.github.ben-manes.caffeine</groupId>
- <artifactId>caffeine</artifactId>
- </dependency>
- <!-- SpringCloud Ailibaba Nacos -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
- </dependency>
- <!-- SpringCloud Ailibaba Nacos Config -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
- </dependency>
- <!-- 从nacos拉取服务自动注册到prometheus -->
- <dependency>
- <groupId>io.github.chen-gliu</groupId>
- <artifactId>nacos-consul-adapter</artifactId>
- </dependency>
- <!--SpringCloud Ailibaba sentinel-->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
- </dependency>
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
- </dependency>
- <!-- sentinel 配置 存储到nacos -->
- <dependency>
- <groupId>com.alibaba.csp</groupId>
- <artifactId>sentinel-datasource-nacos</artifactId>
- </dependency>
- </dependencies>
- <build>
- <finalName>platomix-gmetry-gateway</finalName>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>io.fabric8</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build-push</id>
- <phase>package</phase>
- <goals>
- <goal>build</goal>
- <goal>push</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|