|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Mojo
except for
the execute method.env.
, e.g.
Profile
that has come from an external source.
ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact)
ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact)
ArtifactMetadataRetrievalException.ArtifactMetadataRetrievalException(String, Throwable, Artifact)
<build>
element contains
informations required to build the project.ModelBuilder.build(ModelBuildingRequest)
with ModelBuildingRequest.isTwoPhaseBuilding()
being true
.
<CiManagement>
element contains
informations required to the
continuous integration system of the project.ConflictResolverNotFoundException
with the specified message.
Mojos
to communicate with each others Mojos
, other than
project's source root and project's attachment.to
collection
1.0
Version 1.0
[1.0,2.0)
Versions 1.0 (included) to 2.0 (not included)
[1.0,2.0]
Versions 1.0 to 2.0 (both included)
[1.5,)
Versions 1.5 and higher
(,1.0],[1.2,)
Versions up to 1.0 (included) and 1.2 or higher
NearestConflictResolver
MavenServiceLocator
instead, which is more explicit.<dependency>
element contains
information about a dependency
of the project.DuplicateProjectException.DuplicateProjectException(String, File, File, String)
DuplicateProjectException.DuplicateProjectException(String, File, File, String)
<exclusion>
element contains
informations required to exclude
an artifact to the project.Mojo
implements.
File
as a model source.File
as a settings source.activeProxy
field to null
executionMap
field to null
pluginsMap
field to null
profileMap
field to null
reportPluginMap
field to null
reportSetMap
field to null
maven-project
.
null
.
DependencyResolutionRequest.getResolutionFilter()
.
connection
, but for developers,
i.e.
MavenSession.getUserProperties()
or MavenSession.getSystemProperties()
.
once-per-session
, always
.
windows
or unix
.
generate-sources
.
ClassRealmRequest.getParentImports()
instead.
legacy
or
default
.
null
if unknown.
<groupId>:<artifactId>:<version>
.
jar
war
ear
pom
.
ProjectBuildingException.getPomFile()
pom.xml
file within the check out.
compile
,
runtime
, test
,
compile+runtime
(since Maven 3.0).
compile
,
runtime
,
test
, system
, and
provided
.
always,
daily
(default),
interval:XXX
(in minutes) or
never
(only if it doesn't exist locally).
protocol://hostname/path
.
protocol://hostname/path
.
Mirror
,
Profile
, Proxy
and
Server
.ModelInterpolator.interpolate(Model, File, ProjectBuilderConfiguration, boolean)
instead.
ModelInterpolator.interpolate(Model, File, ProjectBuilderConfiguration, boolean)
instead.
ModelInterpolator.interpolate(Model, File, ProjectBuilderConfiguration, boolean)
instead.
File
constructor for pomLocation
File
constructor for pomLocation
lifecycle.xml
file.Mojo
, using standard
Maven
channels.MavenProject.clone()
so subclasses can provide a copy of the same class
<project>
element is the root of
the descriptor.Model
and the
Profile
objects.ModelBuildingException.ModelBuildingException(ModelBuildingResult)
instead.
Mojos
to interact with the Maven
infrastructure.MojoExecutionException
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.
MojoExecutionException
exception wrapping an underlying Exception
and providing a message
.
MojoExecutionException
exception wrapping an underlying Throwable
and providing a message
.
MojoExecutionException
exception providing a message
.
MojoFailureException
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.
MojoFailureException
exception providing a message.
MojoFailureException
exception wrapping an underlying Throwable
and providing a message
.
MultipleArtifactsNotFoundException.MultipleArtifactsNotFoundException(Artifact, List, List, List)
maven.mdo
model.maven.mdo
model.<parent>
element contains
information required to locate the parent project from which
this project will inherit from.<toolchains>
element is the root
of the descriptor.<plugin>
element contains
informations required for a plugin.plugin.xml
file.<execution>
element contains
informations required for the
execution of a plugin.PrintStream
.<proxy>
element contains
informations required to a proxy settings.RELEASE
to the appropriate release version from the remote repository.<plugin>
element contains
informations required for a report plugin.VersionRange
that is a restriction of this
version range and the specified version range.
role
hint for Plexus container
RuntimeInformation
instead.<scm>
element contains
informations required to the SCM
(Source Control Management) of the project.<server>
element contains
informations required to a server settings.ProjectBuilder
should consider while constructing
a MavenProject
.
connection
, but for developers,
i.e.
once-per-session
, always
.
windows
or unix
.
generate-sources
.
legacy
or
default
.
null
if unknown.
Maven
logging mechanism to allow this Mojo
to communicate events
and feedback to the user.
<groupId>:<artifactId>:<version>
.
jar
war
ear
pom
.
Map
to a mojo before executing it.
DefaultMavenExecutionRequest.setPom(File)
pom.xml
file within the check out.
compile
,
runtime
, test
,
compile+runtime
(since Maven 3.0).
compile
,
runtime
,
test
, system
, and
provided
.
always,
daily
(default),
interval:XXX
(in minutes) or
never
(only if it doesn't exist locally).
protocol://hostname/path
.
protocol://hostname/path
.
CharSequence
as a model source.CharSequence
as a settings source.ArtifactRepositoryLayout
component in the current container.URL
as a model source.URL
as a settings source.ModelWriter
.
ModelWriter
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |