Package org.apache.maven.api.plugin
package org.apache.maven.api.plugin
-
ClassDescriptionInterface that can be provided by the plugin to wire in custom lifecycles leveraged using the
Executeannotation.This interface supplies the API for providing feedback to the user from theMojo, using standardMavenchannels.
There should be no big surprises here, although you may notice that the methods acceptjava.lang.CharSequencerather thanjava.lang.String.This interface forms the contract required forMojosto interact with theMaveninfrastructure.
It features anexecute()method, which triggers the Mojo's build-process behavior, and can throw a MojoException if error conditions occur.An exception occurring during the execution of a plugin.