org.apache.maven.plugin.coreit
Class AggregateTestMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.coreit.AbstractDependencyMojo
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
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Runs this mojo. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregateTestMojo
public AggregateTestMojo()
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.