plugin-metadata
PluginMetadata
package
org.apache.maven.plugin.tools.model
PluginMetadata
1.0.0+
Root element of a script-based mojo's plugin metadata bindings.
mojos
1.0.0+
true
The list of mojos contained in the accompanying script.
Mojo
*
Mojo
1.0.0+
Mojo descriptor definition.
1.0.0+
goal
String
true
The name of the goal used to invoke this mojo.
1.0.0+
phase
String
The phase to which this mojo should be bound by default.
1.0.0+
aggregator
boolean
Whether this mojo operates as an aggregator when the reactor is run. That is, only runs once.
1.0.0+
requiresDependencyResolution
String
The scope of dependencies that this mojo requires to have resolved.
1.0.0+
requiresProject
boolean
Whether this mojo requires a project instance in order to execute.
1.0.0+
requiresReports
boolean
Whether this mojo requires a reports section in the POM.
1.0.0+
requiresOnline
boolean
Whether this mojo requires online mode to operate normally.
1.0.0+
inheritByDefault
boolean
Whether this mojo's configuration should propagate down the POM inheritance chain by default.
1.0.0+
requiresDirectInvocation
boolean
If true, this mojo can only be directly invoked (eg. specified directly on the command line).
1.0.0+
execution
Information about a sub-execution of the Maven lifecycle which should be processed.
LifecycleExecution
1.0.0+
components
List of plexus components required by this mojo.
Component
*
1.0.0+
parameters
List of parameters used by this mojo.
Parameter
*
description
1.0.0+
The description for this parameter.
String
deprecation
1.0.0+
A deprecation message for this mojo parameter.
String
1.1.0+
since
String
Version when the mojo was added to the API.
1.0.0+
call
String
The target/method within the script to call when this mojo executes.
LifecycleExecution
1.0.0+
lifecycle
1.0.0+
String
The name of the overlay to apply to the sub-lifecycle before executing it. If specified, this
lifecycle overlay definition will be bundled with the plugin.
phase
1.0.0+
The phase in the sub-lifecycle.
String
goal
1.0.0+
A goal, not attached to a lifecycle phase, which should be executed ahead of this mojo.
String
Component
1.0.0+
role
1.0.0+
The component role to lookup.
true
String
hint
1.0.0+
String
The role-hint to lookup.
Parameter
1.0.0+
name
1.0.0+
The parameter name
true
String
alias
1.0.0+
String
An alternate name for the parameter.
property
1.0.0+
String
The JavaBeans property name to use to configure the mojo with this parameter.
required
1.0.0+
boolean
Whether this parameter is required.
readonly
1.0.0+
boolean
expression
1.0.0+
String
defaultValue
1.0.0+
String
type
1.0.0+
String
true
description
1.0.0+
The description for this parameter.
String
deprecation
1.0.0+
A deprecation message for this mojo parameter.
String
1.1.0+
since
String
Version when the parameter was added.