Package org.apache.ivy.plugins.version
package org.apache.ivy.plugins.version
-
ClassDescriptionAn implementation of
VersionMatcher
chaining several version matchers, and implementing theVersionMatcher
interface by returning results from the first matcher in the chain accepting the version.AVersionMatcher
which understandsMaven timestamped snapshots
.Represents a Maven 2 snapshot version, which is either a regular snapshot (for example: 1.0.2-SNAPSHOT) or a timestamped snapshot (for example: 1.0.2-20100925.223013-19)This interface defines a version matcher, i.e.Matches version ranges: [1.0,2.0] matches all versions greater or equal to 1.0 and lower or equal to 2.0 [1.0,2.0[ matches all versions greater or equal to 1.0 and lower than 2.0 ]1.0,2.0] matches all versions greater than 1.0 and lower or equal to 2.0 ]1.0,2.0[ matches all versions greater than 1.0 and lower than 2.0 [1.0,) matches all versions greater or equal to 1.0 ]1.0,) matches all versions greater than 1.0 (,2.0] matches all versions lower or equal to 2.0 (,2.0[ matches all versions lower than 2.0 This class uses a latest strategy to compare revisions.