diff --git a/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java b/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java index 4e642ee1212..45a9d1126ab 100644 --- a/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java +++ b/lucene/tools/src/java/org/apache/lucene/dependencies/GetMavenDependenciesTask.java @@ -640,7 +640,7 @@ public class GetMavenDependenciesTask extends Task { // Pattern.compile("(lucene|solr)/build/(.*)/classes/java"); String artifact = matcher.group(2); artifact = artifact.replace('/', '-'); - artifact = artifact.replace("(?