mirror of
https://github.com/chillzhuang/SpringBlade.git
synced 2024-11-22 02:19:25 +08:00
114 lines
4.3 KiB
XML
114 lines
4.3 KiB
XML
<?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>SpringBlade</artifactId>
|
|
<groupId>org.springblade</groupId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>blade-gateway</artifactId>
|
|
<name>${project.artifactId}</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<!--Blade-->
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-launch</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-common</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springblade</groupId>
|
|
<artifactId>blade-core-launch</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!--Spring-->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
</dependency>
|
|
<!-- Sentinel -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
</dependency>
|
|
<!-- 开启knife4j -->
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-gateway-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<!-- JWT -->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-impl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.spotify</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<version>${docker.plugin.version}</version>
|
|
<configuration>
|
|
<imageName>${docker.registry.url}/blade/${project.artifactId}:${project.version}</imageName>
|
|
<dockerDirectory>${project.basedir}</dockerDirectory>
|
|
<dockerHost>${docker.registry.host}</dockerHost>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>/</targetPath>
|
|
<directory>${project.build.directory}</directory>
|
|
<include>${project.build.finalName}.jar</include>
|
|
</resource>
|
|
</resources>
|
|
<registryUrl>${docker.registry.url}</registryUrl>
|
|
<serverId>${docker.registry.url}</serverId>
|
|
<pushImage>true</pushImage>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|