Uses of Class
org.apache.maven.artifact.versioning.VersionRange
-
Packages that use VersionRange Package Description org.apache.maven.artifact org.apache.maven.artifact.factory org.apache.maven.artifact.resolver org.apache.maven.artifact.versioning -
-
Uses of VersionRange in org.apache.maven.artifact
Methods in org.apache.maven.artifact that return VersionRange Modifier and Type Method Description VersionRange
Artifact. getVersionRange()
VersionRange
DefaultArtifact. getVersionRange()
Methods in org.apache.maven.artifact with parameters of type VersionRange Modifier and Type Method Description void
Artifact. setVersionRange(VersionRange newRange)
void
DefaultArtifact. setVersionRange(VersionRange versionRange)
Constructors in org.apache.maven.artifact with parameters of type VersionRange Constructor Description DefaultArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String scope, java.lang.String type, java.lang.String classifier, ArtifactHandler artifactHandler)
DefaultArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String scope, java.lang.String type, java.lang.String classifier, ArtifactHandler artifactHandler, boolean optional)
-
Uses of VersionRange in org.apache.maven.artifact.factory
Methods in org.apache.maven.artifact.factory with parameters of type VersionRange Modifier and Type Method Description Artifact
ArtifactFactory. createDependencyArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String type, java.lang.String classifier, java.lang.String scope)
Artifact
ArtifactFactory. createDependencyArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String type, java.lang.String classifier, java.lang.String scope, boolean optional)
Artifact
ArtifactFactory. createDependencyArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String type, java.lang.String classifier, java.lang.String scope, java.lang.String inheritedScope)
Artifact
ArtifactFactory. createDependencyArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String type, java.lang.String classifier, java.lang.String scope, java.lang.String inheritedScope, boolean optional)
Artifact
DefaultArtifactFactory. createDependencyArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String type, java.lang.String classifier, java.lang.String scope)
Artifact
DefaultArtifactFactory. createDependencyArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String type, java.lang.String classifier, java.lang.String scope, boolean optional)
Artifact
DefaultArtifactFactory. createDependencyArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String type, java.lang.String classifier, java.lang.String scope, java.lang.String inheritedScope)
Artifact
DefaultArtifactFactory. createDependencyArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange, java.lang.String type, java.lang.String classifier, java.lang.String scope, java.lang.String inheritedScope, boolean optional)
Artifact
ArtifactFactory. createExtensionArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange)
Artifact
DefaultArtifactFactory. createExtensionArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange)
Artifact
ArtifactFactory. createPluginArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange)
Artifact
DefaultArtifactFactory. createPluginArtifact(java.lang.String groupId, java.lang.String artifactId, VersionRange versionRange)
-
Uses of VersionRange in org.apache.maven.artifact.resolver
Methods in org.apache.maven.artifact.resolver with parameters of type VersionRange Modifier and Type Method Description void
ResolutionListener. restrictRange(Artifact artifact, Artifact replacement, VersionRange newRange)
-
Uses of VersionRange in org.apache.maven.artifact.versioning
Methods in org.apache.maven.artifact.versioning that return VersionRange Modifier and Type Method Description VersionRange
VersionRange. cloneOf()
static VersionRange
VersionRange. createFromVersion(java.lang.String version)
static VersionRange
VersionRange. createFromVersionSpec(java.lang.String spec)
Create a version range from a string representation Some spec examples are1.0
Version 1.0[1.0,2.0)
Versions 1.0 (included) to 2.0 (not included)[1.0,2.0]
Versions 1.0 to 2.0 (both included)[1.5,)
Versions 1.5 and higher(,1.0],[1.2,)
Versions up to 1.0 (included) and 1.2 or higherVersionRange
VersionRange. restrict(VersionRange restriction)
Creates and returns a newVersionRange
that is a restriction of this version range and the specified version range.Methods in org.apache.maven.artifact.versioning with parameters of type VersionRange Modifier and Type Method Description VersionRange
VersionRange. restrict(VersionRange restriction)
Creates and returns a newVersionRange
that is a restriction of this version range and the specified version range.
-