public void setIgnoreNonMatching(boolean ignoreNonMatching) {
mIgnoreNonMatching = ignoreNonMatching;
}
public Collection resolveConflicts(IvyNode parent, Collection conflicts) {
IvyNode lastNode = null;
for (Iterator iter = conflicts.iterator(); iter.hasNext();) {
IvyNode node = (IvyNode) iter.next();
if (lastNode != null && !matchEquals(node, lastNode)) {
String msg = lastNode + ":" + getMatch(lastNode)
+ " (needed by " + Arrays.asList(lastNode.getAllCallers())
+ ") conflicts with " + node + ":" + getMatch(node)
+ " (needed by " + Arrays.asList(node.getAllCallers()) + ")";
Message.error(msg);
Message.sumupProblems();
throw new StrictConflictException(msg);
}
if (lastNode == null || nodeIsGreater(node, lastNode)) {