diff --git a/dev-tools/maven/solr/core/pom.xml.template b/dev-tools/maven/solr/core/pom.xml.template
index 16d50923c59..c3273c98441 100644
--- a/dev-tools/maven/solr/core/pom.xml.template
+++ b/dev-tools/maven/solr/core/pom.xml.template
@@ -60,12 +60,6 @@
${project.groupId}
solr-solrj
${project.version}
-
-
- org.slf4j
- log4j-over-slf4j
-
-
org.apache.lucene
diff --git a/dev-tools/maven/solr/solrj/pom.xml.template b/dev-tools/maven/solr/solrj/pom.xml.template
index 9066e341b83..81a4231abbd 100644
--- a/dev-tools/maven/solr/solrj/pom.xml.template
+++ b/dev-tools/maven/solr/solrj/pom.xml.template
@@ -77,14 +77,16 @@
org.slf4j
log4j-over-slf4j
-
-
- org.apache.httpcomponents
- httpmime
+ true
org.slf4j
jcl-over-slf4j
+ true
+
+
+ org.apache.httpcomponents
+ httpmime
commons-io
diff --git a/dev-tools/maven/solr/webapp/pom.xml.template b/dev-tools/maven/solr/webapp/pom.xml.template
index f6c82f643c9..7af6a9d17b6 100644
--- a/dev-tools/maven/solr/webapp/pom.xml.template
+++ b/dev-tools/maven/solr/webapp/pom.xml.template
@@ -67,6 +67,14 @@
slf4j-jdk14
runtime
+
+ org.slf4j
+ log4j-over-slf4j
+
+
+ org.slf4j
+ jcl-over-slf4j
+
${build-directory}