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
Execute
annotation.This interface supplies the API for providing feedback to the user from theMojo
, using standardMaven
channels.
There should be no big surprises here, although you may notice that the methods acceptjava.lang.CharSequence
rather thanjava.lang.String
.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 MojoException if error conditions occur.An exception occurring during the execution of a plugin.