org.apache.maven.plugin.coreit
Class TestCompileMojo

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

public class TestCompileMojo
extends AbstractMojo

Creates a text file in the project base directory.

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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestCompileMojo()
           
 
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

TestCompileMojo

public TestCompileMojo()
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.