Package org.apache.maven.api.plugin


package org.apache.maven.api.plugin
  • Class
    Description
    Interface 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 the Mojo, using standard Maven channels.
    There should be no big surprises here, although you may notice that the methods accept java.lang.CharSequence rather than java.lang.String.
    This interface forms the contract required for Mojos to interact with the Maven infrastructure.
    It features an execute() 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.