org.apache.maven.plugin.coreit
Class AggregateTestMojo

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

public class AggregateTestMojo
extends AbstractDependencyMojo

Combines dependency collection with aggregation. The path parameters of this mojo support the token @artifactId@ to dynamically adjust the output file for each project in the reactor whose dependencies are dumped.

Version:
$Id: AggregateTestMojo.java 809429 2009-08-30 22:24:31Z bentmann $
Author:
Benjamin Bentmann
Aggregates the Maven project and its child modules.
Is defined by the goal name:
aggregate-test
Requires the dependencies in this specified scope:
test

Field Summary
 
Fields inherited from class org.apache.maven.plugin.coreit.AbstractDependencyMojo
project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AggregateTestMojo()
           
 
Method Summary
 void execute()
          Runs this mojo.
 
Methods inherited from class org.apache.maven.plugin.coreit.AbstractDependencyMojo
writeArtifacts
 
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

AggregateTestMojo

public AggregateTestMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Runs this mojo.

Throws:
MojoExecutionException - If the output file could not be created or any dependency could not be resolved.


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