Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a(char[]) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append content to the message buffer.
- a(char[], int, int) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append content to the message buffer.
- a(CharSequence) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append content to the message buffer.
- a(CharSequence, int, int) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append content to the message buffer.
- a(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append content to the message buffer.
- accept(NodeVisitor) - Method in interface org.apache.maven.api.Node
-
Traverses this node and potentially its children using the specified visitor.
- addCompileSourceRoot(Project, String) - Method in interface org.apache.maven.api.services.ProjectManager
- addDefaultEntities(boolean) - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- addTestCompileSourceRoot(Project, String) - Method in interface org.apache.maven.api.services.ProjectManager
- aggregator() - Element in annotation type org.apache.maven.api.plugin.annotations.Mojo
-
if the Mojo uses the Maven project and its child modules.
- alias() - Element in annotation type org.apache.maven.api.plugin.annotations.Parameter
-
alias supported to get parameter value.
- artifact(Artifact) - Method in class org.apache.maven.api.services.ProjectBuilderRequest.ProjectBuilderRequestBuilder
- Artifact - Interface in org.apache.maven.api
-
An artifact points to a resource such as a jar file or war application.
- ARTIFACT - Enum constant in enum org.apache.maven.api.MetadataStorage
- ArtifactCoordinate - Interface in org.apache.maven.api
-
The
Coordinate
object is used to point to anArtifact
but the version may be specified as a range instead of an exact version. - ArtifactCoordinateFactory - Interface in org.apache.maven.api.services
-
Service used to create
ArtifactCoordinate
objects. - ArtifactCoordinateFactoryRequest - Interface in org.apache.maven.api.services
-
A request for creating a
ArtifactCoordinate
object. - ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder - Class in org.apache.maven.api.services
- ArtifactDeployer - Interface in org.apache.maven.api.services
-
Deploys
Artifact
s to aRemoteRepository
. - ArtifactDeployerException - Exception in org.apache.maven.api.services
-
An artifact could not correctly being deployed.
- ArtifactDeployerException(String, Exception) - Constructor for exception org.apache.maven.api.services.ArtifactDeployerException
- ArtifactDeployerRequest - Interface in org.apache.maven.api.services
-
A request for deploying one or more artifacts to a remote repository.
- ArtifactDeployerRequest.ArtifactDeployerRequestBuilder - Class in org.apache.maven.api.services
- ArtifactFactory - Interface in org.apache.maven.api.services
-
Service used to create
Artifact
objects. - ArtifactFactoryRequest - Interface in org.apache.maven.api.services
- ArtifactFactoryRequest.ArtifactFactoryRequestBuilder - Class in org.apache.maven.api.services
- artifactId(String) - Method in class org.apache.maven.api.services.ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder
- artifactId(String) - Method in class org.apache.maven.api.services.ArtifactFactoryRequest.ArtifactFactoryRequestBuilder
- artifactId(String) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- ArtifactInstaller - Interface in org.apache.maven.api.services
-
Installs
Artifact
s to the local repository. - ArtifactInstallerException - Exception in org.apache.maven.api.services
- ArtifactInstallerException(String, Exception) - Constructor for exception org.apache.maven.api.services.ArtifactInstallerException
- ArtifactInstallerRequest - Interface in org.apache.maven.api.services
-
A request for installing one or more artifacts in the local repository.
- ArtifactInstallerRequest.ArtifactInstallerRequestBuilder - Class in org.apache.maven.api.services
- ArtifactManager - Interface in org.apache.maven.api.services
- ArtifactResolver - Interface in org.apache.maven.api.services
-
Resolves the artifact, i.e download the file when required and attach it to the artifact
- ArtifactResolverException - Exception in org.apache.maven.api.services
- ArtifactResolverException(String, Exception) - Constructor for exception org.apache.maven.api.services.ArtifactResolverException
- ArtifactResolverRequest - Interface in org.apache.maven.api.services
-
A request for resolving an artifact.
- ArtifactResolverRequest.ArtifactResolverRequestBuilder - Class in org.apache.maven.api.services
- ArtifactResolverResult - Interface in org.apache.maven.api.services
-
The Artifact Result
- artifacts(Collection<Artifact>) - Method in class org.apache.maven.api.services.ArtifactDeployerRequest.ArtifactDeployerRequestBuilder
- artifacts(Collection<Artifact>) - Method in class org.apache.maven.api.services.ArtifactInstallerRequest.ArtifactInstallerRequestBuilder
- asString() - Method in interface org.apache.maven.api.Node
-
Returns a string representation of this dependency node.
- asString() - Method in interface org.apache.maven.api.Version
-
Returns a string representation of this version.
- asString() - Method in interface org.apache.maven.api.VersionRange
-
Returns a string representation of this version range
- attachArtifact(Project, Artifact, Path) - Method in interface org.apache.maven.api.services.ProjectManager
- attachArtifact(Session, Project, String, Path) - Method in interface org.apache.maven.api.services.ProjectManager
- attachArtifact(Session, Project, Path) - Method in interface org.apache.maven.api.services.ProjectManager
B
- build() - Method in class org.apache.maven.api.services.ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder
- build() - Method in class org.apache.maven.api.services.ArtifactDeployerRequest.ArtifactDeployerRequestBuilder
- build() - Method in class org.apache.maven.api.services.ArtifactFactoryRequest.ArtifactFactoryRequestBuilder
- build() - Method in class org.apache.maven.api.services.ArtifactInstallerRequest.ArtifactInstallerRequestBuilder
- build() - Method in class org.apache.maven.api.services.ArtifactResolverRequest.ArtifactResolverRequestBuilder
- build() - Method in class org.apache.maven.api.services.DependencyCollectorRequest.DependencyCollectorRequestBuilder
- build() - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- build() - Method in interface org.apache.maven.api.services.MessageBuilder
-
Return the built message.
- build() - Method in class org.apache.maven.api.services.ProjectBuilderRequest.ProjectBuilderRequestBuilder
- build() - Method in class org.apache.maven.api.services.SettingsBuilderRequest.SettingsBuilderRequestBuilder
- build() - Method in class org.apache.maven.api.services.ToolchainsBuilderRequest.ToolchainsBuilderRequestBuilder
- build() - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- build() - Method in class org.apache.maven.api.services.xml.XmlWriterRequest.XmlWriterRequestBuilder
- build(ProjectBuilderRequest) - Method in interface org.apache.maven.api.services.ProjectBuilder
-
Creates a
Project
from a POM file. - build(SettingsBuilderRequest) - Method in interface org.apache.maven.api.services.SettingsBuilder
-
Builds the effective settings of the specified settings files.
- build(ToolchainsBuilderRequest) - Method in interface org.apache.maven.api.services.ToolchainsBuilder
-
Builds the effective toolchains of the specified toolchains files.
- build(Session, String, String, String, String) - Static method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- build(Session, String, String, String, String) - Static method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- build(Session, String, String, String, String, String, String) - Static method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- build(Session, String, String, String, String, String, String) - Static method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- build(Session, String, String, String, String, String, String) - Static method in interface org.apache.maven.api.services.DependencyCoordinateFactoryRequest
- build(Session, Path) - Method in interface org.apache.maven.api.services.ProjectBuilder
-
Creates a
Project
from a POM file. - build(Session, Path) - Static method in interface org.apache.maven.api.services.ProjectBuilderRequest
- build(Session, Path, Path) - Method in interface org.apache.maven.api.services.SettingsBuilder
-
Builds the effective settings of the specified settings paths.
- build(Session, Path, Path) - Static method in interface org.apache.maven.api.services.SettingsBuilderRequest
- build(Session, Path, Path) - Static method in interface org.apache.maven.api.services.ToolchainsBuilderRequest
- build(Session, Path, Path, Path) - Method in interface org.apache.maven.api.services.SettingsBuilder
-
Builds the effective settings of the specified settings paths.
- build(Session, Path, Path, Path) - Static method in interface org.apache.maven.api.services.SettingsBuilderRequest
- build(Session, Collection<? extends ArtifactCoordinate>) - Static method in interface org.apache.maven.api.services.ArtifactResolverRequest
- build(Session, Collection<Artifact>) - Static method in interface org.apache.maven.api.services.ArtifactInstallerRequest
- build(Session, Artifact) - Static method in interface org.apache.maven.api.services.DependencyCollectorRequest
- build(Session, Artifact) - Method in interface org.apache.maven.api.services.ProjectBuilder
-
Creates a
Project
from an artifact. - build(Session, Artifact) - Static method in interface org.apache.maven.api.services.ProjectBuilderRequest
- build(Session, ArtifactCoordinate) - Static method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- build(Session, ArtifactCoordinate) - Static method in interface org.apache.maven.api.services.DependencyCoordinateFactoryRequest
- build(Session, ArtifactCoordinate) - Method in interface org.apache.maven.api.services.ProjectBuilder
-
Creates a
Project
from a coordinate. - build(Session, ArtifactCoordinate) - Static method in interface org.apache.maven.api.services.ProjectBuilderRequest
- build(Session, Dependency) - Static method in interface org.apache.maven.api.services.DependencyCoordinateFactoryRequest
- build(Session, DependencyCoordinate) - Static method in interface org.apache.maven.api.services.DependencyCollectorRequest
- build(Session, Project) - Static method in interface org.apache.maven.api.services.DependencyCollectorRequest
- build(Session, RemoteRepository, Collection<Artifact>) - Static method in interface org.apache.maven.api.services.ArtifactDeployerRequest
- build(Session, Source) - Method in interface org.apache.maven.api.services.ProjectBuilder
-
Creates a
Project
from a POM file. - build(Session, Source) - Static method in interface org.apache.maven.api.services.ProjectBuilderRequest
- build(Session, Source, Source) - Method in interface org.apache.maven.api.services.SettingsBuilder
-
Builds the effective settings of the specified settings sources.
- build(Session, Source, Source) - Static method in interface org.apache.maven.api.services.SettingsBuilderRequest
- build(Session, Source, Source) - Static method in interface org.apache.maven.api.services.ToolchainsBuilderRequest
- build(Session, Source, Source, Source) - Method in interface org.apache.maven.api.services.SettingsBuilder
-
Builds the effective settings of the specified settings sources.
- build(Session, Source, Source, Source) - Static method in interface org.apache.maven.api.services.SettingsBuilderRequest
- builder() - Static method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- builder() - Static method in interface org.apache.maven.api.services.ArtifactDeployerRequest
- builder() - Static method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- builder() - Static method in interface org.apache.maven.api.services.ArtifactInstallerRequest
- builder() - Static method in interface org.apache.maven.api.services.ArtifactResolverRequest
- builder() - Static method in interface org.apache.maven.api.services.DependencyCollectorRequest
- builder() - Static method in interface org.apache.maven.api.services.DependencyCoordinateFactoryRequest
- builder() - Method in interface org.apache.maven.api.services.MessageBuilderFactory
-
Creates a new message builder.
- builder() - Static method in interface org.apache.maven.api.services.ProjectBuilderRequest
- builder() - Static method in interface org.apache.maven.api.services.SettingsBuilderRequest
- builder() - Static method in interface org.apache.maven.api.services.ToolchainsBuilderRequest
- builder() - Static method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- builder() - Static method in interface org.apache.maven.api.services.xml.XmlWriterRequest
- builder(int) - Method in interface org.apache.maven.api.services.MessageBuilderFactory
-
Creates a new message builder of the specified size.
- builder(StringBuilder) - Method in interface org.apache.maven.api.services.MessageBuilderFactory
-
Creates a new message builder backed by the given string builder.
- BuilderProblem - Interface in org.apache.maven.api.services
-
Describes a problem that was encountered during project building.
- BuilderProblem.Severity - Enum in org.apache.maven.api.services
-
The different severity levels for a problem, in decreasing order.
C
- classifier(String) - Method in class org.apache.maven.api.services.ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder
- classifier(String) - Method in class org.apache.maven.api.services.ArtifactFactoryRequest.ArtifactFactoryRequestBuilder
- classifier(String) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- CLEAN - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- collect(DependencyCollectorRequest) - Method in interface org.apache.maven.api.services.DependencyCollector
-
Collects the transitive dependencies and builds a dependency graph.
- collect(Session, Artifact) - Method in interface org.apache.maven.api.services.DependencyCollector
-
Collects the transitive dependencies of some artifacts and builds a dependency graph.
- collect(Session, DependencyCoordinate) - Method in interface org.apache.maven.api.services.DependencyCollector
-
Collects the transitive dependencies of some artifacts and builds a dependency graph.
- collect(Session, Project) - Method in interface org.apache.maven.api.services.DependencyCollector
-
Collects the transitive dependencies of some artifacts and builds a dependency graph.
- collectDependencies(Artifact) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(DependencyCollector.class).collect(...)
- collectDependencies(DependencyCoordinate) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(DependencyCollector.class).resolve(...)
- collectDependencies(Project) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(DependencyCollector.class).collect(...)
- COMPILE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- COMPILE - Enum constant in enum org.apache.maven.api.ResolutionScope
-
compile
resolution scope =compile
+system
+provided
dependencies - COMPILE - Enum constant in enum org.apache.maven.api.Scope
- COMPILE_PLUS_RUNTIME - Enum constant in enum org.apache.maven.api.ResolutionScope
-
compile+runtime
resolution scope (Maven 3 only) =compile
+system
+provided
+runtime
dependencies - Component - Annotation Type in org.apache.maven.api.plugin.annotations
-
Used to configure injection of Plexus components by
MavenPluginManager.getConfiguredMojo(...)
. - computeIfAbsent(Object, Supplier<Object>) - Method in interface org.apache.maven.api.SessionData
-
Retrieve of compute the data associated with the specified key.
- configurator() - Element in annotation type org.apache.maven.api.plugin.annotations.Mojo
-
configurator bean name.
- contains(Version) - Method in interface org.apache.maven.api.VersionRange
-
Determines whether the specified version is contained within this range.
- content(T) - Method in class org.apache.maven.api.services.xml.XmlWriterRequest.XmlWriterRequestBuilder
- coordinate(ArtifactCoordinate) - Method in class org.apache.maven.api.services.ProjectBuilderRequest.ProjectBuilderRequestBuilder
- coordinates(Collection<? extends ArtifactCoordinate>) - Method in class org.apache.maven.api.services.ArtifactResolverRequest.ArtifactResolverRequestBuilder
- create(ArtifactCoordinateFactoryRequest) - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactory
-
Creates a coordinate.
- create(ArtifactFactoryRequest) - Method in interface org.apache.maven.api.services.ArtifactFactory
-
Creates an artifact.
- create(DependencyCoordinateFactoryRequest) - Method in interface org.apache.maven.api.services.DependencyCoordinateFactory
-
Creates a new
DependencyCoordinate
object from the request. - create(Session, String, String, String, String) - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactory
- create(Session, String, String, String, String) - Method in interface org.apache.maven.api.services.ArtifactFactory
- create(Session, String, String, String, String, String, String) - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactory
- create(Session, String, String, String, String, String, String) - Method in interface org.apache.maven.api.services.ArtifactFactory
- create(Session, Artifact) - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactory
- create(Session, ArtifactCoordinate) - Method in interface org.apache.maven.api.services.DependencyCoordinateFactory
- create(Session, Dependency) - Method in interface org.apache.maven.api.services.DependencyCoordinateFactory
- create(Session, Dependency) - Method in interface org.apache.maven.api.services.DependencyCoordinateFactory
- create(Session, Plugin) - Method in interface org.apache.maven.api.services.DependencyCoordinateFactory
- create(Session, ReportPlugin) - Method in interface org.apache.maven.api.services.DependencyCoordinateFactory
- createArtifact(String, String, String, String) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactFactory.class).create(...)
- createArtifact(String, String, String, String, String, String) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactFactory.class).create(...)
- createArtifactCoordinate(String, String, String, String) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactFactory.class).create(...)
- createArtifactCoordinate(String, String, String, String, String, String) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactFactory.class).create(...)
- createArtifactCoordinate(Artifact) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactFactory.class).create(...)
- createDependencyCoordinate(ArtifactCoordinate) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(DependencyFactory.class).create(...)
- createLocal(Path) - Method in interface org.apache.maven.api.services.RepositoryFactory
- createLocalRepository(Path) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(RepositoryFactory.class).createLocal(...)
- createRemote(String, String) - Method in interface org.apache.maven.api.services.RepositoryFactory
- createRemote(Repository) - Method in interface org.apache.maven.api.services.RepositoryFactory
- createRemoteRepository(String, String) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(RepositoryFactory.class).createRemote(...)
- createRemoteRepository(Repository) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(RepositoryFactory.class).createRemote(...)
- customPhase() - Element in annotation type org.apache.maven.api.plugin.annotations.Execute
-
Custom lifecycle phase to fork.
D
- debug(CharSequence) - Method in interface org.apache.maven.api.plugin.Log
-
Send a message to the user in the debug error level.
- debug(CharSequence, Throwable) - Method in interface org.apache.maven.api.plugin.Log
-
Send a message (and accompanying exception) to the user in the debug error level.
The error's stacktrace will be output when this error level is enabled. - debug(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append message content in debug style.
- debug(Throwable) - Method in interface org.apache.maven.api.plugin.Log
-
Send an exception to the user in the debug error level.
The stack trace for this exception will be output when this error level is enabled. - debug(Supplier<String>) - Method in interface org.apache.maven.api.plugin.Log
- debug(Supplier<String>, Throwable) - Method in interface org.apache.maven.api.plugin.Log
- defaultPhase() - Element in annotation type org.apache.maven.api.plugin.annotations.Mojo
-
default phase to bind your mojo.
- defaultValue() - Element in annotation type org.apache.maven.api.plugin.annotations.Parameter
-
parameter default value, may contain
${...}
expressions which will be interpreted at inject time: see PluginParameterExpressionEvaluator. - dependencies(List<DependencyCoordinate>) - Method in class org.apache.maven.api.services.DependencyCollectorRequest.DependencyCollectorRequestBuilder
-
Sets the direct dependencies.
- dependency(DependencyCoordinate) - Method in class org.apache.maven.api.services.DependencyCollectorRequest.DependencyCollectorRequestBuilder
-
Adds the specified direct dependency.
- Dependency - Interface in org.apache.maven.api
- DependencyCollector - Interface in org.apache.maven.api.services
-
The DependencyCollector service can be used to collect dependencies for a given artifact and builds a graph of them.
- DependencyCollectorException - Exception in org.apache.maven.api.services
-
Thrown in case of bad artifact descriptors, version ranges or other issues encountered during calculation of the dependency graph.
- DependencyCollectorException(String, Throwable) - Constructor for exception org.apache.maven.api.services.DependencyCollectorException
- DependencyCollectorRequest - Interface in org.apache.maven.api.services
-
A request to collect the transitive dependencies and to build a dependency graph from them.
- DependencyCollectorRequest.DependencyCollectorRequestBuilder - Class in org.apache.maven.api.services
- DependencyCollectorResult - Interface in org.apache.maven.api.services
-
The result of a dependency collection request.
- DependencyCoordinate - Interface in org.apache.maven.api
- DependencyCoordinateFactory - Interface in org.apache.maven.api.services
- DependencyCoordinateFactoryRequest - Interface in org.apache.maven.api.services
- DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder - Class in org.apache.maven.api.services
- deploy(ArtifactDeployerRequest) - Method in interface org.apache.maven.api.services.ArtifactDeployer
- deploy(Session, RemoteRepository, Collection<Artifact>) - Method in interface org.apache.maven.api.services.ArtifactDeployer
- DEPLOY - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- deployArtifact(RemoteRepository, Artifact...) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactDeployer.class).deploy(...)
E
- enter(Node) - Method in interface org.apache.maven.api.NodeVisitor
-
Starts the visit to the specified dependency node.
- error(CharSequence) - Method in interface org.apache.maven.api.plugin.Log
-
Send a message to the user in the error error level.
- error(CharSequence, Throwable) - Method in interface org.apache.maven.api.plugin.Log
-
Send a message (and accompanying exception) to the user in the error error level.
The error's stacktrace will be output when this error level is enabled. - error(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append message content in error style.
- error(Throwable) - Method in interface org.apache.maven.api.plugin.Log
-
Send an exception to the user in the error error level.
The stack trace for this exception will be output when this error level is enabled. - error(Supplier<String>) - Method in interface org.apache.maven.api.plugin.Log
- error(Supplier<String>, Throwable) - Method in interface org.apache.maven.api.plugin.Log
- ERROR - Enum constant in enum org.apache.maven.api.services.BuilderProblem.Severity
- Event - Interface in org.apache.maven.api
-
Event sent by maven during various phases of the build process.
- EventType - Enum in org.apache.maven.api
-
The possible types of execution events.
- exclusion(Exclusion) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- Exclusion - Interface in org.apache.maven.api
-
A dependency exlusion.
- exclusions(Collection<Exclusion>) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- execute() - Method in interface org.apache.maven.api.plugin.Mojo
-
Perform whatever build-process behavior this
Mojo
implements.
This is the main trigger for theMojo
inside theMaven
system, and allows theMojo
to communicate errors. - Execute - Annotation Type in org.apache.maven.api.plugin.annotations
-
Used if your Mojo needs to fork a lifecycle.
- extension(String) - Method in class org.apache.maven.api.services.ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder
- extension(String) - Method in class org.apache.maven.api.services.ArtifactFactoryRequest.ArtifactFactoryRequestBuilder
- extension(String) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
F
- failure(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append message content in failure style.
- FATAL - Enum constant in enum org.apache.maven.api.services.BuilderProblem.Severity
- filter(Predicate<Node>) - Method in interface org.apache.maven.api.Node
-
Returns a new tree starting at this node, filtering the children.
- findTool(String) - Method in interface org.apache.maven.api.Toolchain
-
Gets the platform tool executable.
- FORK_FAILED - Enum constant in enum org.apache.maven.api.EventType
- FORK_STARTED - Enum constant in enum org.apache.maven.api.EventType
- FORK_SUCCEEDED - Enum constant in enum org.apache.maven.api.EventType
- FORKED_PROJECT_FAILED - Enum constant in enum org.apache.maven.api.EventType
- FORKED_PROJECT_STARTED - Enum constant in enum org.apache.maven.api.EventType
- FORKED_PROJECT_SUCCEEDED - Enum constant in enum org.apache.maven.api.EventType
- format(String, Object...) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append formatted content to the buffer.
- fromString(String) - Static method in enum org.apache.maven.api.ResolutionScope
- fromXmlString(String) - Method in interface org.apache.maven.api.services.xml.XmlFactory
-
Simply parse the given xml string.
G
- GENERATE_RESOURCES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- GENERATE_SOURCES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- GENERATE_TEST_RESOURCES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- GENERATE_TEST_SOURCES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- get(Object) - Method in interface org.apache.maven.api.SessionData
-
Gets the session data associated with the specified key.
- get(String) - Static method in enum org.apache.maven.api.Scope
- get(URI, Path) - Method in interface org.apache.maven.api.services.Transport
-
GETs the source URI content into target (does not have to exist, or will be overwritten if exist).
- getArtifact() - Method in interface org.apache.maven.api.Project
- getArtifact() - Method in interface org.apache.maven.api.services.ProjectBuilderRequest
- getArtifactId() - Method in interface org.apache.maven.api.Artifact
-
The artifactId of the artifact.
- getArtifactId() - Method in interface org.apache.maven.api.ArtifactCoordinate
-
The artifactId of the artifact.
- getArtifactId() - Method in interface org.apache.maven.api.Exclusion
- getArtifactId() - Method in interface org.apache.maven.api.Project
- getArtifactId() - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- getArtifactId() - Method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- getArtifactPath(Artifact) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactManager.class).getPath(...)
- getArtifacts() - Method in interface org.apache.maven.api.services.ArtifactDeployerRequest
- getArtifacts() - Method in interface org.apache.maven.api.services.ArtifactInstallerRequest
- getArtifacts() - Method in interface org.apache.maven.api.services.ArtifactResolverResult
- getAttachedArtifacts(Project) - Method in interface org.apache.maven.api.services.ProjectManager
- getBasedir() - Method in interface org.apache.maven.api.Project
- getBuild() - Method in interface org.apache.maven.api.Project
- getBytes(URI) - Method in interface org.apache.maven.api.services.Transport
-
GETs the source URI content as byte array.
- getChildren() - Method in interface org.apache.maven.api.Node
-
Gets the child nodes of this node.
- getClassifier() - Method in interface org.apache.maven.api.Artifact
-
The classifier of the artifact.
- getClassifier() - Method in interface org.apache.maven.api.ArtifactCoordinate
-
The classifier of the artifact.
- getClassifier() - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- getClassifier() - Method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- getClassifier() - Method in interface org.apache.maven.api.Type
-
Get the classifier associated to the dependency type.
- getCollectedDependencies(Project, ResolutionScope) - Method in interface org.apache.maven.api.services.ProjectManager
- getColumnNumber() - Method in interface org.apache.maven.api.services.BuilderProblem
-
Gets the one-based index of the column containing the problem.
- getCompileSourceRoots(Project) - Method in interface org.apache.maven.api.services.ProjectManager
- getConfiguration() - Method in interface org.apache.maven.api.MojoExecution
- getContent() - Method in interface org.apache.maven.api.services.xml.XmlWriterRequest
- getCoordinate() - Method in interface org.apache.maven.api.services.ProjectBuilderRequest
- getCoordinates() - Method in interface org.apache.maven.api.services.ArtifactResolverRequest
- getData() - Method in interface org.apache.maven.api.Session
- getDegreeOfConcurrency() - Method in interface org.apache.maven.api.Session
- getDependencies() - Method in interface org.apache.maven.api.Project
- getDependencies() - Method in interface org.apache.maven.api.services.DependencyCollectorRequest
- getDependency() - Method in interface org.apache.maven.api.Node
- getDependencyResolverResult() - Method in interface org.apache.maven.api.services.ProjectBuilderResult
-
Gets the result of the dependency resolution for the project.
- getEffectiveSettings() - Method in interface org.apache.maven.api.services.SettingsBuilderResult
-
Gets the assembled settings.
- getEffectiveToolchains() - Method in interface org.apache.maven.api.services.ToolchainsBuilderResult
-
Gets the assembled toolchains.
- getException() - Method in interface org.apache.maven.api.Event
-
Gets the exception that caused the event (if any).
- getException() - Method in interface org.apache.maven.api.services.BuilderProblem
-
Gets the exception that caused this problem (if any).
- getExceptions() - Method in interface org.apache.maven.api.services.DependencyCollectorResult
-
Gets the exceptions that occurred while building the dependency graph.
- getExclusions() - Method in interface org.apache.maven.api.DependencyCoordinate
- getExclusions() - Method in interface org.apache.maven.api.services.DependencyCoordinateFactoryRequest
- getExecutionId() - Method in interface org.apache.maven.api.MojoExecution
- getExecutionRootDirectory() - Method in interface org.apache.maven.api.Session
-
Deprecated.
- getExtension() - Method in interface org.apache.maven.api.Artifact
-
The file extension of the artifact.
- getExtension() - Method in interface org.apache.maven.api.ArtifactCoordinate
-
The extension of the artifact.
- getExtension() - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- getExtension() - Method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- getExtension() - Method in interface org.apache.maven.api.Type
-
Get the file extension associated to the file represented by the dependency type.
- getGlobalSettingsPath() - Method in interface org.apache.maven.api.services.SettingsBuilderRequest
-
Gets the global settings path.
- getGlobalSettingsSource() - Method in interface org.apache.maven.api.services.SettingsBuilderRequest
-
Gets the global settings source.
- getGlobalToolchainsPath() - Method in interface org.apache.maven.api.services.ToolchainsBuilderRequest
-
Gets the global Toolchains path.
- getGlobalToolchainsSource() - Method in interface org.apache.maven.api.services.ToolchainsBuilderRequest
-
Gets the global Toolchains source.
- getGoal() - Method in interface org.apache.maven.api.MojoExecution
- getGroupId() - Method in interface org.apache.maven.api.Artifact
-
The groupId of the artifact.
- getGroupId() - Method in interface org.apache.maven.api.ArtifactCoordinate
-
The groupId of the artifact.
- getGroupId() - Method in interface org.apache.maven.api.Exclusion
- getGroupId() - Method in interface org.apache.maven.api.Project
- getGroupId() - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- getGroupId() - Method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- getId() - Method in interface org.apache.maven.api.ArtifactCoordinate
-
Unique id identifying this artifact
- getId() - Method in interface org.apache.maven.api.Project
- getId() - Method in interface org.apache.maven.api.Repository
-
Gets the identifier of this repository.
- getInputStream() - Method in interface org.apache.maven.api.services.Source
- getInputStream() - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- getJavaHome() - Method in interface org.apache.maven.api.JavaToolchain
- getLineNumber() - Method in interface org.apache.maven.api.services.BuilderProblem
-
Gets the one-based index of the line containing the problem.
- getListeners() - Method in interface org.apache.maven.api.Session
-
Returns the list of registered listeners.
- getLocalRepository() - Method in interface org.apache.maven.api.Session
- getLocation() - Method in interface org.apache.maven.api.services.BuilderProblem
-
Gets the location of the problem.
- getLocation() - Method in interface org.apache.maven.api.services.Source
- getLocation() - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- getLongMessage() - Method in exception org.apache.maven.api.plugin.MojoException
- getManagedDependencies() - Method in interface org.apache.maven.api.Project
- getManagedDependencies() - Method in interface org.apache.maven.api.services.DependencyCollectorRequest
- getMavenVersion() - Method in interface org.apache.maven.api.Session
-
Returns the current maven version
- getMessage() - Method in interface org.apache.maven.api.services.BuilderProblem
-
Gets the message that describes this problem.
- getModel() - Method in interface org.apache.maven.api.Project
- getModelId() - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- getMojoExecution() - Method in interface org.apache.maven.api.Event
-
Gets the current mojo execution (if any).
- getMultiModuleProjectDirectory() - Method in interface org.apache.maven.api.Session
-
Deprecated.use
Session.getRootDirectory()
instead - getName() - Method in interface org.apache.maven.api.Type
-
Returns the dependency type name.
- getOptional() - Method in interface org.apache.maven.api.DependencyCoordinate
- getOutputStream() - Method in interface org.apache.maven.api.services.xml.XmlWriterRequest
- getPackaging() - Method in interface org.apache.maven.api.Project
- getParent() - Method in interface org.apache.maven.api.Project
- getPath() - Method in interface org.apache.maven.api.LocalRepository
- getPath() - Method in interface org.apache.maven.api.services.ProjectBuilderRequest
- getPath() - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- getPath() - Method in interface org.apache.maven.api.services.xml.XmlWriterRequest
- getPath(Artifact) - Method in interface org.apache.maven.api.services.ArtifactManager
-
Returns the path of the file previously associated to this artifact or
Optional.empty()
if no path has been associated. - getPath(Project) - Method in interface org.apache.maven.api.services.ProjectManager
-
Returns the path to the resolved file in the local repository if the artifact has been resolved.
- getPathForLocalArtifact(Artifact) - Method in interface org.apache.maven.api.Session
- getPathForLocalArtifact(Session, LocalRepository, Artifact) - Method in interface org.apache.maven.api.services.LocalRepositoryManager
- getPathForRemoteArtifact(RemoteRepository, Artifact) - Method in interface org.apache.maven.api.Session
- getPathForRemoteArtifact(Session, LocalRepository, RemoteRepository, Artifact) - Method in interface org.apache.maven.api.services.LocalRepositoryManager
- getPlugin() - Method in interface org.apache.maven.api.MojoExecution
- getPluginContext(Project) - Method in interface org.apache.maven.api.Session
-
Returns the plugin context for mojo being executed and the specified
Project
, never returnsnull
as if context not present, creates it. - getPomFile() - Method in interface org.apache.maven.api.services.ProjectBuilderResult
-
Gets the POM file from which the project was built.
- getPomPath() - Method in interface org.apache.maven.api.Project
-
Returns the path to the pom file for this project.
- getProblems() - Method in interface org.apache.maven.api.services.ProjectBuilderResult
-
Gets the problems that were encountered during the project building.
- getProblems() - Method in interface org.apache.maven.api.services.SettingsBuilderResult
-
Gets the problems that were encountered during the settings building.
- getProblems() - Method in interface org.apache.maven.api.services.ToolchainsBuilderResult
-
Gets the problems that were encountered during the settings building.
- getProject() - Method in interface org.apache.maven.api.Event
-
Gets the current project (if any).
- getProject() - Method in interface org.apache.maven.api.services.ProjectBuilderResult
-
Gets the project that was built.
- getProjectId() - Method in interface org.apache.maven.api.services.ProjectBuilderResult
-
Gets the identifier of the project that could not be built.
- getProjects() - Method in interface org.apache.maven.api.Session
- getProjectSettingsPath() - Method in interface org.apache.maven.api.services.SettingsBuilderRequest
-
Gets the project settings path.
- getProjectSettingsSource() - Method in interface org.apache.maven.api.services.SettingsBuilderRequest
-
Gets the project settings source.
- getProtocol() - Method in interface org.apache.maven.api.RemoteRepository
- getReader() - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- getRemotePluginRepositories() - Method in interface org.apache.maven.api.Project
- getRemoteProjectRepositories() - Method in interface org.apache.maven.api.Project
- getRemoteRepositories() - Method in interface org.apache.maven.api.Node
- getRemoteRepositories() - Method in interface org.apache.maven.api.Session
- getRepositories(Project) - Method in interface org.apache.maven.api.services.ProjectManager
- getRepository() - Method in interface org.apache.maven.api.Node
-
The repository where this artifact has been downloaded from.
- getRepository() - Method in interface org.apache.maven.api.services.ArtifactDeployerRequest
- getResolvedDependencies(Project, ResolutionScope) - Method in interface org.apache.maven.api.services.ProjectManager
- getRetryFailedDeploymentCount() - Method in interface org.apache.maven.api.services.ArtifactDeployerRequest
- getRoot() - Method in interface org.apache.maven.api.services.DependencyCollectorRequest
- getRoot() - Method in interface org.apache.maven.api.services.DependencyCollectorResult
-
Gets the root node of the dependency graph.
- getRootArtifact() - Method in interface org.apache.maven.api.services.DependencyCollectorRequest
- getRootDirectory() - Method in interface org.apache.maven.api.Project
-
Gets the root directory of the project, which is the parent directory containing the
.mvn
directory or flagged withroot="true"
. - getRootDirectory() - Method in interface org.apache.maven.api.Session
-
Gets the root directory of the session, which is the root directory for the top directory project.
- getScope() - Method in interface org.apache.maven.api.Dependency
- getScope() - Method in interface org.apache.maven.api.DependencyCoordinate
- getScope() - Method in interface org.apache.maven.api.services.DependencyCoordinateFactoryRequest
- getService(Class<T>) - Method in interface org.apache.maven.api.Session
-
Retrieves the service for the interface
- getSession() - Method in interface org.apache.maven.api.Event
-
Gets the session from which this event originates.
- getSession() - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- getSession() - Method in interface org.apache.maven.api.services.ArtifactDeployerRequest
- getSession() - Method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- getSession() - Method in interface org.apache.maven.api.services.ArtifactInstallerRequest
- getSession() - Method in interface org.apache.maven.api.services.ArtifactResolverRequest
- getSession() - Method in interface org.apache.maven.api.services.DependencyCollectorRequest
- getSession() - Method in interface org.apache.maven.api.services.ProjectBuilderRequest
- getSession() - Method in interface org.apache.maven.api.services.SettingsBuilderRequest
- getSession() - Method in interface org.apache.maven.api.services.ToolchainsBuilderRequest
- getSettings() - Method in interface org.apache.maven.api.Session
- getSeverity() - Method in interface org.apache.maven.api.services.BuilderProblem
-
Gets the severity level of this problem.
- getSource() - Method in exception org.apache.maven.api.plugin.MojoException
- getSource() - Method in interface org.apache.maven.api.services.BuilderProblem
-
Gets the hint about the source of the problem.
- getSource() - Method in interface org.apache.maven.api.services.ProjectBuilderRequest
- getStartTime() - Method in interface org.apache.maven.api.Session
- getString(URI) - Method in interface org.apache.maven.api.services.Transport
-
GETs the source URI content as string using UTF8 charset.
- getString(URI, Charset) - Method in interface org.apache.maven.api.services.Transport
-
GETs the source URI content as string.
- getSuperPom(String) - Method in interface org.apache.maven.api.services.SuperPomProvider
-
Gets the super POM for the specified model version.
- getSystemProperties() - Method in interface org.apache.maven.api.Session
-
Gets the system properties to use for interpolation.
- getTerminalWidth() - Method in interface org.apache.maven.api.services.MessageBuilderFactory
-
Returns the terminal width or
-1
if not supported. - getTestCompileSourceRoots(Project) - Method in interface org.apache.maven.api.services.ProjectManager
- getToolchainFromBuildContext(Session, String) - Method in interface org.apache.maven.api.services.ToolchainManager
- getToolchains(Session, String, Map<String, String>) - Method in interface org.apache.maven.api.services.ToolchainManager
- getToolchainsForType(Session, String) - Method in interface org.apache.maven.api.services.ToolchainManager
- getTopDirectory() - Method in interface org.apache.maven.api.Session
-
Gets the directory of the topmost project being built, usually the current directory or the directory pointed at by the
-f/--file
command line argument. - getTransformer() - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- getType() - Method in interface org.apache.maven.api.Dependency
-
The artifact type.
- getType() - Method in interface org.apache.maven.api.DependencyCoordinate
-
The type of the artifact.
- getType() - Method in interface org.apache.maven.api.Event
-
Gets the type of the event.
- getType() - Method in interface org.apache.maven.api.Repository
-
Gets the type of the repository, for example "default".
- getType() - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- getType() - Method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- getType() - Method in interface org.apache.maven.api.Toolchain
-
get the type of toolchain.
- getType(String) - Method in interface org.apache.maven.api.services.TypeRegistry
-
Obtain the
Type
from the specifiedid
. - getUrl() - Method in interface org.apache.maven.api.RemoteRepository
- getURL() - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- getUserProperties() - Method in interface org.apache.maven.api.Session
-
Gets the user properties to use for interpolation.
- getUserSettingsPath() - Method in interface org.apache.maven.api.services.SettingsBuilderRequest
-
Gets the user settings path.
- getUserSettingsSource() - Method in interface org.apache.maven.api.services.SettingsBuilderRequest
-
Gets the user settings source.
- getUserToolchainsPath() - Method in interface org.apache.maven.api.services.ToolchainsBuilderRequest
-
Gets the user Toolchains path.
- getUserToolchainsSource() - Method in interface org.apache.maven.api.services.ToolchainsBuilderRequest
-
Gets the user Toolchains source.
- getVerbose() - Method in interface org.apache.maven.api.services.DependencyCollectorRequest
- getVersion() - Method in interface org.apache.maven.api.Artifact
-
The version of the artifact.
- getVersion() - Method in interface org.apache.maven.api.ArtifactCoordinate
-
The version of the artifact.
- getVersion() - Method in interface org.apache.maven.api.Project
- getVersion() - Method in interface org.apache.maven.api.services.ArtifactCoordinateFactoryRequest
- getVersion() - Method in interface org.apache.maven.api.services.ArtifactFactoryRequest
- getWriter() - Method in interface org.apache.maven.api.services.xml.XmlWriterRequest
- globalSettingsPath(Path) - Method in class org.apache.maven.api.services.SettingsBuilderRequest.SettingsBuilderRequestBuilder
- globalSettingsSource(Source) - Method in class org.apache.maven.api.services.SettingsBuilderRequest.SettingsBuilderRequestBuilder
- globalToolchainsPath(Path) - Method in class org.apache.maven.api.services.ToolchainsBuilderRequest.ToolchainsBuilderRequestBuilder
- globalToolchainsSource(Source) - Method in class org.apache.maven.api.services.ToolchainsBuilderRequest.ToolchainsBuilderRequestBuilder
- goal() - Element in annotation type org.apache.maven.api.plugin.annotations.Execute
-
Goal to fork.
- GROUP - Enum constant in enum org.apache.maven.api.MetadataStorage
- groupId(String) - Method in class org.apache.maven.api.services.ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder
- groupId(String) - Method in class org.apache.maven.api.services.ArtifactFactoryRequest.ArtifactFactoryRequestBuilder
- groupId(String) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
H
- hint() - Element in annotation type org.apache.maven.api.plugin.annotations.Component
-
hint of the component to inject.
I
- id() - Method in enum org.apache.maven.api.plugin.annotations.InstantiationStrategy
- id() - Method in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- id() - Method in enum org.apache.maven.api.ResolutionScope
- id() - Method in enum org.apache.maven.api.Scope
- IMPORT - Enum constant in enum org.apache.maven.api.Scope
- info(CharSequence) - Method in interface org.apache.maven.api.plugin.Log
-
Send a message to the user in the info error level.
- info(CharSequence, Throwable) - Method in interface org.apache.maven.api.plugin.Log
-
Send a message (and accompanying exception) to the user in the info error level.
The error's stacktrace will be output when this error level is enabled. - info(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append message content in info style.
- info(Throwable) - Method in interface org.apache.maven.api.plugin.Log
-
Send an exception to the user in the info error level.
The stack trace for this exception will be output when this error level is enabled. - info(Supplier<String>) - Method in interface org.apache.maven.api.plugin.Log
- info(Supplier<String>, Throwable) - Method in interface org.apache.maven.api.plugin.Log
- INITIALIZE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- inputStream(InputStream) - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- install(ArtifactInstallerRequest) - Method in interface org.apache.maven.api.services.ArtifactInstaller
- install(Session, Collection<Artifact>) - Method in interface org.apache.maven.api.services.ArtifactInstaller
- install(Session, Artifact) - Method in interface org.apache.maven.api.services.ArtifactInstaller
- INSTALL - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- installArtifacts(Collection<Artifact>) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactInstaller.class).install(...)
- installArtifacts(Artifact...) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactInstaller.class).install(...)
- instantiationStrategy() - Element in annotation type org.apache.maven.api.plugin.annotations.Mojo
-
your Mojo instantiation strategy.
- InstantiationStrategy - Enum in org.apache.maven.api.plugin.annotations
-
Component instantiation strategy.
- INTEGRATION_TEST - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- isAddDefaultEntities() - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- isAddedToClasspath() - Method in interface org.apache.maven.api.Type
- isAllowStubModel() - Method in interface org.apache.maven.api.services.ProjectBuilderRequest
- isColorEnabled() - Method in interface org.apache.maven.api.services.MessageBuilderFactory
-
Checks if the underlying output does support styling or not.
- isDebugEnabled() - Method in interface org.apache.maven.api.plugin.Log
- isErrorEnabled() - Method in interface org.apache.maven.api.plugin.Log
- isExecutionRoot() - Method in interface org.apache.maven.api.Project
-
Deprecated.use
Project.isTopProject()
instead - isIncludesDependencies() - Method in interface org.apache.maven.api.Type
- isInfoEnabled() - Method in interface org.apache.maven.api.plugin.Log
- isOptional() - Method in interface org.apache.maven.api.Dependency
- isOptional() - Method in interface org.apache.maven.api.services.DependencyCoordinateFactoryRequest
- isProcessPlugins() - Method in interface org.apache.maven.api.services.ProjectBuilderRequest
- isRecursive() - Method in interface org.apache.maven.api.services.ProjectBuilderRequest
- isResolveDependencies() - Method in interface org.apache.maven.api.services.ProjectBuilderRequest
- isRootProject() - Method in interface org.apache.maven.api.Project
-
Returns a boolean indicating if the project is a root project, meaning that the
Project.getRootDirectory()
andProject.getBasedir()
points to the same directory, and that eitherModel.isRoot()
istrue
or thatbasedir
contains a.mvn
child directory. - isSnapshot() - Method in interface org.apache.maven.api.Artifact
-
Determines whether this artifact uses a snapshot version.
- isSnapshot(String) - Method in interface org.apache.maven.api.services.VersionParser
-
Checks whether a given artifact version is considered a
SNAPSHOT
or not. - isStrict() - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest
- isTopProject() - Method in interface org.apache.maven.api.Project
-
Returns a boolean indicating if the project is the top level project for this reactor build.
- isVersionSnapshot(String) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactManager.class).isSnapshot(...)
- isWarnEnabled() - Method in interface org.apache.maven.api.plugin.Log
J
- JAR - Static variable in interface org.apache.maven.api.Type
- JAVA_SOURCE - Static variable in interface org.apache.maven.api.Type
- JAVADOC - Static variable in interface org.apache.maven.api.Type
- JavaToolchain - Interface in org.apache.maven.api
-
A specific
Toolchain
dedicated for Java.
K
- KEEP_ALIVE - Enum constant in enum org.apache.maven.api.plugin.annotations.InstantiationStrategy
- key() - Method in interface org.apache.maven.api.Artifact
-
Returns a unique identifier for this artifact.
L
- leave(Node) - Method in interface org.apache.maven.api.NodeVisitor
-
Ends the visit to the specified dependency node.
- lifecycle() - Element in annotation type org.apache.maven.api.plugin.annotations.Execute
-
Lifecycle id of the lifecycle that defines
Execute.phase()
. - LifecyclePhase - Enum in org.apache.maven.api.plugin.annotations
- Listener - Interface in org.apache.maven.api
-
A listener for session events.
- LocalRepository - Interface in org.apache.maven.api
-
The local repository is used to cache artifacts downloaded from
RemoteRepository
and to hold artifacts that have been build locally. - LocalRepositoryManager - Interface in org.apache.maven.api.services
- location(String) - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- Log - Interface in org.apache.maven.api.plugin
-
This interface supplies the API for providing feedback to the user from the
Mojo
, using standardMaven
channels.
There should be no big surprises here, although you may notice that the methods acceptjava.lang.CharSequence
rather thanjava.lang.String
. - longMessage - Variable in exception org.apache.maven.api.plugin.MojoException
- lookup(Class<T>) - Method in interface org.apache.maven.api.services.Lookup
- lookup(Class<T>, String) - Method in interface org.apache.maven.api.services.Lookup
- Lookup - Interface in org.apache.maven.api.services
- LookupException - Exception in org.apache.maven.api.services
-
The Exception class throw by the
Lookup
service. - LookupException(Exception) - Constructor for exception org.apache.maven.api.services.LookupException
- LookupException(String, Exception) - Constructor for exception org.apache.maven.api.services.LookupException
- lookupList(Class<T>) - Method in interface org.apache.maven.api.services.Lookup
- lookupMap(Class<T>) - Method in interface org.apache.maven.api.services.Lookup
M
- managedDependencies(List<DependencyCoordinate>) - Method in class org.apache.maven.api.services.DependencyCollectorRequest.DependencyCollectorRequestBuilder
-
Sets the dependency management to apply to transitive dependencies.
- managedDependency(DependencyCoordinate) - Method in class org.apache.maven.api.services.DependencyCollectorRequest.DependencyCollectorRequestBuilder
-
Adds the specified managed dependency.
- matchesRequirements(Map<String, String>) - Method in interface org.apache.maven.api.Toolchain
-
Let the toolchain decide if it matches requirements defined in the toolchain plugin configuration.
- MAVEN_PLUGIN - Static variable in interface org.apache.maven.api.Type
- MavenException - Exception in org.apache.maven.api.services
-
Base class for all maven exceptions.
- MavenException() - Constructor for exception org.apache.maven.api.services.MavenException
- MavenException(String) - Constructor for exception org.apache.maven.api.services.MavenException
- MavenException(String, Throwable) - Constructor for exception org.apache.maven.api.services.MavenException
- MavenException(Throwable) - Constructor for exception org.apache.maven.api.services.MavenException
- MessageBuilder - Interface in org.apache.maven.api.services
-
Message builder that supports configurable styling.
- MessageBuilderFactory - Interface in org.apache.maven.api.services
-
A factory for
MessageBuilder
. - MetadataStorage - Enum in org.apache.maven.api
-
Storage location for metadata
- modelId(String) - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- ModelXmlFactory - Interface in org.apache.maven.api.services.xml
-
Reads or writes a
Model
using XML. - mojo(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append message content in mojo style.
- Mojo - Interface in org.apache.maven.api.plugin
-
This interface forms the contract required for
Mojos
to interact with theMaven
infrastructure.
It features anexecute()
method, which triggers the Mojo's build-process behavior, and can throw a MojoException if error conditions occur. - Mojo - Annotation Type in org.apache.maven.api.plugin.annotations
-
This annotation will mark your class as a Mojo (ie.
- MOJO_FAILED - Enum constant in enum org.apache.maven.api.EventType
- MOJO_SKIPPED - Enum constant in enum org.apache.maven.api.EventType
- MOJO_STARTED - Enum constant in enum org.apache.maven.api.EventType
- MOJO_SUCCEEDED - Enum constant in enum org.apache.maven.api.EventType
- MojoException - Exception in org.apache.maven.api.plugin
-
An exception occurring during the execution of a plugin.
- MojoException(Object, String, String) - Constructor for exception org.apache.maven.api.plugin.MojoException
-
Construct a new
MojoException
exception providing the source and a short and long message: these messages are used to improve the message written at the end of Maven build. - MojoException(String) - Constructor for exception org.apache.maven.api.plugin.MojoException
-
Construct a new
MojoExecutionException
exception providing amessage
. - MojoException(String, Throwable) - Constructor for exception org.apache.maven.api.plugin.MojoException
-
Construct a new
MojoExecutionException
exception wrapping an underlyingThrowable
and providing amessage
. - MojoException(Throwable) - Constructor for exception org.apache.maven.api.plugin.MojoException
-
Constructs a new
MojoExecutionException
exception wrapping an underlyingThrowable
. - MojoExecution - Interface in org.apache.maven.api
-
A
MojoExecution
N
- name() - Element in annotation type org.apache.maven.api.plugin.annotations.Mojo
-
goal name (required).
- name() - Element in annotation type org.apache.maven.api.plugin.annotations.Parameter
-
name of the bean property used to get/set the field: by default, field name is used.
- newline() - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append newline to the message buffer.
- Node - Interface in org.apache.maven.api
-
Represents a dependency node within a Maven project's dependency collector.
- NodeVisitor - Interface in org.apache.maven.api
-
Defines a hierarchical visitor for collecting dependency node trees.
- NONE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- NONE - Enum constant in enum org.apache.maven.api.ResolutionScope
-
empty resolution scope
O
- onEvent(Event) - Method in interface org.apache.maven.api.Listener
- optional(boolean) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- org.apache.maven.api - package org.apache.maven.api
- org.apache.maven.api.plugin - package org.apache.maven.api.plugin
- org.apache.maven.api.plugin.annotations - package org.apache.maven.api.plugin.annotations
- org.apache.maven.api.services - package org.apache.maven.api.services
- org.apache.maven.api.services.xml - package org.apache.maven.api.services.xml
- outputStream(OutputStream) - Method in class org.apache.maven.api.services.xml.XmlWriterRequest.XmlWriterRequestBuilder
P
- PACKAGE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- Parameter - Annotation Type in org.apache.maven.api.plugin.annotations
-
Used to configure your Mojo parameters to be injected by
MavenPluginManager.getConfiguredMojo(...)
. - parseVersion(String) - Method in interface org.apache.maven.api.services.VersionParser
-
Parses the specified version string, for example "1.0".
- parseVersion(String) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(VersionParser.class).parseVersion(...)
- parseVersionRange(String) - Method in interface org.apache.maven.api.services.VersionParser
-
Parses the specified version range specification, for example "[1.0,2.0)".
- parseVersionRange(String) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(VersionParser.class).parseVersionRange(...)
- path(Path) - Method in class org.apache.maven.api.services.ProjectBuilderRequest.ProjectBuilderRequestBuilder
- path(Path) - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- path(Path) - Method in class org.apache.maven.api.services.xml.XmlWriterRequest.XmlWriterRequestBuilder
- PER_LOOKUP - Enum constant in enum org.apache.maven.api.plugin.annotations.InstantiationStrategy
- phase() - Element in annotation type org.apache.maven.api.plugin.annotations.Execute
-
Lifecycle phase to fork.
- POM - Static variable in interface org.apache.maven.api.Type
- POOLABLE - Enum constant in enum org.apache.maven.api.plugin.annotations.InstantiationStrategy
- POST_CLEAN - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- POST_INTEGRATION_TEST - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- POST_SITE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PRE_CLEAN - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PRE_INTEGRATION_TEST - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PRE_SITE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PREPARE_PACKAGE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PROCESS_CLASSES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PROCESS_RESOURCES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PROCESS_SOURCES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PROCESS_TEST_CLASSES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PROCESS_TEST_RESOURCES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- PROCESS_TEST_SOURCES - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- processPlugins(boolean) - Method in class org.apache.maven.api.services.ProjectBuilderRequest.ProjectBuilderRequestBuilder
- project(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append message content in project style.
- Project - Interface in org.apache.maven.api
-
Interface representing a Maven project.
- PROJECT_DISCOVERY_STARTED - Enum constant in enum org.apache.maven.api.EventType
- PROJECT_FAILED - Enum constant in enum org.apache.maven.api.EventType
- PROJECT_SKIPPED - Enum constant in enum org.apache.maven.api.EventType
- PROJECT_STARTED - Enum constant in enum org.apache.maven.api.EventType
- PROJECT_SUCCEEDED - Enum constant in enum org.apache.maven.api.EventType
- ProjectBuilder - Interface in org.apache.maven.api.services
- ProjectBuilderException - Exception in org.apache.maven.api.services
-
The Exception class throw by the
ProjectBuilder
service. - ProjectBuilderException(String, Exception) - Constructor for exception org.apache.maven.api.services.ProjectBuilderException
- ProjectBuilderRequest - Interface in org.apache.maven.api.services
-
Request used to build a
Project
using theProjectBuilder
service. - ProjectBuilderRequest.ProjectBuilderRequestBuilder - Class in org.apache.maven.api.services
- ProjectBuilderResult - Interface in org.apache.maven.api.services
-
Result of a project build call.
- ProjectManager - Interface in org.apache.maven.api.services
-
Interface to manage the project during its lifecycle.
- projectSettingsPath(Path) - Method in class org.apache.maven.api.services.SettingsBuilderRequest.SettingsBuilderRequestBuilder
- projectSettingsSource(Source) - Method in class org.apache.maven.api.services.SettingsBuilderRequest.SettingsBuilderRequestBuilder
- prompt(String) - Method in interface org.apache.maven.api.services.Prompter
-
Prompts the user for a string.
- prompt(String, String) - Method in interface org.apache.maven.api.services.Prompter
-
Prompts the user for a string using a default value.
- prompt(String, List<String>) - Method in interface org.apache.maven.api.services.Prompter
-
Prompts the user for a string using a list of possible values.
- prompt(String, List<String>, String) - Method in interface org.apache.maven.api.services.Prompter
-
Prompts the user for a string using a list of possible values and a default reply.
- Prompter - Interface in org.apache.maven.api.services
-
Service used to interact with the end user.
- PrompterException - Exception in org.apache.maven.api.services
-
The Exception class throw by the
Prompter
service. - PrompterException(String, Exception) - Constructor for exception org.apache.maven.api.services.PrompterException
- promptForPassword(String) - Method in interface org.apache.maven.api.services.Prompter
-
Prompts the user for a password.
- property() - Element in annotation type org.apache.maven.api.plugin.annotations.Parameter
-
Property to use to retrieve a value.
- PROVIDED - Enum constant in enum org.apache.maven.api.Scope
- put(Path, URI) - Method in interface org.apache.maven.api.services.Transport
-
PUTs the source file (must exist as file) to target URI.
- putBytes(byte[], URI) - Method in interface org.apache.maven.api.services.Transport
-
PUTs the source byte array to target URI.
- putString(String, URI) - Method in interface org.apache.maven.api.services.Transport
-
PUTs the source string using UTF8 charset to target URI.
- putString(String, Charset, URI) - Method in interface org.apache.maven.api.services.Transport
-
PUTs the source string to target URI.
R
- read(InputStream) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- read(InputStream, boolean) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- read(Reader) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- read(Reader, boolean) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- read(Path) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- read(Path, boolean) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- read(XmlReaderRequest) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- reader(Reader) - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- readonly() - Element in annotation type org.apache.maven.api.plugin.annotations.Parameter
-
Specifies that this parameter cannot be configured directly by the user (as in the case of POM-specified configuration).
- registerListener(Listener) - Method in interface org.apache.maven.api.Session
-
Register the given listener which will receive all events.
- RemoteRepository - Interface in org.apache.maven.api
-
A remote repository that can be used to download or upload artifacts.
- repository(RemoteRepository) - Method in class org.apache.maven.api.services.ArtifactDeployerRequest.ArtifactDeployerRequestBuilder
- Repository - Interface in org.apache.maven.api
-
A repository holds artifacts.
- RepositoryFactory - Interface in org.apache.maven.api.services
-
Factory service to create
LocalRepository
orRemoteRepository
objects. - required() - Element in annotation type org.apache.maven.api.plugin.annotations.Parameter
-
is the parameter required?
- requiresDependencyCollection() - Element in annotation type org.apache.maven.api.plugin.annotations.Mojo
-
the required dependency collection scope.
- requiresDependencyResolution() - Element in annotation type org.apache.maven.api.plugin.annotations.Mojo
-
the required dependency resolution scope.
- requiresOnline() - Element in annotation type org.apache.maven.api.plugin.annotations.Mojo
-
does this Mojo need to be online to be executed?
- requiresProject() - Element in annotation type org.apache.maven.api.plugin.annotations.Mojo
-
does your mojo requires a project to be executed?
- ResolutionScope - Enum in org.apache.maven.api
-
Dependencies resolution scopes available before mojo execution.
- resolve(ArtifactResolverRequest) - Method in interface org.apache.maven.api.services.ArtifactResolver
- resolve(Session, Collection<? extends ArtifactCoordinate>) - Method in interface org.apache.maven.api.services.ArtifactResolver
- resolveArtifact(Artifact) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactResolver.class).resolve(...)
- resolveArtifact(ArtifactCoordinate) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactResolver.class).resolve(...)
- resolveArtifacts(Collection<? extends ArtifactCoordinate>) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactResolver.class).resolve(...)
- resolveArtifacts(Artifact...) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactResolver.class).resolve(...)
- resolveArtifacts(ArtifactCoordinate...) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactResolver.class).resolve(...)
- resolveDependencies(boolean) - Method in class org.apache.maven.api.services.ProjectBuilderRequest.ProjectBuilderRequestBuilder
- retryFailedDeploymentCount(int) - Method in class org.apache.maven.api.services.ArtifactDeployerRequest.ArtifactDeployerRequestBuilder
- role() - Element in annotation type org.apache.maven.api.plugin.annotations.Component
-
role of the component to inject.
- root(DependencyCoordinate) - Method in class org.apache.maven.api.services.DependencyCollectorRequest.DependencyCollectorRequestBuilder
- rootArtifact(Artifact) - Method in class org.apache.maven.api.services.DependencyCollectorRequest.DependencyCollectorRequestBuilder
-
Sets the root artifact for the dependency graph.
- RUNTIME - Enum constant in enum org.apache.maven.api.ResolutionScope
-
runtime
resolution scope =compile
+runtime
dependencies - RUNTIME - Enum constant in enum org.apache.maven.api.Scope
- RUNTIME_PLUS_SYSTEM - Enum constant in enum org.apache.maven.api.ResolutionScope
-
runtime+system
resolution scope (Maven 3 only) =compile
+system
+runtime
dependencies
S
- scope(String) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- Scope - Enum in org.apache.maven.api
-
Scope for a dependency
- scopes() - Method in enum org.apache.maven.api.ResolutionScope
- Service - Interface in org.apache.maven.api
-
Marker interface for all services provided by the
Session
. - session(Session) - Method in class org.apache.maven.api.services.ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder
- session(Session) - Method in class org.apache.maven.api.services.ArtifactDeployerRequest.ArtifactDeployerRequestBuilder
- session(Session) - Method in class org.apache.maven.api.services.ArtifactFactoryRequest.ArtifactFactoryRequestBuilder
- session(Session) - Method in class org.apache.maven.api.services.ArtifactInstallerRequest.ArtifactInstallerRequestBuilder
- session(Session) - Method in class org.apache.maven.api.services.ArtifactResolverRequest.ArtifactResolverRequestBuilder
- session(Session) - Method in class org.apache.maven.api.services.DependencyCollectorRequest.DependencyCollectorRequestBuilder
- session(Session) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- session(Session) - Method in class org.apache.maven.api.services.ProjectBuilderRequest.ProjectBuilderRequestBuilder
- session(Session) - Method in class org.apache.maven.api.services.SettingsBuilderRequest.SettingsBuilderRequestBuilder
- session(Session) - Method in class org.apache.maven.api.services.ToolchainsBuilderRequest.ToolchainsBuilderRequestBuilder
- Session - Interface in org.apache.maven.api
-
The session to install / deploy / resolve artifacts and dependencies.
- SESSION_ENDED - Enum constant in enum org.apache.maven.api.EventType
- SESSION_STARTED - Enum constant in enum org.apache.maven.api.EventType
- SessionData - Interface in org.apache.maven.api
-
A container for data that is specific to a session.
- set(Object, Object) - Method in interface org.apache.maven.api.SessionData
-
Associates the specified session data with the given key.
- set(Object, Object, Object) - Method in interface org.apache.maven.api.SessionData
-
Associates the specified session data with the given key if the key is currently mapped to the given value.
- setArtifactPath(Artifact, Path) - Method in interface org.apache.maven.api.Session
-
Shortcut for
getService(ArtifactManager.class).setPath(...)
- setPath(Artifact, Path) - Method in interface org.apache.maven.api.services.ArtifactManager
-
Associates the given file path to the artifact.
- setProperty(Project, String, String) - Method in interface org.apache.maven.api.services.ProjectManager
- SettingsBuilder - Interface in org.apache.maven.api.services
-
Builds the effective settings from a user settings file and/or a global settings file.
- SettingsBuilderException - Exception in org.apache.maven.api.services
-
The Exception class throw by the
SettingsBuilder
. - SettingsBuilderException(String, Exception) - Constructor for exception org.apache.maven.api.services.SettingsBuilderException
- SettingsBuilderRequest - Interface in org.apache.maven.api.services
-
Collects settings that control the building of effective settings.
- SettingsBuilderRequest.SettingsBuilderRequestBuilder - Class in org.apache.maven.api.services
- SettingsBuilderRequestBuilder() - Constructor for class org.apache.maven.api.services.SettingsBuilderRequest.SettingsBuilderRequestBuilder
- SettingsBuilderResult - Interface in org.apache.maven.api.services
- SettingsXmlFactory - Interface in org.apache.maven.api.services.xml
-
Reads and writes a
Settings
object to/from XML. - showMessage(String) - Method in interface org.apache.maven.api.services.Prompter
-
Displays a message to the user.
- SINGLETON - Enum constant in enum org.apache.maven.api.plugin.annotations.InstantiationStrategy
- SITE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- SITE_DEPLOY - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- source - Variable in exception org.apache.maven.api.plugin.MojoException
- source(Source) - Method in class org.apache.maven.api.services.ProjectBuilderRequest.ProjectBuilderRequestBuilder
- Source - Interface in org.apache.maven.api.services
-
The source for a project's XML model.
- storeToolchainToBuildContext(Session, Toolchain) - Method in interface org.apache.maven.api.services.ToolchainManager
- stream() - Method in interface org.apache.maven.api.Node
-
Obtain a Stream containing this node and all its descendant.
- strict(boolean) - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- strong(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append message content in strong style.
- success(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append message content in success style.
- SuperPomProvider - Interface in org.apache.maven.api.services
-
Provides the super POM that all models implicitly inherit from.
- SYSTEM - Enum constant in enum org.apache.maven.api.Scope
T
- TEST - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- TEST - Enum constant in enum org.apache.maven.api.ResolutionScope
-
test
resolution scope =compile
+system
+provided
+runtime
+test
dependencies - TEST - Enum constant in enum org.apache.maven.api.Scope
- TEST_COMPILE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- TEST_JAR - Static variable in interface org.apache.maven.api.Type
- toCoordinate() - Method in interface org.apache.maven.api.Artifact
-
Shortcut for
session.createArtifactCoordinate(artifact)
- toCoordinate() - Method in interface org.apache.maven.api.Dependency
-
Creates a
DependencyCoordinate
based on thisDependency
. - Toolchain - Interface in org.apache.maven.api
-
Toolchain interface.
- ToolchainFactory - Interface in org.apache.maven.api.services
- ToolchainManager - Interface in org.apache.maven.api.services
-
Service to manage
Toolchain
s. - ToolchainManagerException - Exception in org.apache.maven.api.services
-
The Exception class throw by the
ToolchainManager
. - ToolchainManagerException(String, Exception) - Constructor for exception org.apache.maven.api.services.ToolchainManagerException
- ToolchainsBuilder - Interface in org.apache.maven.api.services
-
Builds the effective toolchains from a user toolchains file and/or a global toolchains file.
- ToolchainsBuilderException - Exception in org.apache.maven.api.services
-
The Exception class throw by the
ToolchainsBuilder
. - ToolchainsBuilderException(String, Exception) - Constructor for exception org.apache.maven.api.services.ToolchainsBuilderException
- ToolchainsBuilderRequest - Interface in org.apache.maven.api.services
- ToolchainsBuilderRequest.ToolchainsBuilderRequestBuilder - Class in org.apache.maven.api.services
- ToolchainsBuilderRequestBuilder() - Constructor for class org.apache.maven.api.services.ToolchainsBuilderRequest.ToolchainsBuilderRequestBuilder
- ToolchainsBuilderResult - Interface in org.apache.maven.api.services
- ToolchainsXmlFactory - Interface in org.apache.maven.api.services.xml
-
Reads and writes a
PersistedToolchains
object to/from XML. - toXmlString(T) - Method in interface org.apache.maven.api.services.xml.XmlFactory
-
Simply converts the given content to an xml string.
- transform(String, String) - Method in interface org.apache.maven.api.services.xml.XmlReaderRequest.Transformer
-
Interpolate the value read from the xml document
- transformer(XmlReaderRequest.Transformer) - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- transport(Session, RemoteRepository) - Method in interface org.apache.maven.api.services.TransportProvider
-
Provides new
Transport
instance for givenRemoteRepository
, if possible. - Transport - Interface in org.apache.maven.api.services
-
Transport for specified remote repository (using provided remote repository base URI as root).
- TransportProvider - Interface in org.apache.maven.api.services
-
Transporter provider is a service that provides somewhat trivial transport capabilities backed by Maven internals.
- TransportProviderException - Exception in org.apache.maven.api.services
- TransportProviderException(String, Throwable) - Constructor for exception org.apache.maven.api.services.TransportProviderException
- type(String) - Method in class org.apache.maven.api.services.ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder
- type(String) - Method in class org.apache.maven.api.services.ArtifactFactoryRequest.ArtifactFactoryRequestBuilder
- type(String) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- Type - Interface in org.apache.maven.api
-
An artifact's
Type
represents a known kind of artifacts. - TypeRegistry - Interface in org.apache.maven.api.services
-
Access to
Type
registry.
U
- unregisterListener(Listener) - Method in interface org.apache.maven.api.Session
-
Unregisters a previously registered listener.
- url(URL) - Method in class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- userSettingsPath(Path) - Method in class org.apache.maven.api.services.SettingsBuilderRequest.SettingsBuilderRequestBuilder
- userSettingsSource(Source) - Method in class org.apache.maven.api.services.SettingsBuilderRequest.SettingsBuilderRequestBuilder
- userToolchainsPath(Path) - Method in class org.apache.maven.api.services.ToolchainsBuilderRequest.ToolchainsBuilderRequestBuilder
- userToolchainsSource(Source) - Method in class org.apache.maven.api.services.ToolchainsBuilderRequest.ToolchainsBuilderRequestBuilder
V
- VALIDATE - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- valueOf(String) - Static method in enum org.apache.maven.api.EventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.maven.api.MetadataStorage
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.maven.api.plugin.annotations.InstantiationStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.maven.api.ResolutionScope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.maven.api.Scope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.maven.api.services.BuilderProblem.Severity
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.maven.api.EventType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.maven.api.MetadataStorage
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.maven.api.plugin.annotations.InstantiationStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.maven.api.ResolutionScope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.maven.api.Scope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.maven.api.services.BuilderProblem.Severity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verbose(boolean) - Method in class org.apache.maven.api.services.DependencyCollectorRequest.DependencyCollectorRequestBuilder
-
Specifies that the collection should be verbose.
- VERIFY - Enum constant in enum org.apache.maven.api.plugin.annotations.LifecyclePhase
- version(String) - Method in class org.apache.maven.api.services.ArtifactCoordinateFactoryRequest.ArtifactFactoryRequestBuilder
- version(String) - Method in class org.apache.maven.api.services.ArtifactFactoryRequest.ArtifactFactoryRequestBuilder
- version(String) - Method in class org.apache.maven.api.services.DependencyCoordinateFactoryRequest.DependencyCoordinateFactoryRequestBuilder
- Version - Interface in org.apache.maven.api
-
A version usually parsed using the
VersionParser
service. - VERSION - Enum constant in enum org.apache.maven.api.MetadataStorage
- VersionParser - Interface in org.apache.maven.api.services
-
Service interface to parse
Version
andVersionRange
. - VersionParserException - Exception in org.apache.maven.api.services
-
The Exception class thrown by
VersionParser
. - VersionParserException(String, Exception) - Constructor for exception org.apache.maven.api.services.VersionParserException
- VersionRange - Interface in org.apache.maven.api
-
A range of versions.
W
- warn(CharSequence) - Method in interface org.apache.maven.api.plugin.Log
-
Send a message to the user in the warn error level.
- warn(CharSequence, Throwable) - Method in interface org.apache.maven.api.plugin.Log
-
Send a message (and accompanying exception) to the user in the warn error level.
The error's stacktrace will be output when this error level is enabled. - warn(Throwable) - Method in interface org.apache.maven.api.plugin.Log
-
Send an exception to the user in the warn error level.
The stack trace for this exception will be output when this error level is enabled. - warn(Supplier<String>) - Method in interface org.apache.maven.api.plugin.Log
- warn(Supplier<String>, Throwable) - Method in interface org.apache.maven.api.plugin.Log
- warning(Object) - Method in interface org.apache.maven.api.services.MessageBuilder
-
Append message content in warning style.
- WARNING - Enum constant in enum org.apache.maven.api.services.BuilderProblem.Severity
- withLocalRepository(LocalRepository) - Method in interface org.apache.maven.api.Session
-
Creates a derived session using the given local repository.
- withRemoteRepositories(List<RemoteRepository>) - Method in interface org.apache.maven.api.Session
-
Creates a derived session using the given remote repositories.
- write(XmlWriterRequest<T>) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- write(T, OutputStream) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- write(T, Writer) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- write(T, Path) - Method in interface org.apache.maven.api.services.xml.XmlFactory
- writer(Writer) - Method in class org.apache.maven.api.services.xml.XmlWriterRequest.XmlWriterRequestBuilder
X
- XmlFactory<T> - Interface in org.apache.maven.api.services.xml
-
Generic interface to read/write objects to/from XML.
- XmlReaderException - Exception in org.apache.maven.api.services.xml
-
An exception thrown during the reading of an xml file.
- XmlReaderException(String, Exception) - Constructor for exception org.apache.maven.api.services.xml.XmlReaderException
- XmlReaderRequest - Interface in org.apache.maven.api.services.xml
-
An XML reader request.
- XmlReaderRequest.Transformer - Interface in org.apache.maven.api.services.xml
- XmlReaderRequest.XmlReaderRequestBuilder - Class in org.apache.maven.api.services.xml
- XmlReaderRequestBuilder() - Constructor for class org.apache.maven.api.services.xml.XmlReaderRequest.XmlReaderRequestBuilder
- XmlWriterException - Exception in org.apache.maven.api.services.xml
-
An exception thrown during the writing of an xml file.
- XmlWriterException(String, Exception) - Constructor for exception org.apache.maven.api.services.xml.XmlWriterException
- XmlWriterRequest<T> - Interface in org.apache.maven.api.services.xml
-
An XML writer request.
- XmlWriterRequest.XmlWriterRequestBuilder<T> - Class in org.apache.maven.api.services.xml
- XmlWriterRequestBuilder() - Constructor for class org.apache.maven.api.services.xml.XmlWriterRequest.XmlWriterRequestBuilder
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Session.getTopDirectory()
instead