diff --git a/dev-tools/maven/lucene/expressions/pom.xml.template b/dev-tools/maven/lucene/expressions/pom.xml.template
index e9183dd5e92..4e1d525b1d3 100644
--- a/dev-tools/maven/lucene/expressions/pom.xml.template
+++ b/dev-tools/maven/lucene/expressions/pom.xml.template
@@ -54,6 +54,10 @@
org.ow2.asm
asm
+
+ org.ow2.asm
+ asm-commons
+
${project.groupId}
lucene-core
diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.template
index 7ae4169feec..451d723f7f1 100644
--- a/dev-tools/maven/pom.xml.template
+++ b/dev-tools/maven/pom.xml.template
@@ -286,6 +286,11 @@
asm
4.1
+
+ org.ow2.asm
+ asm-commons
+ 4.1
+
org.apache.ant
ant