2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-11-22 21:42:56 -05:00
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2020-04-26 19:22:33 -04:00
|
|
|
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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-cloud-gateway</artifactId>
|
|
|
|
<name>spring-cloud-gateway</name>
|
2019-12-05 09:56:52 -05:00
|
|
|
<packaging>jar</packaging>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung.spring.cloud</groupId>
|
2022-05-29 10:02:17 -04:00
|
|
|
<artifactId>spring-cloud-modules</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2020-09-14 14:49:03 -04:00
|
|
|
<groupId>org.junit</groupId>
|
|
|
|
<artifactId>junit-bom</artifactId>
|
|
|
|
<version>${junit-jupiter.version}</version>
|
2019-11-22 21:42:56 -05:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2020-09-14 14:49:03 -04:00
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-dependencies.version}</version>
|
2019-11-22 21:42:56 -05:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
<version>${spring-boot.version}</version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
2019-11-22 21:42:56 -05:00
|
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
2020-04-21 09:29:47 -04:00
|
|
|
<!-- Circuit Breaker -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-circuitbreaker-reactor-resilience4j</artifactId>
|
|
|
|
</dependency>
|
2020-04-26 19:22:33 -04:00
|
|
|
<!-- Redis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- Embedded Redis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>it.ozimov</groupId>
|
|
|
|
<artifactId>embedded-redis</artifactId>
|
|
|
|
<version>${redis.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator-cdi</artifactId>
|
|
|
|
<version>${hibernate-validator.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.validation</groupId>
|
|
|
|
<artifactId>validation-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2019-11-22 21:42:56 -05:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependency>
|
2020-01-21 11:05:53 -05:00
|
|
|
<dependency>
|
2020-04-26 19:22:33 -04:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
2020-01-21 11:05:53 -05:00
|
|
|
</dependency>
|
2022-01-22 22:32:51 -05:00
|
|
|
<!-- Spring security -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-oauth2-client</artifactId>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependencies>
|
|
|
|
|
2019-11-22 21:42:56 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2022-03-13 05:18:44 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.1</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-11-22 21:42:56 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
2022-01-22 22:32:51 -05:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2019-11-22 21:42:56 -05:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2022-01-22 22:32:51 -05:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>quotes-application</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>com.baeldung.springcloudgateway.oauth.backend.QuotesApplication</mainClass>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>gateway-as-resource-server</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>com.baeldung.springcloudgateway.oauth.server.ResourceServerGatewayApplication</mainClass>
|
|
|
|
<jvmArguments>-Dspring.profiles.active=resource-server</jvmArguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>gateway-as-oauth-client</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>com.baeldung.springcloudgateway.oauth.server.ResourceServerGatewayApplication</mainClass>
|
|
|
|
<jvmArguments>-Dspring.profiles.active=oauth-client</jvmArguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2022-02-21 11:12:24 -05:00
|
|
|
<profile>
|
|
|
|
<id>gateway-url-rewrite</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>com.baeldung.springcloudgateway.rewrite.URLRewriteGatewayApplication</mainClass>
|
|
|
|
<jvmArguments>-Dspring.profiles.active=url-rewrite</jvmArguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2022-03-13 05:18:44 -04:00
|
|
|
</profile>
|
2022-01-22 22:32:51 -05:00
|
|
|
</profiles>
|
2022-03-13 05:18:44 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- <spring-cloud-dependencies.version>Hoxton.SR3</spring-cloud-dependencies.version> -->
|
|
|
|
<!-- <spring-boot.version>2.2.6.RELEASE</spring-boot.version> -->
|
|
|
|
<hibernate-validator.version>6.0.2.Final</hibernate-validator.version>
|
|
|
|
<redis.version>0.7.2</redis.version>
|
|
|
|
<oauth2-oidc-sdk.version>9.19</oauth2-oidc-sdk.version>
|
|
|
|
<!-- <junit-bom.version>5.5.2</junit-bom.version> -->
|
|
|
|
</properties>
|
|
|
|
|
2021-05-14 08:13:57 -04:00
|
|
|
</project>
|