fix(connector): embedded mongo align version
Added an explicit dependency managment to override the imported from spring and be able to use the same version property for embedded-mongo and embedded-process libraries
fixes
<name>Connector :: MongoDB</name>
<packaging>jar</packaging>
+ <properties>
+ <embedded-mongo.version>2.1.2</embedded-mongo.version>
+ </properties>
+
+ <!--
+ We need to explicitly override imported bom managed version from spring-boot-dependencies
+ in order to align embedded-mongo and embedded-process library to the same version.
+ -->
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>de.flapdoodle.embed</groupId>
+ <artifactId>de.flapdoodle.embed.mongo</artifactId>
+ <version>${embedded-mongo.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>de.flapdoodle.embed</groupId>
+ <artifactId>de.flapdoodle.embed.process</artifactId>
+ <version>${embedded-mongo.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.process</artifactId>
- <version>2.1.2</version>
<scope>test</scope>
</dependency>
<dependency>
