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