org.codehaus.mojo.failsafe
Class IntegrationTestMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.failsafe.IntegrationTestMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class IntegrationTestMojo
extends AbstractMojo

Run integration tests using Surefire.

Author:
Jason van Zyl, Stephen Connolly
Is bound to the specified phase of the standard build lifecycle:
integration-test
Requires the dependencies in this specified scope:
test
Requires a Maven project to run:
true
Is defined by the goal name:
integration-test

Field Summary
protected  String encoding
          The character encoding scheme to be applied.
protected  MavenProject project
          The Maven Project Object
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
IntegrationTestMojo()
           
 
Method Summary
 void execute()
           
 boolean isSkipExec()
           
protected  void processSystemProperties(boolean setInSystem)
           
 void setSkipExec(boolean skipExec)
           
 
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 Detail

project

protected MavenProject project
The Maven Project Object

Is defined by:
expression:
${project}
Is required.
Is readonly.

encoding

protected String encoding
The character encoding scheme to be applied.

Is defined by:
expression:
${encoding}
default-value:
${project.reporting.outputEncoding}
Constructor Detail

IntegrationTestMojo

public IntegrationTestMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Throws:
MojoExecutionException
MojoFailureException

processSystemProperties

protected void processSystemProperties(boolean setInSystem)

isSkipExec

public boolean isSkipExec()
Returns:
SurefirePlugin Returns the skipExec.

setSkipExec

public void setSkipExec(boolean skipExec)
Parameters:
skipExec - the skipExec to set


Copyright © 2011 Codehaus. All Rights Reserved.