org.apache.ivy.plugins.conflict
public class RegexpConflictManager extends AbstractConflictManager
<!-- Match all revisions, but ignore the last dot(.) and the character after it. Used to match api changes in out milestones. --> <conflict-managers> <regexp-cm name="regexp" regexp="(.*)\..$" ignoreNonMatching="true"/> </conflict-managers>The regular expression must contain a capturing group. The group will be used to resolve the conflicts by an String.equals() test. If ignoreNonMatching is false non matching modules will result in an exception. If it is true they will be compaired by their full revision.
Constructor Summary | |
---|---|
RegexpConflictManager() |
Method Summary | |
---|---|
Collection | resolveConflicts(IvyNode parent, Collection conflicts) |
void | setIgnoreNonMatching(boolean ignoreNonMatching) |
void | setRegexp(String regexp) |