You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
4.5 KiB
128 lines
4.5 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
<parent> |
|
<artifactId>jnpf-java-cloud</artifactId> |
|
<groupId>com.jnpf</groupId> |
|
<version>3.7.0-RELEASE</version> |
|
</parent> |
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
<artifactId>jnpf-gateway</artifactId> |
|
|
|
<dependencies> |
|
<!-- gateway --> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-starter-gateway</artifactId> |
|
</dependency> |
|
|
|
<!-- nacos --> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> |
|
</dependency> |
|
|
|
<!-- sentinel --> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId> |
|
</dependency> |
|
|
|
<!-- sentinel-gateway --> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.alibaba.csp</groupId> |
|
<artifactId>sentinel-datasource-nacos</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.github.xiaoymin</groupId> |
|
<artifactId>knife4j-gateway-spring-boot-starter</artifactId> |
|
</dependency> |
|
|
|
<!--微服务配置--> |
|
<dependency> |
|
<groupId>com.jnpf</groupId> |
|
<artifactId>jnpf-cloud-base</artifactId> |
|
<version>${project.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>com.jnpf</groupId> |
|
<artifactId>jnpf-common-core</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<!-- redis模块 --> |
|
<dependency> |
|
<groupId>com.jnpf</groupId> |
|
<artifactId>jnpf-common-auth</artifactId> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-web</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>cn.dev33</groupId> |
|
<artifactId>sa-token-spring-boot-starter</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>com.jnpf</groupId> |
|
<artifactId>jnpf-common-swagger</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>cn.dev33</groupId> |
|
<artifactId>sa-token-reactor-spring-boot-starter</artifactId> |
|
<version>${satoken.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId> |
|
</dependency> |
|
<!-- <dependency>--> |
|
<!-- <groupId>org.springdoc</groupId>--> |
|
<!-- <artifactId>springdoc-openapi-webmvc-core</artifactId>--> |
|
<!-- <version>1.6.9</version>--> |
|
<!-- <scope>compile</scope>--> |
|
<!-- </dependency>--> |
|
<!-- <dependency>--> |
|
<!-- <groupId>org.springdoc</groupId>--> |
|
<!-- <artifactId>springdoc-openapi-common</artifactId>--> |
|
<!-- <version>1.6.15</version>--> |
|
<!-- </dependency>--> |
|
|
|
</dependencies> |
|
|
|
<build> |
|
<finalName>jnpf-gateway-${project.version}</finalName> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
<configuration> |
|
<!-- 指定该Main Class为全局的唯一入口 --> |
|
<mainClass>jnpf.JnpfGatewayApplication</mainClass> |
|
<layout>ZIP</layout> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中--> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
</project> |
|
|
|
|