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 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 interface org.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 interface org.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 interface org.eclipse.aether.version.VersionScheme
      Throws:
      org.eclipse.aether.version.InvalidVersionSpecificationException