Use blocking queue for imperative synchronization to not depend on the actual machine timing. Refactor reactive API example to use StepVerifier. Reuse embedded MongoDB utility.
56 lines
1.5 KiB
XML
56 lines
1.5 KiB
XML
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.data.examples</groupId>
|
|
<artifactId>spring-data-mongodb-examples</artifactId>
|
|
<version>2.0.0.BUILD-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>spring-data-mongodb-transactions</artifactId>
|
|
<name>Spring Data MongoDB - Transactions</name>
|
|
|
|
<properties>
|
|
<mongodb.version>3.8.0-beta2</mongodb.version>
|
|
<mongo-driver-reactivestreams.version>1.9.0-beta1</mongo-driver-reactivestreams.version>
|
|
<spring-data-releasetrain.version>Lovelace-M3</spring-data-releasetrain.version>
|
|
</properties>
|
|
|
|
<profiles>
|
|
|
|
<!-- Override property as the module always needs Lovelace -->
|
|
|
|
<profile>
|
|
<id>spring-data-next</id>
|
|
<properties>
|
|
<spring-data-releasetrain.version>Lovelace-M3</spring-data-releasetrain.version>
|
|
</properties>
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-mongodb-reactive</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.projectreactor</groupId>
|
|
<artifactId>reactor-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>spring-data-mongodb-example-utils</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|