Package org.apache.maven.api.services
package org.apache.maven.api.services
Defines core service interfaces that provide essential Maven functionality such as
artifact resolution, dependency management, and build execution. These services
form the backbone of Maven's extensible architecture.
- Since:
- 4.0.0
-
ClassDescriptionService used to create
ArtifactCoordinates
objects.A request for creating aArtifactCoordinates
object.DeploysProducedArtifact
s to aRemoteRepository
.An artifact could not correctly being deployed.A request for deploying one or more artifacts to a remote repository.Service used to createArtifact
objects.InstallsProducedArtifact
s to the local repository.A request for installing one or more artifacts in the local repository.Resolves the artifact, i.e.A request for resolving an artifact.Represents the result of resolving an artifact.Represents an individual resolution result for an artifact.Describes a problem that was encountered during project building.The different severity levels for a problem, in decreasing order.Checksum algorithms service.The checksum algorithm.The checksum calculator.Collects, flattens and resolves dependencies.A request to collect the transitive dependencies and to build a dependency graph from them.The result of a dependency resolution request.ExtensibleEnumRegistry<T extends ExtensibleEnum>The Interpolator service provides methods for variable substitution in strings and maps.Exception thrown byInterpolator
implementations when an error occurs during interpolation.Manages the organization and access of artifacts within the local Maven repository.The Exception class throw by theLookup
service.Base class for all maven exceptions carryingBuilderProblem
s.Base class for all maven exceptions.Message builder that supports configurable styling.A factory forMessageBuilder
.The Exception class throw by theProjectBuilder
service.Request used to build aProject
using theProjectBuilder
service.The possible merge modes for combining remote repositories.The possible request types for building a model.Result of a project build call.Describes a problem that was encountered during model building.VersionCollects problems that are encountered during model building.Represents a source for loading Maven Project Object Model (POM) files.Interface for locating POM files within a project structure.A model transformer.Service for detecting and providing information about the operating system (OS) on which the application is running.ProblemCollector<P extends BuilderProblem>Collects problems that were encountered during project building.ProblemCollector.Impl<P extends BuilderProblem>The Exception class throw by theProjectBuilder
service.Request used to build aProject
using theProjectBuilder
service.Result of a project build call.Interface to manage the project state and artifacts during the Maven build lifecycle.Manager forProjectScope
.Service used to interact with the end user.The Exception class throw by thePrompter
service.Factory service to createLocalRepository
orRemoteRepository
objects.Request<S extends ProtoSession>Base interface for service requests in Maven.Represents a hierarchical trace of nested requests within a session, enabling correlation between session events and their originating operations in the application code.Base interface for service operation results in Maven.Builds the effective settings from a user settings file and/or a installation settings file.The Exception class throw by theSettingsBuilder
.Collects settings that control the building of effective settings.Provides access to the contents of a source independently of the backing store (e.g.Factory methods for creating different types of sources.Provides the super POM that all models implicitly inherit from.Exceptions thrown by theSuperPomProvider
service.Factory interface for creating toolchain instances from configuration models.Exception thrown when toolchain factory operations fail.Service interface for managing Maven toolchains, which provide abstraction for different build tools and environments.The Exception class throw by theToolchainManager
.Builds the effective toolchains from a user toolchains file and/or an installation toolchains file.The Exception class throw by theToolchainsBuilder
.Transport for specified remote repository (using provided remote repository base URI as root).Transporter provider is a service that provides somewhat trivial transport capabilities backed by Maven internals.Access toType
registry.Service interface to parseVersion
andVersionRange
.The Exception class thrown byVersionParser
.Parses and evaluates version ranges encountered in dependency declarations.Represents the result of a version range resolution request.Resolves artifact meta/pseudo versions.