- MAVEN_PLUGIN - Static variable in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
The Plexus component type
- Mojo - Interface in org.apache.maven.plugin
-
This interface forms the contract required for Mojos
to interact with the Maven
infrastructure.
It features an execute()
method, which triggers the Mojo's build-process behavior, and can throw
a MojoExecutionException or MojoFailureException if error conditions occur.
Also included is the setLog(...)
method, which simply allows Maven to inject a logging mechanism which
will allow the Mojo to communicate to the outside world through standard Maven channels.
- MojoDescriptor - Class in org.apache.maven.plugin.descriptor
-
- MojoDescriptor() - Constructor for class org.apache.maven.plugin.descriptor.MojoDescriptor
-
Default constructor.
- MojoExecutionException - Exception in org.apache.maven.plugin
-
An exception occurring during the execution of a plugin.
Throwing this exception causes a "BUILD ERROR" message to be displayed.
- MojoExecutionException(Object, String, String) - Constructor for exception org.apache.maven.plugin.MojoExecutionException
-
Construct a new 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(String, Exception) - Constructor for exception org.apache.maven.plugin.MojoExecutionException
-
Construct a new MojoExecutionException
exception wrapping an underlying Exception
and providing a message
.
- MojoExecutionException(String, Throwable) - Constructor for exception org.apache.maven.plugin.MojoExecutionException
-
Construct a new MojoExecutionException
exception wrapping an underlying Throwable
and providing a message
.
- MojoExecutionException(String) - Constructor for exception org.apache.maven.plugin.MojoExecutionException
-
Construct a new MojoExecutionException
exception providing a message
.
- MojoExecutionException(Throwable) - Constructor for exception org.apache.maven.plugin.MojoExecutionException
-
Constructs a new MojoExecutionException
exception wrapping an underlying Throwable
.
- MojoFailureException - Exception in org.apache.maven.plugin
-
An exception occurring during the execution of a plugin (such as a compilation failure).
Throwing this exception causes a "BUILD FAILURE" message to be displayed.
- MojoFailureException(Object, String, String) - Constructor for exception org.apache.maven.plugin.MojoFailureException
-
Construct a new 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(String) - Constructor for exception org.apache.maven.plugin.MojoFailureException
-
Construct a new MojoFailureException
exception providing a message.
- MojoFailureException(String, Throwable) - Constructor for exception org.apache.maven.plugin.MojoFailureException
-
Construct a new MojoFailureException
exception wrapping an underlying Throwable
and providing a message
.
- MojoFailureException(Throwable) - Constructor for exception org.apache.maven.plugin.MojoFailureException
-
Constructs a new MojoFailureException
exception wrapping an underlying Throwable
.
- MojoNotFoundException - Exception in org.apache.maven.plugin
-
MojoNotFoundException
- MojoNotFoundException(String, PluginDescriptor) - Constructor for exception org.apache.maven.plugin.MojoNotFoundException
-
- MULTI_PASS_EXEC_STRATEGY - Static variable in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
"always" execution strategy
- setAddDefaultEntities(boolean) - Method in class org.apache.maven.plugin.lifecycle.io.xpp3.LifecycleMappingsXpp3Reader
-
Sets the state of the "add default entities" flag.
- setAggregator(boolean) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setAlias(String) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setArtifactId(String) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setArtifacts(List<Artifact>) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setClassRealm(ClassRealm) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setConfiguration(Object) - Method in class org.apache.maven.plugin.lifecycle.Execution
-
Set configuration to pass to the goals.
- setConfiguration(Object) - Method in class org.apache.maven.plugin.lifecycle.Phase
-
Set configuration to pass to all goals run in this phase.
- setDefaultValue(String) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setDependencyCollectionRequired(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setDependencyResolutionRequired(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setDeprecated(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setDeprecated(String) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setDescription(String) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setDescription(String) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setDirectInvocationOnly(boolean) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setEditable(boolean) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setExecuteGoal(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setExecuteLifecycle(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setExecutePhase(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setExecutions(List<Execution>) - Method in class org.apache.maven.plugin.lifecycle.Phase
-
Set the goals to execute within the phase.
- setExecutionStrategy(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setExpression(String) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setFileComment(String) - Method in class org.apache.maven.plugin.lifecycle.io.xpp3.LifecycleMappingsXpp3Writer
-
Method setFileComment.
- setGoal(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setGoalPrefix(String) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setGoals(List<String>) - Method in class org.apache.maven.plugin.lifecycle.Execution
-
Set the goals to execute.
- setGroupId(String) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setId(String) - Method in class org.apache.maven.plugin.lifecycle.Lifecycle
-
Set the ID of this lifecycle, for identification in the mojo
descriptor.
- setId(String) - Method in class org.apache.maven.plugin.lifecycle.Phase
-
Set the ID of this phase, e.g.,
generate-sources
.
- setImplementation(String) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setInheritedByDefault(boolean) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setInheritedByDefault(boolean) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setIntroducedDependencyArtifacts(Set<Artifact>) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setLanguage(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setLifecycles(List<Lifecycle>) - Method in class org.apache.maven.plugin.lifecycle.LifecycleConfiguration
-
Set the lifecycles field.
- setLog(Log) - Method in class org.apache.maven.plugin.AbstractMojo
-
- setLog(Log) - Method in interface org.apache.maven.plugin.Mojo
-
Inject a standard Maven
logging mechanism to allow this Mojo
to communicate events
and feedback to the user.
- setModelEncoding(String) - Method in class org.apache.maven.plugin.lifecycle.LifecycleConfiguration
-
Set the modelEncoding field.
- setMojoConfiguration(PlexusConfiguration) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setName(String) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setName(String) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setOnlineRequired(boolean) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setParameters(List<Parameter>) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setPhase(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setPhases(List<Phase>) - Method in class org.apache.maven.plugin.lifecycle.Lifecycle
-
Set the phase mappings for this lifecycle.
- setPlugin(Plugin) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setPluginArtifact(Artifact) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setPluginContext(Map) - Method in class org.apache.maven.plugin.AbstractMojo
-
- setPluginContext(Map) - Method in interface org.apache.maven.plugin.ContextEnabled
-
Set a new shared context Map
to a mojo before executing it.
- setPluginDescriptor(PluginDescriptor) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setProjectRequired(boolean) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setRequired(boolean) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setRequiredMavenVersion(String) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setRequirement(Requirement) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setRequiresReports(boolean) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setSince(String) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setSince(String) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setSource(String) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- setThreadSafe(boolean) - Method in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
- setType(String) - Method in class org.apache.maven.plugin.descriptor.Parameter
-
- setVersion(String) - Method in class org.apache.maven.plugin.descriptor.PluginDescriptor
-
- SINGLE_PASS_EXEC_STRATEGY - Static variable in class org.apache.maven.plugin.descriptor.MojoDescriptor
-
"once-per-session" execution strategy
- source - Variable in exception org.apache.maven.plugin.AbstractMojoExecutionException
-
- SystemStreamLog - Class in org.apache.maven.plugin.logging
-
Logger with "standard" output and error output stream.
- SystemStreamLog() - Constructor for class org.apache.maven.plugin.logging.SystemStreamLog
-