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.
177 lines
4.7 KiB
177 lines
4.7 KiB
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
<artifactId>spring-cloud-gateway-sample</artifactId> |
|
<packaging>jar</packaging> |
|
|
|
<name>Spring Cloud Gateway Sample</name> |
|
<description>Spring Cloud Gateway Sample</description> |
|
|
|
<properties> |
|
</properties> |
|
|
|
<parent> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-gateway</artifactId> |
|
<version>4.1.0-SNAPSHOT</version> |
|
<relativePath>..</relativePath> <!-- lookup parent from repository --> |
|
</parent> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-actuator</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-webflux</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-starter-gateway</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.isomorphism</groupId> |
|
<artifactId>token-bucket</artifactId> |
|
<version>1.7</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-gateway-server</artifactId> |
|
<version>${project.version}</version> |
|
<type>test-jar</type> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-test</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.junit.vintage</groupId> |
|
<artifactId>junit-vintage-engine</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-test-support</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.cloud</groupId> |
|
<artifactId>spring-cloud-loadbalancer</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>io.projectreactor</groupId> |
|
<artifactId>reactor-test</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.assertj</groupId> |
|
<artifactId>assertj-core</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-stdlib</artifactId> |
|
<optional>true</optional> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-reflect</artifactId> |
|
<optional>true</optional> |
|
</dependency> |
|
</dependencies> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.jetbrains.kotlin</groupId> |
|
<artifactId>kotlin-maven-plugin</artifactId> |
|
<configuration> |
|
<args> |
|
<arg>-Xjsr305=strict</arg> |
|
</args> |
|
<jvmTarget>17</jvmTarget> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<id>compile</id> |
|
<phase>compile</phase> |
|
<goals> |
|
<goal>compile</goal> |
|
</goals> |
|
<configuration> |
|
<sourceDirs> |
|
<source>src/main/java</source> |
|
<source>src/main/kotlin</source> |
|
</sourceDirs> |
|
</configuration> |
|
</execution> |
|
<execution> |
|
<id>test-compile</id> |
|
<phase>test-compile</phase> |
|
<goals> |
|
<goal>test-compile</goal> |
|
</goals> |
|
<configuration> |
|
<sourceDirs> |
|
<source>src/test/java</source> |
|
<source>src/test/kotlin</source> |
|
</sourceDirs> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<configuration> |
|
<compilerArgs> |
|
<arg>-parameters</arg> |
|
</compilerArgs> |
|
</configuration> |
|
<executions> |
|
<!-- Replacing default-compile as it is treated specially by maven --> |
|
<execution> |
|
<id>default-compile</id> |
|
<phase>none</phase> |
|
</execution> |
|
<!-- Replacing default-testCompile as it is treated specially by maven --> |
|
<execution> |
|
<id>default-testCompile</id> |
|
<phase>none</phase> |
|
</execution> |
|
<execution> |
|
<id>java-compile</id> |
|
<phase>compile</phase> |
|
<goals> |
|
<goal>compile</goal> |
|
</goals> |
|
</execution> |
|
<execution> |
|
<id>java-test-compile</id> |
|
<phase>test-compile</phase> |
|
<goals> |
|
<goal>testCompile</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-deploy-plugin</artifactId> |
|
<configuration> |
|
<skip>true</skip> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</project> |
|
|
|
|