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.
76 lines
2.4 KiB
76 lines
2.4 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
<modelVersion>4.0.0</modelVersion> |
|
<parent> |
|
<!-- Your own application should inherit from spring-boot-starter-parent --> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-samples</artifactId> |
|
<version>${revision}</version> |
|
</parent> |
|
<artifactId>spring-boot-sample-session-webflux</artifactId> |
|
<name>Spring Boot Session WebFlux Sample</name> |
|
<description>Spring Boot Session WebFlux Sample</description> |
|
<properties> |
|
<main.basedir>${basedir}/../..</main.basedir> |
|
</properties> |
|
<dependencies> |
|
<!-- Compile --> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-webflux</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-security</artifactId> |
|
</dependency> |
|
<!-- Test --> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-test</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
</dependencies> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
<profiles> |
|
<profile> |
|
<id>redis</id> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.springframework.session</groupId> |
|
<artifactId>spring-session-data-redis</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-data-redis-reactive</artifactId> |
|
</dependency> |
|
</dependencies> |
|
</profile> |
|
<profile> |
|
<id>mongodb</id> |
|
<activation> |
|
<activeByDefault>true</activeByDefault> |
|
</activation> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.springframework.session</groupId> |
|
<artifactId>spring-session-data-mongodb</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-data-mongodb-reactive</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>de.flapdoodle.embed</groupId> |
|
<artifactId>de.flapdoodle.embed.mongo</artifactId> |
|
</dependency> |
|
</dependencies> |
|
</profile> |
|
</profiles> |
|
</project>
|
|
|