All Classes and Interfaces
Class
Description
Deprecated.
Common elements of artifact metadata.
Base class for artifact resolution exceptions.
A skeleton eventspy that does nothing other than helping implementors.
Provides a skeleton implementation for execution listeners.
Base lifecycle mapping provider, ie per-packaging plugin bindings for
default
lifecycle.Base lifecycle provider.
Allows core extensions to participate in Maven build session lifecycle.
AbstractMavenTransferListener
Provides a skeleton implementation for model building listeners.
Offers a transformation implementation based on PipelineStreams.
Abstract class to provide most of the infrastructure required to implement a
The implementation should have a
Mojo
except for
the execute method.The implementation should have a
Mojo
annotation with the name of the goal:Base exception.
Shared methods of the repository metadata handling.
Scan a directory tree for files, with specified inclusions and exclusions.
Use a regular expression search to find and resolve expressions within the POM.
Deprecated.
Describes a version transformation during artifact resolution.
The conditions within the build runtime environment which will trigger the
automatic inclusion of the build profile.
The conditions within the build runtime environment which will trigger
the automatic inclusion of the parent build profile.
The conditions within the build runtime environment
which will trigger
the automatic inclusion of the parent build profile.
Builder class used to create Activation instances.
Builder class used to create Activation instances.
This is the file specification used to activate the profile.
This is the file specification used to activate a profile.
This is the file specification used to activate a
profile.
Builder class used to create ActivationFile instances.
Builder class used to create ActivationFile instances.
This is an activator which will detect an operating system's attributes in order
to activate its profile.
This is an activator which will detect an operating system's attributes in order to activate
its profile.
This is an activator which will detect an operating
system's attributes in order to activate
its profile.
Builder class used to create ActivationOS instances.
Builder class used to create ActivationOS instances.
This is the property specification used to activate a profile.
This is the property specification used to activate a profile.
This is the property specification used to activate a
profile.
Builder class used to create ActivationProperty instances.
Builder class used to create ActivationProperty instances.
Deprecated.
Apply multiple filters.
An artifact points to a resource such as a jar file or war application.
Maven Artifact interface.
Deprecated.
The
Coordinate
object is used to point to an Artifact
but the version may be specified as a range instead of an exact version.Service used to create
ArtifactCoordinate
objects.A request for creating a
ArtifactCoordinate
object.Deploys
Artifact
s to a RemoteRepository
.ArtifactDeployer
An artifact could not correctly being deployed.
A request for deploying one or more artifacts to a remote repository.
Populates Aether
ArtifactDescriptorResult
from Maven project Model
.Warning: This is an internal utility class that is only public for technical reasons, it is not part
of the public API.
ArtifactDoesNotExistException
Service used to create
Artifact
objects.Deprecated.
ArtifactFilterManager
Deprecated.
An artifact handler defines for a dependency type, defined as Plexus role:
extension and classifier, to be able to download the file,
information on how to use the artifact: whether to add it to the classpath, or to take into account its
dependencies.
Installs
Artifact
s to the local repository.A request for installing one or more artifacts in the local repository.
Deprecated.
Contains metadata about an artifact, and methods to retrieve/store it from an artifact repository.
Artifact Metadata that is resolved independent of Artifact itself.
Deprecated.
Error while retrieving repository metadata from the repository.
Deprecated.
Provides some metadata operations, like querying the remote repository for a list of versions available for an
artifact.
Represents a model pulled from a repository
Abstraction of an artifact repository.
ArtifactRepositoryLayout2
Metadata for the artifact directory of the repository.
Describes a set of policies for a repository to use under certain conditions.
A resolution request allows you to either use an existing MavenProject, or a coordinate (gid:aid:version)
to process a POMs dependencies.
Specific problems during resolution that we want to account for:
missing metadata
version range violations
version circular dependencies
missing artifacts
network/transfer errors
file system errors: permissions
Resolves the artifact, i.e download the file when required and attach it to the artifact
A request for resolving an artifact.
The Artifact Result
Type safe reincarnation of Artifact scope.
Type safe enumeration for the artifact status field.
TransferEvent is used to notify TransferListeners about progress
in transfer of resources form/to the repository
ArtifactTransferFailedException
ArtifactTransferListener
Describes a resource being uploaded or downloaded by the repository system.
Manages multiple ArtifactTransformation instances and applies them in succession.
ArtifactUtils
Describes an artifact version in terms of its components, converts it to/from a string and
compares two versions.
ArtifactWithDependencies
Deprecated.
Authentication
Provides Base64 encoding and decoding as defined by RFC 2045.
A path translator that resolves relative paths against a specific base directory.
Abstract implementation.
BatchModeMavenTransferListener
Thrown when a bean couldn't be configured.
Postprocesses filesystem paths.
A request to configure a bean from some configuration in the POM or similar.
Preprocesses a value from a bean configuration before the bean configurator unmarshals it into a bean property.
Unmarshals some textual configuration from the POM or similar into the properties of a bean.
BootstrapCoreExtensionManager
An xml pull parser filter base implementation.
The
<build>
element contains informations required to build the project.Builder class used to create Build instances.
A special throwable used to signal a graceful abort of the build.
Build configuration in a profile.
Builder class used to create BuildBase instances.
A
Builder
encapsulates a strategy for building a set of Maven projects.Common code that is shared by the LifecycleModuleBuilder and the LifeCycleWeaveBuilder
BuilderNotFoundException
Describes a problem that was encountered during project building.
The different severity levels for a problem, in decreasing order.
Summarizes the result of a failed project build in the reactor.
One or more builds failed.
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
Instances of this class are responsible for determining whether it makes sense to "resume" a build (i.e., using
the
--resume
flag.This class holds the information required to enable resuming a Maven build with
--resume
.Instances of this interface retrieve and store data for the --resume / -r feature.
This exception will be thrown when something fails while persisting build resumption data.
Summarizes the result of a successful project build in the reactor.
Summarizes the result of a project build in the reactor.
Simple
ThreadFactory
implementation that ensures the corresponding threads have a meaningful name.Deprecated.
Base implementation for providing the BuildToRawPomXML.
This class provides cache access to
Map
collections.Caching OutputStream to avoid overwriting a file with
the same content.
Caching Writer to avoid overwriting a file with
the same content.
Occurs when a download checksum fails.
The
<ciManagement>
element contains informations required to the
continuous integration system of the project.Builder class used to create CiManagement instances.
A cache of introspection information for a specific class instance.
classpath container that is aware of the classpath scope
Helper class to convert a metadata Graph into some form of a classpath
Describes a constituent of a class realm.
Manages the class realms used by Maven.
ClassRealmManagerDelegate is used to perform addition configuration of
class realms created by ClassRealmManager.
Describes the requirements for a new class realm.
The type of a class realm.
CleanArgument
clean
lifecycle provider.Utility class used to report errors, statistics, application version info, etc.
CliRequest
Implementation to call the CMD Shell present on Windows NT, 2000 and XP
Commandline objects help handling command lines specifying processes to execute.
Callable wrapper that exposes the proper exception type to the client.
A
StreamConsumer
providing consumed lines as a String
.
Implementation to call the Command.com Shell present on Windows 95, 98 and Me
Generic implementation of version comparison.
Used to configure injection of Plexus components by
MavenPluginManager.getConfiguredMojo(...)
.
Presents a view of the Dependency Graph that is suited for concurrent building.
Contains the configuration information of the container like Plugin.
Builder class used to create ConfigurationContainer instances.
ConfigurationProcessor
Determines which version of an artifact to use when there are conflicting declarations.
A factory that produces conflict resolvers of various types.
Indicates that a specified conflict resolver implementation could not be found.
Console download progress meter.
A type implemented by, or extended by maven plugins or extensions.
Consumer POM transformer.
Interface to allow
The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo.
Mojos
to communicate with each others Mojos
, other than
project's source root and project's attachment.The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo.
Description of a person who has contributed to the project, but who does not have
commit privileges.
Builder class used to create Contributor instances.
Provides information about artifacts (identified by groupId:artifactId string key) and classpath elements exported by
Maven core itself and loaded Maven core extensions.
CoreExportsProvider
Describes a build extension to utilise.
Provides information about artifacts (identified by groupId:artifactId string key) and classpath elements exported by
Maven core itself or a Maven core extension.
Extensions to load.
Class CoreExtensionsXpp3Reader.
Class CoreExtensionsXpp3Writer.
Filter to only retain objects in the given scope or better.
Exception occurring trying to resolve a plugin.
Indicates a cycle in the dependency graph.
DAG = Directed Acyclic Graph
Deprecated.
Send resolution events to the debug log.
A wrapper class around a maven resolver artifact.
Deprecated.
A wrapper class around a maven resolver artifact.
DefaultArtifactDeployer
Implementation of
ArtifactDeployer
service.DefaultArtifactFactory
Deprecated.
Default implementation of artifact versioning.
A basic bean configuration request.
Warning: This is an internal class that is only public for technical reasons, it is not part of the
public API.
DefaultBuildPluginManager
A BuildPomXMLFilterFactory which is context aware
Default implementation of
BuildResumptionAnalyzer
.This implementation of
BuildResumptionDataRepository
persists information in a properties file.default implementation of the metadata classpath transformer
Manages the class realms used by Maven.
Deprecated.
As of 3.0, use a specific implementation instead, e.g.
A conflict resolver factory that obtains instances from a plexus container.
The default implementation of the
RawToConsumerPomXMLFilterFactory
It will provide several values for the consumer pom based on its context.Handles the import of dependency management from other models into the target model.
Handles injection of dependency management into the model.
ManagementModelMerger
DefaultEventSpyContext
Transform an exception into useful end-user message.
Assists in firing execution events.
Default extension realm cache implementation.
CacheKey
Builds the
inter-dependencies graph
between projects in the reactor.Default conflict resolver.Implements closer newer first policy by default, but could be configured via plexus
Handles inheritance of model values.
InheritanceModelMerger
Deprecated.
clients that do not require compatibility with Maven 3.2.3 and earlier should link to
JavaToolchainImpl
instead.Helps to provide backward-compatibility with plugins that use legacy components.
Handles injection of plugin executions induced by the lifecycle bindings for a packaging.
The domain-specific model merger for lifecycle bindings
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
A facade that provides lifecycle services to components outside maven core.
DefaultLifecycleMapping
Lifecycle mapping delegate component interface.
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
default
lifecycle provider.
Calculates the task segments in the build
Assists in populating an execution request for invocation of Maven.
DefaultMavenMetadataCache
CacheKey
Provides basic services to manage Maven plugins and their mojos.
Deprecated.
Deprecated.
DefaultMavenProjectHelper
Handles deserialization of metadata from some kind of textual format like XML.
Forms a request to retrieve artifact metadata.
This realizes the metadata source via the default hint to provide backward-compat with Maven 2.x whose Plexus version
registered component descriptors twice: once keyed by role+roleHint and once keyed by role only.
DefaultMirrorSelector
A factory to create model builder instances when no dependency injection is available.
Processes events from the model builder while building the effective model for a
MavenProject
instance.Collects settings that control building of effective models.
A model builder cache backed by the repository system cache.
Default implementation of
ModelCacheFactory
.DefaultModelInheritanceAssembler
Locates a POM file within a project base directory.
Handles normalization of a model.
DuplicateMerger
Resolves relative paths within a model against a specific base directory.
Describes a problem that was encountered during model building.
Note: uses @Typed to limit the types it is available for injection to just ModelProcessor.
Handles deserialization of a model from some kind of textual format like XML.
Default ModelSourceTransformer, provides pomFile as inputStream and ignores the context
Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
model inheritance.
Deprecated.
Maven default implementation of the
ModelVersionProcessor
to support
CI Friendly VersionsHandles serialization of a model into some kind of textual format like XML.
Default mojo execution strategy.
Resolves relative paths against a specific base directory.
Deprecated.
CacheKey
Handles expansion of general build plugin configuration into individual executions.
Assists in resolving the dependencies of a plugin.
Caches raw plugin descriptors.
Handles injection of plugin management into the model.
ManagementModelMerger
Collects settings required to resolve a plugin prefix.
Resolves a plugin prefix.
Default PluginCache implementation.
CacheKey
Collects settings required to resolve the version for a plugin.
Resolves a version for a plugin.
Describes the environmental context used to determine the activation status of profiles.
Handles profile injection into the model.
ProfileModelMerger
Deprecated.
Calculates the active profiles among a given collection of profiles.
Default component responsible for creation of MavenProject#dependencyArtifacts instances.
CacheKey
DefaultProjectBuilder
Deprecated.
Assists the project builder.
DefaultProjectBuildingRequest
Deprecated.
As of 3.2.2, and there is no direct replacement.
Describes the interdependencies between projects in the reactor.
Default project realm cache implementation.
CacheKey
Utility to select projects for a given set of pom.xml files.
Handles expansion of general report plugin configuration into individual report sets.
Deprecated.
since maven 4.0, this class is now a no-op class and is only here for compatibility
Collects basic settings to access the repository system.
Deprecated.
Provides information about the current Maven runtime.
Builds the effective settings from a user settings file and/or a global settings file.
A factory to create settings builder instances when no dependency injection is available.
Collects settings that control building of effective settings.
Decrypts passwords in the settings.
Collects parameters that control the decryption of settings.
Describes a problem that was encountered during settings building.
Handles deserialization of settings from the default textual format.
Handles serialization of settings into the default textual format.
Provides the super POM that all models implicitly inherit from.
Default abstract toolchain implementation, to be used as base class for any toolchain implementation
to avoid rewriting usual code.
TODO: refactor this, component extending component is bad practice.
Deprecated.
instead use
DefaultToolchainsBuilder
Collects toolchains that control building of effective toolchains.
Holds the result of the merged toolchains and holds the problems during this build, if any.
Handles deserialization of toolchains from the default textual format.
Handles serialization of toolchains into the default textual format.
DefaultUpdateCheckManager
Normalizes a URL.
Default version scheme provider: provides singleton
GenericVersionScheme
instance.Manages Wagon related operations in Maven.
Manages Wagon related operations in Maven.
Deprecated.
The
<dependency>
element contains information about a dependency
of the project.Builder class used to create Dependency instances.
The DependencyCollector service can be used to collect dependencies
for a given artifact and builds a graph of them.
Thrown in case of bad artifact descriptors, version ranges or other
issues encountered during calculation of the dependency graph.
A request to collect the transitive dependencies and to build a dependency graph from them.
The result of a dependency collection request.
Context of dependency artifacts for a particular project.
Section for management of default dependency information for use in a group of
POMs.
Builder class used to create DependencyManagement instances.
Handles the import of dependency management from other models into the target model.
Handles injection of dependency management into the model.
A request to resolve the dependencies of a project.
Exception that occurs when an artifact file is used, but has not been resolved.
The result of a project dependency resolution.
Deployment repository contains the information needed for deploying to the remote
repository, which adds uniqueVersion property to usual repositories for download.
Builder class used to create DeploymentRepository instances.
Deprecated.
Information about one of the committers on this project.
Builder class used to create Developer instances.
Class for scanning a directory for files/directories which match certain criteria.
DirectoryWalker
Observes the actions of a
DirectoryWalker
.This elements describes all that pertains to distribution for a project.
Builder class used to create DistributionManagement instances.
This exception is thrown if an application attempts to attach
two of the same artifacts to a single project.
DuplicateMojoDescriptorException
DuplicateParameterException
Signals a collision of two or more projects with the same g:a:v during a reactor build.
Exception that occurs when the project list contains duplicate projects instead of ignoring one.
ear
artifact handler provider.ear
packaging plugins bindings provider for default
lifecycle.ejb
artifact handler provider.ejb-client
artifact handler provider.ejb
packaging plugins bindings provider for default
lifecycle.A component configurator which can leverage the
EnhancedConfigurationConverter
and EnhancedConverterLookup
.The java.util.StringTokenizer is horribly broken.
Assists the project builder.
Event sent by maven during various phases of the build process.
Deprecated.
Deprecated.
A core extension to monitor Maven's execution.
Context
Dispatches callbacks to all registered EventSpies.
The possible types of execution events.
Transform an exception into useful end-user message.
Provide a summary of the exception, containing:
the exception itself,
useful end-user message,
useful reference to a solution, or set of solutions: this is usually a wiki page url in
http://cwiki.apache.org/confluence/display/MAVEN/,
child exception summaries.
ExceptionUtils
provides utilities for manipulating Throwable
objects.Filter to exclude from a list of artifact patterns.
A dependency exlusion.
The
<exclusion>
element contains informations required to exclude
an artifact to the project.Builder class used to create Exclusion instances.
Filter to exclude from a list of artifact patterns.
Used if your Mojo needs to fork a lifecycle.
A set of goals to execute.
Builder class used to create Execution instances.
Holds data relevant for an execution event.
The possible types of execution events.
Assists in firing execution events.
Logs execution events to logger, eventually user-supplied.
Defines events that Maven fires during a build.
Wraps individual MojoExecutions, containing information about completion status and scheduling.
Unzip a file.
This annotation tags types that are part of an experimental API.
A plugin parameter expression supported by Maven.
The root of a parameter plugin expression document.
ExpressionDocumentationException
ExpressionDocumenter
Describes a build extension to utilise.
Builder class used to create Extension instances.
Provides metadata about a build extension.
Creates an extension descriptor from some XML stream.
Caches extension class realms.
CacheRecord
A cache key.
Exception occurring trying to resolve a plugin.
Resolves conflicting artifacts by always selecting the farthest declaration.
This class represents a
Map
collection with real-time behavior.Centralized class for feature information
Represents some feature
Wraps an ordinary
File
as a model source.Determines profile activation based on the existence/absence of some file.
Deprecated.
A PatternSet for files.
Builder class used to create FileSet instances.
Deprecated.
instead use
FileSource
Wraps an ordinary
File
as a source.This class provides basic facilities for manipulating files and file paths.
FlatRepositoryLayout
This annotation indicates that a type is automatically generated.
A task that is a goal
Builds the
inter-dependencies graph
between projects in the reactor.MetadataGraph edge selection policy.
Resolves conflicts in the supplied dependency graph.
Metadata for the group directory of the repository.
Base class for
Mirror
, Profile
, Proxy
and Server
.Builder class used to create IdentifiableBase instances.
The
Immutable
annotation indicates that the object is immutable, i.e.Filter to include from a list of artifact patterns.
Handles inheritance of model values.
Class InputLocation.
Class InputLocation.
Class StringFormatter.
Class StringFormatter.
Interface InputLocationTracker.
Class InputSource.
Class InputSource.
Interface of a wrapper for input streams.
Component instantiation strategy.
Signals an internal error in Maven itself, e.g.
A FilterReader which interpolates keyword values into a character stream.
Exception thrown when the identity of an artifact can not be established,
e.g.
Thrown if a dependency has an invalid version.
InvalidPluginDescriptorException
InvalidPluginDescriptorException
Thrown when a plugin is not internally consistent.
Deprecated.
InvalidProjectVersionException
Error constructing an artifact repository.
Signals an error when adding a repository to the model resolver.
Occurs when a version is invalid.
InversionArtifactFilter
General IO Stream manipulation.
Information about the issue tracking (or bug tracking) system used to manage this
project.
Builder class used to create IssueManagement instances.
jar
artifact handler provider.jar
packaging plugins bindings provider for default
lifecycle.javadoc
artifact handler provider.java-source
artifact handler provider.A specific
Toolchain
dedicated for Java.JDK toolchain interface.
JDK toolchain factory.
JDK toolchain implementation.
Deprecated.
Determines profile activation based on the version of the current Java runtime.
Describes a version transformation during artifact resolution - "latest" type
Deprecated.
Warning: This is an internal utility class that is only public for technical reasons, it is not part
of the public API.
Helps to provide backward-compatibility with plugins that use legacy components.
Describes the licenses for this project.
Builder class used to create License instances.
Lifecycle definition, with eventual plugin bindings (when they are not packaging-specific).
Lifecycle definition for a packaging (multiple packagings share the same lifecycle id = usually "default").
A custom lifecycle mapping definition.
Builder class used to create Lifecycle instances.
Handles injection of plugin executions induced by the lifecycle bindings for a packaging.
Root element of the
lifecycle.xml
file.Builder class used to create LifecycleConfiguration instances.
Logs debug output from the various lifecycle phases.
Resolves dependencies for the artifacts in context of the lifecycle build
A facade that provides lifecycle services to components outside Maven core.
LifecycleMapping
Lifecycle mapping delegate component interface.
Builds one or more lifecycles for a full module
Mojo (plugin goal) binding to a lifecycle phase.
Signals a failure to locate a lifecycle.
Mojo (goals) bindings to a lifecycle phase.
Signals a failure to locate the lifecycle for some phase.
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
Starts the build life cycle
A task that is a lifecycle
Calculates the task segments in the build
A FilterReader which interpolates keyword values into a character stream.
A listener for session events.
LocalArtifactRepository
The local repository is used to cache artifacts downloaded from
RemoteRepository
and to hold artifacts that have been build locally.Signals a failure to store files within the local repository.
This interface supplies the API for providing feedback to the user from the
There should be no big surprises here, although you may notice that the methods accept
Mojo
, using standard
Maven
channels.There should be no big surprises here, although you may notice that the methods accept
java.lang.CharSequence
rather than java.lang.String
.Deprecated.
Use SLF4J directly
Configuration for slf4j-log4j2.
Configuration for slf4j-logback.
Responsible for keeping state of whether the threshold of the --fail-on-severity flag has been hit.
The Exception class throw by the
Lookup
service.This element describes all of the mailing lists associated with a project.
Builder class used to create MailingList instances.
Deprecated.
Describes a match target for SelectorUtils.
A list of patterns to be matched
The main Maven execution entry point, which will execute a full Maven execution session.
Abstraction of an artifact repository.
MavenBuildTimestamp
A maven workspace reader that delegates to a chain of other readers, effectively aggregating their contents.
Base class for all maven exceptions.
MavenExecutionPlan
Assists in populating an execution request for invocation of Maven.
A proxy which enhances the MavenSimpleLogger with functionality to track whether a logging threshold is hit.
LogFactory for Maven which can create a simple logger or one which, if set, fails the build on a severity threshold.
Use to compute keys for data structures
MavenMetadataCache
The domain-specific model merger for the Maven POM, overriding generic code from parent class when necessary with
more adapted algorithms.
maven-plugin
artifact handler provider.maven-plugin
packaging plugins bindings provider for default
lifecycle.Provides basic services to manage Maven plugins and their mojos.
Service responsible for checking if plugin's prerequisites are met.
Deprecated.
The concern of the project is provide runtime values based on the model.
Deprecated.
use
ProjectBuilder
insteadConvenience interface for plugins to add or replace artifacts and resources on projects.
An exception occurring during the execution of a Maven report.
A utility class to assist in setting up a Maven-like repository system.
MavenResolverModule
A Maven execution session.
Deprecated.
Deprecated.
use
SettingsMerger
Logger for Maven, that support colorization of levels and stacktraces.
Utility for Maven to access Slf4j internals through package access.
Utility for Maven to access Slf4j-Simple internals through package access.
Wrapper for creating loggers which can have a log level threshold.
Use to compute keys for data structures
MavenWorkspaceReader
Message builder that supports configurable styling.
A factory for
MessageBuilder
.Class Metadata.
Warning: This is an internal utility class that is only public for technical reasons, it is not part
of the public API.
maven dependency metadata graph
This is the main graph data structure used by the RepositorySystem to present tree and graph objects.
metadata graph edge - combination of version, scope and depth define
an edge in the graph
MetadataGraph node - as it's a directed graph - holds adjacency lists for incident and exident nodes
metadata graph vertice - just a wrapper around artifact's metadata
Signals a failure to parse the metadata due to invalid syntax (e.g.
Handles deserialization of metadata from some kind of textual format like XML.
MetadataResolutionException
Forms a request to retrieve artifact metadata.
MetadataResolutionRequestTypeEnum
This object is tinted with ClasspathTransformation and GraphConflictResolver.
Error while retrieving repository metadata from the repository.
Provides some metadata operations, like querying the remote repository for a list of versions available for an
artifact.
Storage location for metadata
metadata [dirty] Tree
Class MetadataXpp3Reader.
Class MetadataXpp3Writer.
simple distinguishable exception, used when we run across ambiguous overloading
A download mirror for a given repository.
Builder class used to create Mirror instances.
Handles the selection of mirrors for repositories.
MissingModuleException
Signals that the user referenced one or more Maven profiles that could not be located in either the project or the
settings.
Signals a failure to execute a lifecycle phase or mojo because a project is required but not present.
Error constructing an artifact repository.
The
<project>
element is the root of the descriptor.Builder class used to create Model instances.
Base class for the
Model
and the Profile
objects.Builder class used to create ModelBase instances.
Builds the effective model from a POM.
Holds data relevant for a model building event.
Signals one ore more errors during model building.
Defines events that the model builder fires during construction of the effective model.
Collects settings that control the building of effective models.
Collects the output of the model builder.
Caches auxiliary data used during model building like already processed raw/effective models.
Factory for
ModelCache
objects.Deprecated.
Deprecated.
Replaces expressions of the form
${token}
with their effective values.Deprecated.
Locates a POM file within a project base directory.
Handles normalization of a model.
Signals a failure to parse the POM due to invalid syntax (e.g.
Resolves relative paths of a model against a specific base directory.
Describes a problem that was encountered during model building.
The different severity levels for a problem, in decreasing order.
Version
Collects problems that are encountered during model building.
Extends the ModelProblemCollector by the capacity of returning the collected problems.
Class to wrap request parameters to ModelProblemCollector.addProblem
Assists in the handling of model problems.
ModelProcessor
Handles deserialization of a model from some kind of textual format like XML.
Resolves a POM from its coordinates.
Deprecated.
instead use
Source
Provides access to the contents of a POM independently of the backing store (e.g.
The ModelSourceTransformer is a way to transform the local pom while streaming the input.
Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
model inheritance.
Deprecated.
Checks the model for missing or invalid values.
Deprecated.
Allows a fixed set of properties that are valid inside a version and that could be overwritten for example on the
commandline
Handles serialization of a model into some kind of textual format like XML.
Reads or writes a
Model
using XML.This annotation will mark your class as a Mojo (ie.
This interface forms the contract required for
It features an
Mojos
to interact with the Maven
infrastructure.It features an
execute()
method, which triggers the Mojo's build-process behavior, and can throw
a MojoException if error conditions occur.This interface forms the contract required for
It features an
Also included is the
Mojos
to interact with the Maven
infrastructure.It features an
execute()
method, which triggers the Mojo's build-process behavior, and can throw
a MojoExecutionException or MojoFailureException if error conditions occur.Also included is the
setLog(...)
method, which simply allows Maven to inject a logging mechanism which
will allow the Mojo to communicate to the outside world through standard Maven channels.The bean containing the Mojo descriptor.
For more information about the usage tag, have a look to: https://maven.apache.org/developers/mojo-api-specification.html TODO is there a need for the delegation of MavenMojoDescriptor to this? Why not just extend ComponentDescriptor here?
For more information about the usage tag, have a look to: https://maven.apache.org/developers/mojo-api-specification.html TODO is there a need for the delegation of MavenMojoDescriptor to this? Why not just extend ComponentDescriptor here?
Resolves dependencies for the artifacts in context of the lifecycle build
An exception occurring during the execution of a plugin.
A
MojoExecution
MojoExecution
Describes the source of an execution.
A MojoExecutionConfigurator is responsible for creating the configuration for Mojo based on configuration for a Mojo
in the MavenProject and the default configuration for the Mojo from the containing plugin's plugin.xml descriptor.
Encapsulates parameters of MojoExecutionListener callback methods and is meant to provide API evolution path should
it become necessary to introduce new parameters in the existing callbacks in the future.
An exception occurring during the execution of a plugin.
Throwing this exception causes a "BUILD ERROR" message to be displayed.
Throwing this exception causes a "BUILD ERROR" message to be displayed.
Extension point that allows build extensions observe and possibly veto mojo executions.
Provides context for mojo execution.
MojoExecutionScope
MojoExecutionScopeCoreModule
Indicates that annotated component should be instantiated before mojo execution starts and discarded after mojo
execution completes.
MojoExecutionScopeModule
Executes an individual mojo
An exception occurring during the execution of a plugin (such as a compilation failure).
Throwing this exception causes a "BUILD FAILURE" message to be displayed.
Throwing this exception causes a "BUILD FAILURE" message to be displayed.
MojoNotFoundException
Interface allows overriding default mojo execution strategy For example it is possible wrap some mojo execution to
decorate default functionality or skip some executions
Helper class to format multiline messages to the console
Strategy for collecting Maven projects from the multi-module project root, even when executed in a submodule.
Exception caused when one or more artifacts can not be resolved because they are not found in the
local or remote repositories.
Builds the full lifecycle in weave-mode (phase by phase as opposed to project-by-project).
Absolutely minimal implementation of XMLPULL V1 API.
Implementation of XmlSerializer interface from XmlPull V1 API.
Resolves conflicting artifacts by always selecting the nearest declaration.
Resolves conflicting artifacts by always selecting the newest declaration.
Encapsulates use of java7 features, exposing mostly backward compatible types
Represents a dependency node within a Maven project's dependency collector.
Buffer events while parsing a given element to allow some post-processing.
Defines a hierarchical visitor for collecting dependency node trees.
Signals a failure to build because no goal was specified.
The annotated element must not be null.
NoPluginFoundForPrefixException
Configures one method for notifying users/developers when a build breaks.
Builder class used to create Notifier instances.
This annotation indicates that the annotated type is not threadsafe
and should only be used by a single thread.
The annotated element can be
null
.Resolves conflicting artifacts by always selecting the oldest declaration.
Determines profile activation based on the operating system of the current runtime platform.
Deprecated.
Apply multiple filters, accepting an artifact if at least one of the filters accepts it.
Specifies the organization that produces this project.
Builder class used to create Organization instances.
Condition that tests the OS type.
Occurs when ranges exclude each other and no valid value remains.
Class ParamdocXpp3Reader.
Class ParamdocXpp3Writer.
Used to configure your Mojo parameters to be injected by
MavenPluginManager.getConfiguredMojo(...)
.The
<parent>
element contains information required to locate the parent project from which
this project will inherit from.Builder class used to create Parent instances.
Path tool contains static methods to assist in determining path-related information such as relative paths.
Deprecated.
Resolves relative paths against a specific base directory.
Deprecated.
Definition of include or exclude patterns.
Builder class used to create PatternSet instances.
The
<toolchains>
element is the root of the descriptor.Builder class used to create PersistedToolchains instances.
A phase mapping definition.
Builder class used to create Phase instances.
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
PlexusBeanConverter
Module
that converts Plexus XML configuration into beans.The
<plugin>
element contains informations required for a plugin.Deprecated.
Builder class used to create Plugin instances.
PluginArtifact
Caches plugin artifacts.
CacheRecord
A cache key.
Contains the plugins management informations for the project.
Builder class used to create PluginConfiguration instances.
Handles expansion of general build plugin configuration into individual executions.
Contains the plugins informations for the project.
Builder class used to create PluginContainer instances.
Exception which occurs to indicate that the plugin cannot be initialized due
to some deeper problem with Plexus.
Assists in resolving the dependencies of a plugin.
Caches raw plugin descriptors.
A cache key.
The
<execution>
element contains informations required for the
execution of a plugin.Builder class used to create PluginExecution instances.
Exception in the plugin manager.
Signals a plugin which is not compatible with the current Maven runtime.
Signifies a failure to load a plugin.
Section for management of default plugin information for use in a group of POMs.
Builder class used to create PluginManagement instances.
Handles injection of plugin management into the model.
Deprecated.
Exception in the plugin manager.
Exception occurring trying to resolve a plugin.
PluginParameterException
Evaluator for plugin parameters expressions.
Evaluator for plugin parameters expressions.
Collects settings required to resolve a plugin prefix.
Resolves a plugin prefix.
Describes the result of a plugin prefix resolution request.
Caches plugin class realms.
CacheRecord
A cache key.
Exception occurring trying to resolve a plugin.
Maven G level metadata generator factory.
PluginVersionNotFoundException
Collects settings required to resolve the version for a plugin.
PluginVersionResolutionException
Resolves a version for a plugin.
Describes the result of a plugin version resolution request.
pom
artifact handler provider.Strategy to collect projects for building when the Maven invocation is not in a directory that contains a pom.xml.
pom
packaging plugins bindings provider for default
lifecycle.Describes the prerequisites a project can have.
Builder class used to create Prerequisites instances.
Implementation of XMLWriter which emits nicely formatted documents.
Describes a problem that was encountered during settings building.
The different severity levels for a problem, in decreasing order.
Collects problems that are encountered during settings building.
Modifications to the build process which is activated based on environmental
parameters or command line arguments.
Modifications to the build process which is keyed on some
sort of environmental parameter.
Modifications to the build process which is keyed on
some
sort of environmental parameter.
Builder class used to create Profile instances.
Builder class used to create Profile instances.
Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the
build if those profiles do not exist.
Describes the environmental context used to determine the activation status of profiles.
Deprecated.
Finds an absolute path for
ActivationFile.getExists()
or ActivationFile.getMissing()
Determines whether a profile should be activated.
Deprecated.
Handles profile injection into the model.
Deprecated.
Deprecated.
Calculates the active profiles among a given collection of profiles.
Root element of the profiles.xml file.
Class ProfilesXpp3Reader.
Class ProfilesXpp3Writer.
Interface representing a Maven project.
Container for storing the request from the user to activate or deactivate certain projects and optionally fail the
build if those projects do not exist.
ProjectArtifact
Component interface responsible for creation of MavenProject#dependencyArtifacts instances.
Attach a POM to an artifact.
Caches project artifacts.
CacheRecord
A cache key.
Builds in-memory descriptions of projects.
Deprecated.
use
ProjectBuildingRequest
insteadThe Exception class throw by the
ProjectBuilder
service.Request used to build a
Project
using
the ProjectBuilder
service.Result of a project build call.
Exception which occurs when a normal (i.e.
Assists the project builder.
ProjectBuildingRequest
The possible merge modes for combining remote repositories.
Collects the output of the project builder.
A list of project segments, ordered so that all ProjectSegments from first TaskSegment come before any
subsequent TaskSegments.
Describes strategies for finding projects that Maven could build.
Resolves the transitive dependencies of a project.
Deprecated.
As of 3.2.2, and there is no direct replacement.
Describes the interdependencies between projects in the reactor.
Encapsulates parameters of ProjectExecutionListener callback methods and is meant to provide API evolution path
should it become necessary to introduce new parameters in the existing callbacks in the future.
Extension point that allows build extensions observe and possibly veto project build execution.
Provides the positional index of the project
Interface to manage the project during its lifecycle.
A model resolver to assist building of projects.
Caches project class realms.
CacheRecord
A cache key.
A build context that matches a Maven project to a given task segment, and the session to be used.
Utility class to extract
MavenProject
from the project graph during the execution phase based on optional or
required selectors.ProjectSorter
Facade to select projects for a given set of pom.xml files.
Deprecated.
Service used to interact with the end user.
The Exception class throw by the
Prompter
service.Determines profile activation based on the existence or value of some execution property.
Static methods to create Properties loaded from various sources.
A type implemented by, or extended by maven itself.
The
<proxy>
element contains informations required to a proxy settings.Proxy
Builder class used to create Proxy instances.
rar
artifact handler provider.rar
packaging plugins bindings provider for default
lifecycle.Implementation of
InputStreamFacade
for raw input streams.Contains status information that is global to an entire reactor build.
Context that is fixed for the entire reactor build.
Will apply the version if the dependency is part of the reactor
Deprecated.
Utility to create Readers from streams, with explicit encoding choice: platform default, XML, or specified.
Print warnings if read-only parameters of a plugin are used in configuration.
Operations on a class' fields and their setters.
Using simple dotted expressions to extract the values from an Object instance, For example we might want to extract a
value like:
project.build.sourceDirectory
Utility class used to instantiate an object using reflection.
Exception indicating that an error has occurred while instantiating a class with the Reflector class.
Deprecated.
Remove relativePath element, has no value for consumer pom
Change the version
RELEASE
to the appropriate release version from the remote repository.Describes where an artifact has moved to.
Builder class used to create Relocation instances.
A remote repository that can be used to download or upload artifacts.
Handles expansion of general report plugin configuration into individual report sets.
Section for management of reports and their configuration.
Builder class used to create Reporting instances.
Deprecated.
since maven 4.0, this interface is not used anymore and is only here for compatibility
The
<plugin>
element in <reporting><plugins>
contains informations required for a report plugin.Builder class used to create ReportPlugin instances.
Represents a set of reports and configuration to be used to generate them.
Builder class used to create ReportSet instances.
A repository contains the information needed for establishing connections with
remote repository.
A repository holds artifacts.
Repository contains the information needed for establishing
connections with remote repository
Repository contains the information needed for
establishing connections with remote repository
.
Builder class used to create Repository instances.
Builder class used to create Repository instances.
A repository contains the information needed for establishing connections with
remote repository.
Repository contains the information needed
for establishing connections with remote repository
Repository contains the information needed
for establishing connections with remote repository
.
Builder class used to create RepositoryBase instances.
Builder class used to create RepositoryBase instances.
Deprecated.
Factory service to create
LocalRepository
or RemoteRepository
objects.Describes repository directory metadata.
Error while deploying repository metadata.
Error while installing repository metadata.
RepositoryMetadataManager
Problem storing the repository metadata in the local repository.
Error while retrieving repository metadata from the repository.
Problem storing the repository metadata in the local repository.
Download policy.
Download policy
Download policy.
Builder class used to create RepositoryPolicy instances.
Builder class used to create RepositoryPolicy instances.
Collects basic settings to access the repository system.
Component interface that allows per-project customization of Aether repository system sessions.
Warning: This is an internal utility class that is only public for technical reasons, it is not part
of the public API.
Strategy to collect projects based on the
-f
CLI parameter or the pom.xml in the working directory.Describes a component requirement.
Deprecated.
ResolutionGroup
Listens to the resolution process and handles events.
Deprecated.
ResolutionNode
Dependencies resolution scopes available before
mojo execution.
Resolve relative file path against the given base directory
This element describes all of the classpath resources associated with a project
or unit tests.
Builder class used to create Resource instances.
Describes a restriction in versioning.
There are various forms of results that are represented by this class:
success - in which case only the model field is set
success with warnings - model field + non-error model problems
error - no model, but diagnostics
error - (partial) model and diagnostics
Could encode these variants as subclasses, but kept in one for now
Deprecated.
Use
RuntimeInformation
instead.Provides information about the current Maven runtime.
Scan a directory tree for files, with specified inclusions and exclusions.
The
<scm>
element contains informations required to the SCM
(Source Control Management) of the project.Builder class used to create Scm instances.
Scope for a dependency
Filter to only retain objects in the given artifactScope or better.
This is a utility class used by selectors and DirectoryScanner.
Write to an MXSerializer.
The
<server>
element contains informations required to a server settings.Builder class used to create Server instances.
Marker interface for all services provided by the
Session
.The session to install / deploy / resolve artifacts and dependencies.
A container for data that is specific to a session.
SessionScope
A provider wrapping an existing provider with a cache
ScopeState
Indicates that annotated component should be instantiated before session execution starts
and discarded after session execution completes.
SessionScopeModule
Root element of the user configuration file.
Builder class used to create Settings instances.
Builds the effective settings from a user settings file and/or a global settings file.
Builds the effective settings from a user settings file and/or a global settings file.
The Exception class throw by the
SettingsBuilder
.Collects settings that control the building of effective settings.
Signals one ore more errors during settings building.
Collects settings that control the building of effective settings.
Collects the output of the settings builder.
If there was an error in the settings file.
Decrypts passwords in the settings.
Collects parameters that control the decryption of settings.
Collects the output of the settings decrypter.
Use to compute keys for data structures
Signals a failure to parse the settings due to invalid syntax (e.g.
Describes a problem that was encountered during settings building.
The different severity levels for a problem, in decreasing order.
Collects problems that are encountered during settings building.
Handles deserialization of settings from some kind of textual format like XML.
Deprecated.
instead use
Source
Several convenience methods to handle settings
Several convenience methods to handle settings
Validate a model settings
Handles serialization of settings into some kind of textual format like XML.
SettingsXmlConfigurationProcessor
Reads and writes a
Settings
object to/from XML.Class that abstracts the Shell functionality, with subclasses for shells that behave particularly, like
command.com
cmd.exe
Simple implementation of
Logger
that sends all enabled log messages,
for all defined loggers, to the console (System.err
).This class holds configuration values for
SimpleLogger
.An implementation of
ILoggerFactory
which always returns
SimpleLogger
instances.
A
Builder
encapsulates a strategy for building a set of Maven projects.Contains the information needed for deploying websites.
Builder class used to create Site instances.
site
lifecycle provider.Interface for configuration operations on loggers, which are not available in slf4j, then require per-slf4f-binding
implementation.
Level
Slf4jConfiguration factory, loading implementations from
META-INF/maven/slf4j-configuration.properties
configuration files in class loader: key is the class name of the ILoggerFactory, value is the class name of
the corresponding Slf4jConfiguration.Adapt an SLF4J logger to a Plexus logger, ignoring Plexus logger API parts that are not classical and
probably not really used.
Use an SLF4J
ILoggerFactory
as a backing for a Plexus
LoggerManager
,
ignoring Plexus logger API parts that are not classical and probably not really used.Slf4jMavenTransferListener
Configuration for slf4j-simple.
Snapshot data for the last artifact corresponding to the
SNAPSHOT base version.
Metadata for the artifact version directory of the repository.
Maven GAV level metadata generator factory.
Versioning information for a sub-artifact of the current
snapshot artifact.
The source for a project's XML model.
Provides access to the contents of a source independently of the backing store (e.g.
SLF4J LoggerFactoryBinder implementation using MavenSimpleLogger.
The binding of
MarkerFactory
class with an actual instance of
IMarkerFactory
is performed using information returned by this class.This implementation is bound to
NOPMDCAdapter
.Works in concert with the StreamPumper class to allow implementations to gain access to the lines being "Pumped".
Read from an InputStream and write the output to an OutputStream.
Class to pump the error stream during Process's runtime.
Deprecated.
As of version 1.5.2 this class should no longer be used because it does not properly handle character
encoding.
Deprecated.
instead use
StringSource
Deprecated.
As of version 1.5.2 this class should no longer be used because it does not properly handle character
encoding.
Deprecated.
Deprecated.
instead use
StringSource
Wraps an ordinary
CharSequence
as a source.
Common
String
manipulation routines.StringVisitorModelInterpolator
Provides the super POM that all models implicitly inherit from.
Pools a bunch of objects .
Deprecated.
Deprecated.
Use SLF4J directly
Describes the required task segment as provided on the maven command line; i.e.
test-jar
artifact handler provider.NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
The
ThreadSafe
annotation can be used to indicate a given type
is thread safe.Toolchain interface.
Toolchain interface.
Internal toolchain factory, to prepare toolchains instances.
Service to manage
Toolchain
s.Public API for a toolchain-aware plugin to get expected toolchain instance.
The Exception class throw by the
ToolchainManager
.Component for use by the
maven-toolchains-plugin
only.Definition of a toolchain instance.
Builder class used to create ToolchainModel instances.
a private contract between the toolchains plugin and the components.
Builds the effective toolchains from a user toolchains file and/or a global toolchains file.
Builds the effective toolchains from a user toolchains file and/or a global toolchains file.
Builds the toolchains model from a previously configured filesystem path to the toolchains file.
The Exception class throw by the
ToolchainsBuilder
.Collects toolchains that control the building of effective toolchains.
Collects the output of the toolchains builder.
Signals a failure to parse the toolchains due to invalid syntax (e.g.
Handles deserialization of toolchains from some kind of textual format like XML.
Handles serialization of toolchains into some kind of textual format like XML.
Reads and writes a
PersistedToolchains
object to/from XML.common base class that contains code to track the source for
this instance (USER|GLOBAL)
common base class that contains code to track the source for
this instance (USER|GLOBAL)
Builder class used to create TrackableBase instances.
Builder class used to create TrackableBase instances.
TransferListenerAdapter
Context used to transform a pom file.
The transformerContextBuilder is responsible for initializing the TransformerContext.
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.
An artifact's
Type
represents a known kind of artifacts.Artifact Filter which filters on artifact type
This class provides utility methods to parse
CharSequence
into primitive types and to format primitive
types into StringBuffer
.Access to
Type
registry.Exception which is meant to occur when a layout specified for a particular
repository doesn't have a corresponding
ArtifactRepositoryLayout
component in the current container.Signals an error when resolving the path to an external model.
A simple recording of the Artifacts that could not be resolved for a given resolution request, along with
the remote repositories where attempts were made to resolve the artifacts.
Pseudo-configuration for unsupported slf4j binding.
UpdateCheckManager
Implementation of
InputStreamFacade
for URL's.Deprecated.
instead use
UrlSource
Normalizes a URL to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
model inheritance.
Deprecated.
instead use
UrlSource
Wraps an ordinary
URL
as a source.UserLocalArtifactRepository
A version usually parsed using the
VersionParser
service.Versioning information for "groupId/artifactId" or
"groupId/artifactId/version" SNAPSHOT.
Thrown if a dependency has an invalid version.
Service interface to parse
Version
and VersionRange
.The Exception class thrown by
VersionParser
.A range of versions.
Construct a version range from a specification.
Maven GA level metadata generator factory.
Deprecated.
WagonConfigurationException
Deprecated.
WagonManager
war
artifact handler provider.war
packaging plugins bindings provider for default
lifecycle.Send resolution warning events to the warning log.
Extension point that allows build extensions observe and possibly veto mojo executions.
WorkspaceModelResolver
wrapper
lifecycle provider.Utility to create Writers, with explicit encoding choice: platform default, XML, or specified.
Generic interface to read/write objects to/from XML.
An immutable xml node.
Input location builder interface, to be implemented to choose how to store data.
NOTE: remove all the util code in here when separated, this class should be pure data.
XML Pull Parser is an interface that defines parsing functionality provided in
XMLPULL V1 API (visit this website to learn more about API and its
implementations).
This exception is thrown to signal XML Pull Parser related faults.
Deprecated.
use XmlStreamReader
An exception thrown during the reading of an xml file.
The XmlReaderException is thrown by the XmlReader constructors if the charset encoding can not be determined
according to the XML 1.0 specification and RFC 3023.
An XML reader request.
Define an interface to serialization of XML Infoset.
Character stream that handles (or at least attempts to) all the necessary Voodo to figure out the charset encoding of
the XML document within the stream.
The XmlStreamReaderException is thrown by the XmlStreamReader constructors if the charset encoding can not be
determined according to the XML 1.0 specification and RFC 3023.
Character stream that handles (or at least attempts to) all the necessary Voodo to figure out the charset encoding of
the XML document written to the stream.
Common XML utilities methods.
An exception thrown during the writing of an xml file.
An XML writer request.
Utility class for the
XmlWriter
class.NOTE: remove all the util code in here when separated, this class should be pure data.
Input location builder interface, to be implemented to choose how to store data.
META-INF/maven/extension.xml
to define artifacts exported by Maven core extensions.