SOLR-9300: fix replace expression in GetMavenDependenciesTask's dependencyToArtifactId (Christine Poerschke, Daniel Collins)

This commit is contained in:
Christine Poerschke 2016-07-13 12:08:14 +01:00
parent 15e8719b8a
commit 1e92fc5f35
1 changed files with 1 additions and 1 deletions

View File

@ -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("(?<!solr-)analysis-", "analyzers-");
artifact = artifact.replaceAll("(?<!solr-)analysis-", "analyzers-");
if ("lucene".equals(matcher.group(1))) {
artifactId.append("lucene-");
}