Merge branch '2.0.x'

This commit is contained in:
Stephane Nicoll
2018-08-01 08:48:09 +02:00
8 changed files with 30 additions and 15 deletions

View File

@@ -391,9 +391,10 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
try {
StringBuilder classpath = new StringBuilder();
for (URL ele : getClassPathUrls()) {
classpath = classpath
.append(((classpath.length() > 0) ? File.pathSeparator : "")
+ new File(ele.toURI()));
if (classpath.length() > 0) {
classpath.append(File.pathSeparator);
}
classpath.append(new File(ele.toURI()));
}
if (getLog().isDebugEnabled()) {
getLog().debug("Classpath for forked process: " + classpath);