diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 8de1027344..76e4abe0ef 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -437,6 +437,8 @@ Release 2.3.0 - UNRELEASED
HADOOP-10094. NPE in GenericOptionsParser#preProcessForWindows().
(Enis Soztutar via cnauroth)
+ HADOOP-10100. MiniKDC shouldn't use apacheds-all artifact. (rkanter via tucu)
+
Release 2.2.1 - UNRELEASED
INCOMPATIBLE CHANGES
diff --git a/hadoop-common-project/hadoop-minikdc/pom.xml b/hadoop-common-project/hadoop-minikdc/pom.xml
index f3e663c2b9..444d72304e 100644
--- a/hadoop-common-project/hadoop-minikdc/pom.xml
+++ b/hadoop-common-project/hadoop-minikdc/pom.xml
@@ -37,9 +37,109 @@
org.apache.directory.server
- apacheds-all
+ apacheds-core-api
2.0.0-M15
compile
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+
+
+
+
+ org.apache.directory.server
+ apacheds-interceptor-kerberos
+ 2.0.0-M15
+ compile
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+
+
+
+
+ org.apache.directory.server
+ apacheds-protocol-shared
+ 2.0.0-M15
+ compile
+
+
+ org.apache.directory.server
+ apacheds-protocol-kerberos
+ 2.0.0-M15
+ compile
+
+
+
+
+ org.apache.directory.server
+ apacheds-ldif-partition
+ 2.0.0-M15
+ compile
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+
+
+
+
+ org.apache.directory.server
+ apacheds-mavibot-partition
+ 2.0.0-M15
+ compile
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+
+
+
+
+ org.apache.directory.api
+ api-all
+ 1.0.0-M20
+ compile
+
+
+ xml-apis
+ xml-apis
+
+
+ xpp3
+ xpp3
+
+
+ dom4j
+ dom4j
+
+
+
+
+ org.apache.directory.server
+ apacheds-jdbm-partition
+ 2.0.0-M15
+ compile
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+
+
+
+
+ org.apache.directory.server
+ apacheds-protocol-ldap
+ 2.0.0-M15
+ compile
+
+
+ org.apache.directory.api
+ api-ldap-schema-data
+
+
org.slf4j
@@ -50,6 +150,12 @@
junit
junit
compile
+
+
+ org.hamcrest
+ hamcrest-core
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 7e53495898..73a5b6bd8e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -274,6 +274,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
maven-clover2-plugin
3.0.5
+
+ org.apache.felix
+ maven-bundle-plugin
+ 2.4.0
+
@@ -333,6 +338,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
+
+ org.apache.felix
+ maven-bundle-plugin
+ true
+ true
+