diff --git a/pom.xml b/pom.xml index c2043e5..b92b674 100644 --- a/pom.xml +++ b/pom.xml @@ -472,7 +472,8 @@ org.springframework.boot spring-boot-properties-migrator - runtime + provided + true diff --git a/src/main/java/de/flapdoodle/embed/mongo/spring/autoconfigure/EmbeddedMongoAutoConfiguration.java b/src/main/java/de/flapdoodle/embed/mongo/spring/autoconfigure/EmbeddedMongoAutoConfiguration.java index af40aa4..827d288 100644 --- a/src/main/java/de/flapdoodle/embed/mongo/spring/autoconfigure/EmbeddedMongoAutoConfiguration.java +++ b/src/main/java/de/flapdoodle/embed/mongo/spring/autoconfigure/EmbeddedMongoAutoConfiguration.java @@ -81,7 +81,6 @@ MongoAutoConfiguration.class, MongoReactiveAutoConfiguration.class }) @EnableConfigurationProperties({ MongoProperties.class, EmbeddedMongoProperties.class }) -@AutoConfigureBefore({ MongoAutoConfiguration.class, MongoReactiveAutoConfiguration.class }) @ConditionalOnClass({ MongoClientSettings.class, Mongod.class }) @Import({ EmbeddedMongoAutoConfiguration.MongoPropertiesDependsOnBeanFactoryPostProcessor.class,