@Override public String getLongId() { final StringBuilder sb = new StringBuilder("PARENTS || BOMS || DEPENDENCIES[scope:").append(scope.realName()); if (excludes != null && !excludes.isEmpty()) { sb.append(", excludes:{"); boolean first = true; for (final ProjectRef exclude : excludes) { if (!first) { sb.append(','); } first = false; sb.append(exclude); } sb.append("}"); } sb.append(']'); return sb.toString(); }