Package org.apache.ivy.plugins.version
-
Interface Summary Interface Description VersionMatcher This interface defines a version matcher, i.e. a class able to tell if the revision asked by a module for a dependency is dynamic (i.e. need to find all revisions to find the good one among them) and if a found revision matches the asked one. -
Class Summary Class Description AbstractVersionMatcher ChainVersionMatcher An implementation ofVersionMatcherchaining several version matchers, and implementing theVersionMatcherinterface by returning results from the first matcher in the chain accepting the version.ExactVersionMatcher LatestVersionMatcher Match MavenTimedSnapshotVersionMatcher AVersionMatcherwhich understandsMaven timestamped snapshots.MavenTimedSnapshotVersionMatcher.MavenSnapshotRevision 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)PatternVersionMatcher SubVersionMatcher VersionRangeMatcher 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.