Merge branch '2.0.x'
This commit is contained in:
@@ -63,9 +63,11 @@ public final class ItemMetadata implements Comparable<ItemMetadata> {
|
||||
}
|
||||
StringBuilder fullName = new StringBuilder((prefix != null) ? prefix : "");
|
||||
if (fullName.length() > 0 && name != null) {
|
||||
fullName.append(".");
|
||||
fullName.append('.');
|
||||
}
|
||||
if (name != null) {
|
||||
fullName.append(ConfigurationMetadata.toDashedCase(name));
|
||||
}
|
||||
fullName.append((name != null) ? ConfigurationMetadata.toDashedCase(name) : "");
|
||||
return fullName.toString();
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user