return "Dependencies for " + appId;
StringBuilder buffer = new StringBuilder(128);
buffer.append(toString(a));
Dependency d = node.getDependency();
// if (d != null && d.getScope().length() > 0) {
// buffer.append(" [").append(d.getScope());
// if (d.isOptional())
// buffer.append(", optional");
// buffer.append("]");
// }
{
String premanaged = DependencyManagerUtils.getPremanagedVersion(node);
if (premanaged != null && !premanaged.equals(a.getBaseVersion()))
buffer.append(" (version managed from ").append(premanaged).append(")");
}
{
String premanaged = DependencyManagerUtils.getPremanagedScope(node);
if (premanaged != null && !premanaged.equals(d.getScope()))
buffer.append(" (scope managed from ").append(premanaged).append(")");
}
DependencyNode winner = (DependencyNode) node.getData().get(ConflictResolver.NODE_DATA_WINNER);
if (winner != null && !ArtifactIdUtils.equalsId(a, winner.getArtifact())) {
Artifact w = winner.getArtifact();