diff --git a/spring-data-mongodb/pom.xml b/spring-data-mongodb/pom.xml
index 712d2395c..fcef17658 100644
--- a/spring-data-mongodb/pom.xml
+++ b/spring-data-mongodb/pom.xml
@@ -231,6 +231,8 @@
spring-webmvc
test
+
+
org.jetbrains.kotlin
kotlin-stdlib
@@ -280,13 +282,15 @@
org.jetbrains.kotlin
${kotlin}
- 1.8
+ ${source.level}
compile
compile
- compile
+
+ compile
+
${project.basedir}/src/main/kotlin
@@ -297,7 +301,9 @@
test-compile
test-compile
- test-compile
+
+ test-compile
+
${project.basedir}/src/test/kotlin
@@ -323,12 +329,16 @@
java-compile
compile
- compile
+
+ compile
+
java-test-compile
test-compile
- testCompile
+
+ testCompile
+