Class MavenVersionScheme
java.lang.Object
org.apache.maven.internal.impl.resolver.MavenVersionScheme
- All Implemented Interfaces:
org.eclipse.aether.version.VersionScheme
@Singleton
@Named
public class MavenVersionScheme
extends Object
implements org.eclipse.aether.version.VersionScheme
Default version scheme provider: provides singleton
GenericVersionScheme
instance.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.version.Version
parseVersion
(String version) org.eclipse.aether.version.VersionConstraint
parseVersionConstraint
(String constraint) org.eclipse.aether.version.VersionRange
parseVersionRange
(String range)
-
Constructor Details
-
MavenVersionScheme
public MavenVersionScheme()
-
-
Method Details
-
parseVersion
public org.eclipse.aether.version.Version parseVersion(String version) throws org.eclipse.aether.version.InvalidVersionSpecificationException - Specified by:
parseVersion
in interfaceorg.eclipse.aether.version.VersionScheme
- Throws:
org.eclipse.aether.version.InvalidVersionSpecificationException
-
parseVersionRange
public org.eclipse.aether.version.VersionRange parseVersionRange(String range) throws org.eclipse.aether.version.InvalidVersionSpecificationException - Specified by:
parseVersionRange
in interfaceorg.eclipse.aether.version.VersionScheme
- Throws:
org.eclipse.aether.version.InvalidVersionSpecificationException
-
parseVersionConstraint
public org.eclipse.aether.version.VersionConstraint parseVersionConstraint(String constraint) throws org.eclipse.aether.version.InvalidVersionSpecificationException - Specified by:
parseVersionConstraint
in interfaceorg.eclipse.aether.version.VersionScheme
- Throws:
org.eclipse.aether.version.InvalidVersionSpecificationException
-