Interface Plugin

All Superinterfaces:
org.apache.maven.plugin.Mojo
All Known Subinterfaces:
PluginWithEncoding
All Known Implementing Classes:
AbstractPlugin

public interface Plugin extends org.apache.maven.plugin.Mojo
A common contract to be implements by our mojo and reports.

Just expose a isVerbose() flag and the maven project getProject().

Since:
1.0.3
Author:
Tony Chemit - chemit@codelutin.com
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    An enumeration to qualify the init result of a plugin
    static enum 
    An enumeration to qualify a maven module packaging
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.maven.project.MavenProject
     
    boolean
     
    void
    setProject(org.apache.maven.project.MavenProject project)
     
    void
    setVerbose(boolean verbose)
     

    Methods inherited from interface org.apache.maven.plugin.Mojo

    execute, getLog, setLog
  • Method Details

    • getProject

      org.apache.maven.project.MavenProject getProject()
    • setProject

      void setProject(org.apache.maven.project.MavenProject project)
    • isVerbose

      boolean isVerbose()
    • setVerbose

      void setVerbose(boolean verbose)