diff --git a/dev-tools/maven/modules/queryparser/pom.xml.template b/dev-tools/maven/modules/queryparser/pom.xml.template
index f10bb3bd669..3311533ef08 100644
--- a/dev-tools/maven/modules/queryparser/pom.xml.template
+++ b/dev-tools/maven/modules/queryparser/pom.xml.template
@@ -41,6 +41,16 @@
lucene-core
${project.version}
+
+ ${project.groupId}
+ lucene-queries
+ ${project.version}
+
+
+ ${project.groupId}
+ lucene-sandbox
+ ${project.version}
+
${project.groupId}
lucene-test-framework