org.apache.maven.plugin.coreit
Class CompileMojo

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

public class CompileMojo
extends AbstractMojo

Creates a text file in the project base directory.

Version:
$Id: CompileMojo.java 697428 2008-09-20 22:40:52Z bentmann $
Author:
Benjamin Bentmann
Is defined by the goal name:
compile
Is bound to the specified phase of the standard build lifecycle:
compile

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CompileMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
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

CompileMojo

public CompileMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Runs this mojo.

Throws:
MojoExecutionException - If the output file could not be created.
MojoFailureException - If the output file has not been set.


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