org.apache.maven.plugin.coreit
Class LogStringMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.coreit.AbstractLogMojo
          extended by org.apache.maven.plugin.coreit.LogStringMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class LogStringMojo
extends AbstractLogMojo

Appends a string to the log file.

Version:
$Id: LogStringMojo.java 722525 2008-12-02 17:05:12Z bentmann $
Author:
Benjamin Bentmann
Is defined by the goal name:
log-string
Is bound to the specified phase of the standard build lifecycle:
initialize

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LogStringMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
Methods inherited from class org.apache.maven.plugin.coreit.AbstractLogMojo
append, reset
 
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
 

Constructor Detail

LogStringMojo

public LogStringMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Runs this mojo.

Throws:
MojoExecutionException - If the output file could not be created.


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.