172 lines
6.3 KiB
XML
172 lines
6.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>framework-gateway</artifactId>
|
|
<groupId>com.krishna.framework</groupId>
|
|
<version>4.12.2</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>framework-gateway-server</artifactId>
|
|
<name>${project.artifactId}</name>
|
|
<description>网关服务启动模块</description>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.krishna.framework</groupId>
|
|
<artifactId>framework-common</artifactId>
|
|
<version>${framework-project.version}</version>
|
|
</dependency>
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.krishna.framework</groupId>-->
|
|
<!-- <artifactId>framework-gateway-biz</artifactId>-->
|
|
<!-- <version>${framework-project.version}</version>-->
|
|
<!-- </dependency>-->
|
|
<dependency>
|
|
<groupId>com.krishna.framework</groupId>
|
|
<artifactId>framework-oauth-api</artifactId>
|
|
<version>${framework-project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.krishna.basic</groupId>
|
|
<artifactId>framework-jwt-starter</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.krishna.basic</groupId>
|
|
<artifactId>framework-boot</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>framework-databases</artifactId>
|
|
<groupId>com.krishna.basic</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.krishna.basic</groupId>
|
|
<artifactId>framework-cache-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.krishna.basic</groupId>
|
|
<artifactId>framework-cloud-starter</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.krishna.basic</groupId>
|
|
<artifactId>framework-log-starter</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-spring-ui</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-bean-validators</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.alibaba.csp</groupId>
|
|
<artifactId>sentinel-zuul-adapter</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.csp</groupId>
|
|
<artifactId>sentinel-datasource-nacos</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<filters>
|
|
<filter>../../src/main/filters/config-${profile.active}.properties</filter>
|
|
</filters>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<!-- docker打包插件 -->
|
|
<plugin>
|
|
<groupId>com.spotify</groupId>
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
<version>${dockerfile-maven-plugin.version}</version>
|
|
<configuration>
|
|
<repository>${docker.image.prefix}/${project.artifactId}</repository>
|
|
<tag>${framework-project.version}</tag>
|
|
<buildArgs>
|
|
<JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
|
|
</buildArgs>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|