Uses of Package
org.apache.maven.plugin
Package
Description
-
ClassDescriptionAn exception occurring during the execution of a plugin (such as a compilation failure).
Throwing this exception causes a "BUILD FAILURE" message to be displayed. -
ClassDescriptionThis 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 MojoExecutionException or MojoFailureException if error conditions occur.
Also included is thesetLog(...)
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.MojoExecutionAn exception occurring during the execution of a plugin.
Throwing this exception causes a "BUILD ERROR" message to be displayed. -
ClassDescriptionAn exception occurring during the execution of a plugin.
Throwing this exception causes a "BUILD ERROR" message to be displayed. -
ClassDescriptionAn exception occurring during the execution of a plugin.
Throwing this exception causes a "BUILD ERROR" message to be displayed. -
ClassDescriptionInvalidPluginDescriptorExceptionMojoExecutionMojoNotFoundExceptionException in the plugin manager.Exception occurring trying to resolve a plugin.Exception occurring trying to resolve a plugin.
-
ClassDescriptionInvalidPluginDescriptorExceptionMojoExecutionMojoNotFoundExceptionException occurring trying to resolve a plugin.Exception occurring trying to resolve a plugin.
-
ClassDescriptionInvalidPluginDescriptorExceptionMojoNotFoundExceptionException occurring trying to resolve a plugin.Exception occurring trying to resolve a plugin.
-
ClassDescriptionBase exception.Interface to allow
Mojos
to communicate with each othersMojos
, other than project's source root and project's attachment.
The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo.Caches extension class realms.CacheRecordA cache key.InvalidPluginDescriptorExceptionThrown when a plugin is not internally consistent.This interface forms the contract required forMojos
to interact with theMaven
infrastructure.
It features anexecute()
method, which triggers the Mojo's build-process behavior, and can throw a MojoExecutionException or MojoFailureException if error conditions occur.
Also included is thesetLog(...)
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.MojoExecutionDescribes the source of an execution.An exception occurring during the execution of a plugin.
Throwing this exception causes a "BUILD ERROR" message to be displayed.Provides context for mojo execution.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.MojoNotFoundExceptionInterface allows overriding default mojo execution strategy For example it is possible wrap some mojo execution to decorate default functionality or skip some executionsCaches plugin artifacts.CacheRecordA cache key.Exception which occurs to indicate that the plugin cannot be initialized due to some deeper problem with Plexus.Caches raw plugin descriptors.A cache key.Signals a plugin which is not compatible with the current Maven runtime.Exception in the plugin manager.Exception occurring trying to resolve a plugin.Caches plugin class realms.CacheRecordA cache key.Exception occurring trying to resolve a plugin. -
ClassDescriptionCacheRecordInvalidPluginDescriptorExceptionThrown when a plugin is not internally consistent.Helps to provide backward-compatibility with plugins that use legacy components.Provides basic services to manage Maven plugins and their mojos.MojoExecutionAn exception occurring during the execution of a plugin.
Throwing this exception causes a "BUILD ERROR" message to be displayed.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.MojoNotFoundExceptionException which occurs to indicate that the plugin cannot be initialized due to some deeper problem with Plexus.Signals a plugin which is not compatible with the current Maven runtime.Deprecated.Exception in the plugin manager.Exception occurring trying to resolve a plugin.Exception occurring trying to resolve a plugin.Component collecting plugin validation issues and reporting them. -
ClassDescriptionException in the plugin manager.Exception occurring trying to resolve a plugin.