Add MongoDB support to Spring Session sample

Closes gh-10374
This commit is contained in:
Vedran Pavic
2017-09-21 20:17:44 +02:00
committed by Stephane Nicoll
parent f6cbee6b7f
commit a39ccc2f8c
2 changed files with 25 additions and 0 deletions

View File

@@ -94,5 +94,18 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>mongodb</id>
<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</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>