diff --git a/ldap/ldap.gradle b/ldap/ldap.gradle
index bb159e73ac..eb6fda883a 100644
--- a/ldap/ldap.gradle
+++ b/ldap/ldap.gradle
@@ -19,6 +19,7 @@ dependencies {
exclude(group: 'org.springframework', module: 'spring-core')
exclude(group: 'org.springframework', module: 'spring-tx')
exclude(group: 'org.springframework', module: 'spring-beans')
+ exclude(group: 'org.springframework.data', module: 'spring-data-commons')
}
testCompile "org.slf4j:slf4j-api:$slf4jVersion",
diff --git a/ldap/pom.xml b/ldap/pom.xml
index 87ef3c3ed6..d3d4966a29 100644
--- a/ldap/pom.xml
+++ b/ldap/pom.xml
@@ -63,6 +63,10 @@
spring-core
org.springframework
+
+ spring-data-commons
+ org.springframework.data
+
commons-logging
commons-logging