Package org.apache.maven.api.plugin
package org.apache.maven.api.plugin
-
ClassDescriptionThis interface supplies the API for providing feedback to the user from the
Mojo, 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.