Uses of Interface
org.apache.maven.api.Version
Packages that use Version
Package
Description
Maven Core API
Defines core service interfaces that provide essential Maven functionality such as
artifact resolution, dependency management, and build execution.
-
Uses of Version in org.apache.maven.api
Methods in org.apache.maven.api that return VersionModifier and TypeMethodDescriptionArtifact.getBaseVersion()
Returns the version or meta-version of the artifact.Session.getMavenVersion()
Returns the current maven version.VersionConstraint.getRecommendedVersion()
Returns the recommended version of this constraint, ornull
if none.Artifact.getVersion()
Returns the version of the artifact.VersionRange.Boundary.getVersion()
The bounding version.Session.parseVersion
(String version) Parses the specified version string, for example "1.0".Session.resolveVersion
(ArtifactCoordinates artifact) Resolves an artifact's meta version (if any) to a concrete version.Methods in org.apache.maven.api that return types with arguments of type VersionModifier and TypeMethodDescriptionSession.resolveHighestVersion
(ArtifactCoordinates artifact, List<RemoteRepository> repositories) Resolves the highest available version of a version range.Session.resolveVersionRange
(ArtifactCoordinates artifact) Expands a version range to a list of matching versions, in ascending order.Session.resolveVersionRange
(ArtifactCoordinates artifact, List<RemoteRepository> repositories) Expands a version range to a list of matching versions, in ascending order.SourceRoot.targetVersion()
Returns the version of the platform where the code will be executed.Methods in org.apache.maven.api with parameters of type Version -
Uses of Version in org.apache.maven.api.services
Methods in org.apache.maven.api.services that return VersionModifier and TypeMethodDescriptionVersionResolverResult.getVersion()
VersionParser.parseVersion
(String version) Parses the specified version string, for example "1.0".Methods in org.apache.maven.api.services that return types with arguments of type VersionModifier and TypeMethodDescriptionVersionRangeResolverResult.getHighestVersion()
Gets the highest version matching the requested range.VersionRangeResolverResult.getLowestVersion()
Gets the lowest version matching the requested range.VersionRangeResolverResult.getVersions()
Gets the versions (in ascending order) that matched the requested range.Methods in org.apache.maven.api.services with parameters of type VersionModifier and TypeMethodDescriptionVersionRangeResolverResult.getRepository
(Version version) Gets the repository from which the specified version was resolved. -
Uses of Version in org.apache.maven.api.services.model
Methods in org.apache.maven.api.services.model that return VersionModifier and TypeMethodDescriptionModelVersionParser.parseVersion
(String version) Parses the specified version string, for example "1.0". -
Uses of Version in org.apache.maven.impl
Methods in org.apache.maven.impl that return VersionModifier and TypeMethodDescriptionDefaultArtifact.getBaseVersion()
DefaultDependency.getBaseVersion()
DefaultArtifact.getVersion()
DefaultDependency.getVersion()
AbstractSession.parseVersion
(String version) DefaultModelVersionParser.parseVersion
(String version) DefaultVersionParser.parseVersion
(String version) AbstractSession.resolveVersion
(ArtifactCoordinates artifact) Methods in org.apache.maven.impl that return types with arguments of type VersionModifier and TypeMethodDescriptionAbstractSession.resolveHighestVersion
(ArtifactCoordinates artifact, List<RemoteRepository> repositories) AbstractSession.resolveVersionRange
(ArtifactCoordinates artifact) AbstractSession.resolveVersionRange
(ArtifactCoordinates artifact, List<RemoteRepository> repositories) DefaultSourceRoot.targetVersion()
Returns the version of the platform where the code will be executed. -
Uses of Version in org.apache.maven.internal.impl
Methods in org.apache.maven.internal.impl that return Version