diff --git a/commons/impl/pom.xml b/commons/impl/pom.xml
index 3c1223cfc4ed..d1abc17c52c1 100644
--- a/commons/impl/pom.xml
+++ b/commons/impl/pom.xml
@@ -83,6 +83,10 @@
org.apache.commons
commons-lang3
+
+ org.apache.commons
+ commons-text
+
junit
junit
diff --git a/commons/tool/pom.xml b/commons/tool/pom.xml
index e8be825c7a33..ba358fd412c7 100644
--- a/commons/tool/pom.xml
+++ b/commons/tool/pom.xml
@@ -68,6 +68,10 @@
org.apache.commons
commons-lang3
+
+ org.apache.commons
+ commons-text
+
org.projectlombok
lombok
diff --git a/master/pom.xml b/master/pom.xml
index d0357e8bfc3c..cb43cb395a67 100644
--- a/master/pom.xml
+++ b/master/pom.xml
@@ -774,6 +774,7 @@
org.apache.commons
commons-text
${sakai.commons-text.version}
+ provided
org.apache.commons
diff --git a/samigo/samigo-app/pom.xml b/samigo/samigo-app/pom.xml
index beecd8b3303f..55c0dfc73f0d 100644
--- a/samigo/samigo-app/pom.xml
+++ b/samigo/samigo-app/pom.xml
@@ -124,13 +124,17 @@
commons-fileupload
- commons-lang
- commons-lang
+ org.apache.commons
+ commons-lang3
org.apache.commons
commons-math3
+
+ org.apache.commons
+ commons-text
+
org.dom4j
dom4j
diff --git a/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/author/ItemBean.java b/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/author/ItemBean.java
index 0f4034df3d00..9dba56823d92 100644
--- a/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/author/ItemBean.java
+++ b/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/author/ItemBean.java
@@ -40,7 +40,7 @@
import lombok.Getter;
import lombok.Setter;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
import org.sakaiproject.tool.assessment.data.ifc.assessment.ItemDataIfc;
import org.sakaiproject.component.cover.ServerConfigurationService;
diff --git a/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/CalculatedQuestionExtractListener.java b/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/CalculatedQuestionExtractListener.java
index a4908c148ceb..29c09533e65b 100644
--- a/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/CalculatedQuestionExtractListener.java
+++ b/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/CalculatedQuestionExtractListener.java
@@ -35,7 +35,7 @@
import javax.faces.event.ActionEvent;
import javax.faces.event.ActionListener;
-import org.apache.commons.lang3.StringEscapeUtils;
+import org.apache.commons.text.StringEscapeUtils;
import org.sakaiproject.tool.assessment.services.GradingService;
import org.sakaiproject.tool.assessment.ui.bean.author.CalculatedQuestionBean;
import org.sakaiproject.tool.assessment.ui.bean.author.CalculatedQuestionCalculationBean;
diff --git a/search/elasticsearch/impl/pom.xml b/search/elasticsearch/impl/pom.xml
index 3e18bcf8720e..142fd2bd345f 100644
--- a/search/elasticsearch/impl/pom.xml
+++ b/search/elasticsearch/impl/pom.xml
@@ -77,7 +77,6 @@
org.apache.commons
commons-text
- provided
org.springframework