Uses of Class
org.apache.maven.artifact.versioning.VersionRange
Packages that use VersionRange
Package
Description
-
Uses of VersionRange in org.apache.maven.artifact
Fields in org.apache.maven.artifact declared as VersionRangeMethods in org.apache.maven.artifact that return VersionRangeMethods in org.apache.maven.artifact with parameters of type VersionRangeModifier and TypeMethodDescriptionvoid
Artifact.setVersionRange
(VersionRange newRange) void
DefaultArtifact.setVersionRange
(VersionRange versionRange) Constructors in org.apache.maven.artifact with parameters of type VersionRangeModifierConstructorDescriptionDefaultArtifact
(String groupId, String artifactId, VersionRange versionRange, String scope, String type, String classifier, ArtifactHandler artifactHandler) DefaultArtifact
(String groupId, String artifactId, VersionRange versionRange, String scope, String type, 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 VersionRangeModifier and TypeMethodDescriptionprivate Artifact
DefaultArtifactFactory.createArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope) private Artifact
DefaultArtifactFactory.createArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope, boolean optional) ArtifactFactory.createDependencyArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope) ArtifactFactory.createDependencyArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, boolean optional) ArtifactFactory.createDependencyArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope) ArtifactFactory.createDependencyArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope, boolean optional) DefaultArtifactFactory.createDependencyArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope) DefaultArtifactFactory.createDependencyArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, boolean optional) DefaultArtifactFactory.createDependencyArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope) DefaultArtifactFactory.createDependencyArtifact
(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope, boolean optional) ArtifactFactory.createExtensionArtifact
(String groupId, String artifactId, VersionRange versionRange) DefaultArtifactFactory.createExtensionArtifact
(String groupId, String artifactId, VersionRange versionRange) ArtifactFactory.createPluginArtifact
(String groupId, String artifactId, VersionRange versionRange) DefaultArtifactFactory.createPluginArtifact
(String groupId, String artifactId, VersionRange versionRange) -
Uses of VersionRange in org.apache.maven.artifact.resolver
Methods in org.apache.maven.artifact.resolver with parameters of type VersionRangeModifier and TypeMethodDescriptionprivate void
DefaultArtifactCollector.fireEvent
(int event, List listeners, ResolutionNode node, Artifact replacement, VersionRange newRange) void
DebugResolutionListener.restrictRange
(Artifact artifact, Artifact replacement, VersionRange newRange) void
ResolutionListener.restrictRange
(Artifact artifact, Artifact replacement, VersionRange newRange) void
WarningResolutionListener.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 VersionRangeModifier and TypeMethodDescriptionVersionRange.cloneOf()
static VersionRange
VersionRange.createFromVersion
(String version) static VersionRange
VersionRange.createFromVersionSpec
(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.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 VersionRangeModifier and TypeMethodDescriptionVersionRange.restrict
(VersionRange restriction) Creates and returns a newVersionRange
that is a restriction of this version range and the specified version range. -
Uses of VersionRange in org.apache.maven.project.artifact
Methods in org.apache.maven.project.artifact that return VersionRangeModifier and TypeMethodDescriptionActiveProjectArtifact.getVersionRange()
AttachedArtifact.getVersionRange()
Methods in org.apache.maven.project.artifact with parameters of type VersionRangeModifier and TypeMethodDescriptionvoid
ActiveProjectArtifact.setVersionRange
(VersionRange newRange) void
AttachedArtifact.setVersionRange
(VersionRange range)