Serialized Form


Package org.apache.maven.plugin

Class org.apache.maven.plugin.AbstractMojoExecutionException extends Exception implements Serializable

Serialized Fields

source

Object source

longMessage

String longMessage

Class org.apache.maven.plugin.MojoExecutionException extends AbstractMojoExecutionException implements Serializable

Class org.apache.maven.plugin.MojoFailureException extends AbstractMojoExecutionException implements Serializable

Class org.apache.maven.plugin.MojoNotFoundException extends Exception implements Serializable

Serialized Fields

goal

String goal

pluginDescriptor

PluginDescriptor pluginDescriptor

Package org.apache.maven.plugin.descriptor

Class org.apache.maven.plugin.descriptor.DuplicateMojoDescriptorException extends InvalidPluginDescriptorException implements Serializable

Class org.apache.maven.plugin.descriptor.DuplicateParameterException extends InvalidPluginDescriptorException implements Serializable

Class org.apache.maven.plugin.descriptor.InvalidParameterException extends InvalidPluginDescriptorException implements Serializable

Class org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException extends org.codehaus.plexus.configuration.PlexusConfigurationException implements Serializable


Package org.apache.maven.plugin.descriptor.model

Class org.apache.maven.plugin.descriptor.model.Configuration extends Object implements Serializable

Serialized Fields

expression

String expression
Parameter expression.


implementation

String implementation
Field implementation.


defaultValue

String defaultValue
Field defaultValue.

Class org.apache.maven.plugin.descriptor.model.Dependency extends Object implements Serializable

Serialized Fields

groupId

String groupId
The group id of the dependency.


artifactId

String artifactId
The artifact id of the dependency.


version

String version
The version of the dependency.


type

String type
The type of dependency.

Class org.apache.maven.plugin.descriptor.model.MojoDescriptor extends Object implements Serializable

Serialized Fields

goal

String goal
The name for the Mojo that users will reference from the command line to execute the Mojo directly, or inside a POM in order to provide Mojo-specific configuration.


description

String description
The description of this Mojo's functionality.


implementation

String implementation
The Mojo's fully-qualified class name (or script path in the case of non-Java Mojos).


language

String language
The implementation language for this Mojo (Java, beanshell, etc.).


phase

String phase
Defines a default phase to bind a mojo execution to if the user does not explicitly set a phase in the POM. Note: This annotation will not automagically make a mojo run when the plugin declaration is added to the POM. It merely enables the user to omit the <phase> element from the surrounding <execution> element.


executePhase

String executePhase
Field executePhase.


executeGoal

String executeGoal
Field executeGoal.


executeLifecycle

String executeLifecycle
Field executeLifecycle.


requiresDependencyResolution

String requiresDependencyResolution
Flags this Mojo as requiring the dependencies in the specified class path to be resolved before it can execute: compile, runtime, test, compile+runtime (since Maven 3.0) .


requiresDependencyCollection

String requiresDependencyCollection
Flags this mojo as requiring information about the dependencies that would make up the specified class path. As the name suggests, this is similar to requiresDependencyResolution and supports the same values. The important difference is this will not resolve the files for the dependencies, i.e. the artifacts associated with a Maven project can lack a file. As such, this annotation is meant for mojos that only want to analyze the set of transitive dependencies, in particular during early lifecycle phases where full dependency resolution might fail due to projects which haven't been built yet.


requiresDirectInvocation

boolean requiresDirectInvocation
Flags this Mojo to be invoked directly.


requiresProject

boolean requiresProject
Flags this Mojo to run inside of a project.


requiresReports

boolean requiresReports
Flags this Mojo to require reports. Unsupported since Maven 3.0.


requiresOnline

boolean requiresOnline
Flags this Mojo to require online mode for its operation.


aggregator

boolean aggregator
Flags this Mojo to run it in a multi module way, i.e. aggregate the build with the set of projects listed as modules.


inheritedByDefault

boolean inheritedByDefault
Specify that the Mojo is inherited.


threadSafe

boolean threadSafe
Marks this mojo as being thread-safe, i.e. the mojo safely supports concurrent execution during parallel builds. Mojos without this annotation will make Maven output a warning when used during a parallel build session. Since Maven 3.0.


instantiationStrategy

String instantiationStrategy
Specify the instantiation strategy.


executionStrategy

String executionStrategy
Specify the execution strategy: once-per-session, always.


since

String since
Specify the version when the Mojo was added to the API. Similar to Javadoc since.


deprecated

String deprecated
Specify the version when the Mojo was deprecated to the API. Similar to Javadoc deprecated. This will trigger a warning when a user tries to configure a parameter marked as deprecated.


configurator

String configurator
The configurator type to use when injecting parameter values into this Mojo. The value is normally deduced from the Mojo's implementation language, but can be specified to allow a custom ComponentConfigurator implementation to be used.


composer

String composer
Field composer.


parameters

List<E> parameters
Field parameters.


configuration

List<E> configuration
Field configuration.


requirements

List<E> requirements
Field requirements.

Class org.apache.maven.plugin.descriptor.model.Parameter extends Object implements Serializable

Serialized Fields

name

String name
The name of the parameter, to be used in configuring this parameter from the Mojo's declared defaults or from the POM.


alias

String alias
Specifies an alias which can be used to configure this parameter from the POM. This is primarily useful to improve user-friendliness, where Mojo field names are not intuitive to the user or are otherwise not conducive to configuration via the POM.


type

String type
The Java type for this parameter. This is used to validate the result of any expressions used to calculate the value which should be injected into the Mojo for this parameter.


required

boolean required
Whether this parameter is required for the Mojo to function. This is used to validate the configuration for a Mojo before it is injected, and before the Mojo is executed from some half-state.


editable

boolean editable
Specifies that this parameter cannot be configured directly by the user (as in the case of POM-specified configuration). This is useful when you want to force the user to use common POM elements rather than plugin configurations, as in the case where you want to use the artifact's final name as a parameter. In this case, you want the user to modify <build><finalName/></build> rather than specifying a value for finalName directly in the plugin configuration section. It is also useful to ensure that - for example - a List-typed parameter which expects items of type Artifact doesn't get a List full of Strings.


implementation

String implementation
Field implementation.


description

String description
The description of this parameter's use inside the Mojo.


since

String since
Specify the version when the parameter was added to the API. Similar to Javadoc since.


deprecated

String deprecated
Specify the version when the parameter was deprecated to the API. Similar to Javadoc deprecated. This will trigger a warning when a user tries to configure a parameter marked as deprecated.

Class org.apache.maven.plugin.descriptor.model.PluginDescriptor extends Object implements Serializable

Serialized Fields

description

String description
Description of the plugin.


groupId

String groupId
The group id of the plugin.


artifactId

String artifactId
The artifact id of the plugin.


version

String version
The version of the plugin.


goalPrefix

String goalPrefix
Field goalPrefix.


isolatedRealm

boolean isolatedRealm
Field isolatedRealm.


inheritedByDefault

boolean inheritedByDefault
Field inheritedByDefault.


mojos

List<E> mojos
Field mojos.


dependencies

List<E> dependencies
Field dependencies.


modelEncoding

String modelEncoding
Field modelEncoding.

Class org.apache.maven.plugin.descriptor.model.Requirement extends Object implements Serializable

Serialized Fields

role

String role
Field role.


roleHint

String roleHint
Field roleHint.


fieldName

String fieldName
Field fieldName.


Package org.apache.maven.plugin.lifecycle

Class org.apache.maven.plugin.lifecycle.Execution extends Object implements Serializable

Serialized Fields

configuration

Object configuration
Configuration to pass to the goals.


goals

List<E> goals
Field goals.

Class org.apache.maven.plugin.lifecycle.Lifecycle extends Object implements Serializable

Serialized Fields

id

String id
The ID of this lifecycle, for identification in the mojo descriptor.


phases

List<E> phases
Field phases.

Class org.apache.maven.plugin.lifecycle.LifecycleConfiguration extends Object implements Serializable

Serialized Fields

lifecycles

List<E> lifecycles
Field lifecycles.


modelEncoding

String modelEncoding
Field modelEncoding.

Class org.apache.maven.plugin.lifecycle.Phase extends Object implements Serializable

Serialized Fields

id

String id
The ID of this phase, eg generate-sources.


executions

List<E> executions
Field executions.


configuration

Object configuration
Configuration to pass to all goals run in this phase.



Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.