Class DefaultModelVersionParser
java.lang.Object
org.apache.maven.repository.internal.DefaultModelVersionParser
- All Implemented Interfaces:
ModelVersionParser
@Named
@Singleton
public class DefaultModelVersionParser
extends Object
implements ModelVersionParser
-
Constructor Summary
ConstructorDescriptionDefaultModelVersionParser
(org.eclipse.aether.version.VersionScheme versionScheme) -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkSnapshot
(String version) boolean
isSnapshot
(String version) parseVersion
(String version) parseVersionConstraint
(String constraint) parseVersionRange
(String range)
-
Constructor Details
-
DefaultModelVersionParser
@Inject public DefaultModelVersionParser(org.eclipse.aether.version.VersionScheme versionScheme)
-
-
Method Details
-
parseVersion
- Specified by:
parseVersion
in interfaceModelVersionParser
-
parseVersionRange
- Specified by:
parseVersionRange
in interfaceModelVersionParser
-
isSnapshot
- Specified by:
isSnapshot
in interfaceModelVersionParser
-
checkSnapshot
-
parseVersionConstraint
- Specified by:
parseVersionConstraint
in interfaceModelVersionParser
-