Skip to content

Commit

Permalink
#7780: fix %classpath add mvn: NoSuchFileException
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslawmalekcodete committed Sep 18, 2018
1 parent 969a381 commit 91c974d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public String createPom(Params params) throws IOException {

private String configureBuildClasspathPlugin(String pathToMavenRepo, String mavenBuiltClasspathFileName, String pomAsString) {
String absolutePath = new File(pathToMavenRepo).getAbsolutePath();
return pomAsString.replaceAll(
return pomAsString.replace(
"<outputFile>mavenBuiltClasspathFile</outputFile>",
"<outputFile>" + absolutePath + File.separator +mavenBuiltClasspathFileName + "</outputFile>");
}
Expand Down

0 comments on commit 91c974d

Please sign in to comment.