org.apache.maven.plugin.invoker
Class InvokerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.invoker.InvokerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- public class InvokerMojo
- extends org.apache.maven.plugin.AbstractMojo
Searches for integration test Maven projects, and executes each, collecting a log in the project directory, and
outputting the results to the command line.
- Since:
- 1.0
- Version:
- $Id: InvokerMojo.java 682848 2008-08-05 18:24:07Z bentmann $
- Author:
- Kenney Westerhof, John Casey
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
InvokerMojo
public InvokerMojo()
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
getGoals
protected List getGoals(File basedir)
getPoms
protected String[] getPoms()
throws IOException
- Throws:
IOException
buildInterpolatedFile
protected File buildInterpolatedFile(File originalFile,
File targetDirectory,
String targetFileName)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getProfiles
protected List getProfiles(File projectDirectory)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.