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 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.