Class EchoMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.glassfish.build.EchoMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="echo") public final class EchoMojo extends org.apache.maven.plugin.AbstractMojo
Echo a message.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    Any String to print out.

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

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • message

      @Parameter(property="message") private String message
      Any String to print out.
  • Constructor Details

    • EchoMojo

      public EchoMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException