diff --git a/gateway-shell/pom.xml b/gateway-shell/pom.xml
index 49155f48c2..deea57a72d 100644
--- a/gateway-shell/pom.xml
+++ b/gateway-shell/pom.xml
@@ -103,8 +103,8 @@
commons-io
- commons-configuration
- commons-configuration
+ org.apache.commons
+ commons-configuration2
de.thetaphi
diff --git a/gateway-shell/src/main/java/org/apache/knox/gateway/shell/ClientContext.java b/gateway-shell/src/main/java/org/apache/knox/gateway/shell/ClientContext.java
index a94124459b..d67120ffd3 100644
--- a/gateway-shell/src/main/java/org/apache/knox/gateway/shell/ClientContext.java
+++ b/gateway-shell/src/main/java/org/apache/knox/gateway/shell/ClientContext.java
@@ -17,9 +17,9 @@
*/
package org.apache.knox.gateway.shell;
-import org.apache.commons.configuration.Configuration;
-import org.apache.commons.configuration.MapConfiguration;
-import org.apache.commons.configuration.SubsetConfiguration;
+import org.apache.commons.configuration2.Configuration;
+import org.apache.commons.configuration2.MapConfiguration;
+import org.apache.commons.configuration2.SubsetConfiguration;
import org.apache.commons.lang3.StringUtils;
import java.security.KeyStore;
diff --git a/pom.xml b/pom.xml
index 0dd6e24633..d1d1075f63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -179,7 +179,7 @@
1.15
3.2.2
1.26.0
- 1.10
+ 2.10.1
3.2
2.8.0
2.6
@@ -1857,9 +1857,9 @@
${commons-compress.version}
- commons-configuration
- commons-configuration
- ${commons-configuration.version}
+ org.apache.commons
+ commons-configuration2
+ ${commons-configuration2.version}
org.apache.commons