@Mojo(name="test-weave",
      defaultPhase=PROCESS_TEST_CLASSES,
      requiresDependencyCollection=TEST,
      requiresDependencyResolution=TEST)
public class TestWeaveMojo
extends AbstractWeaveMojo
| Modifier and Type | Field and Description | 
|---|---|
protected List<String> | 
classpath
MavenProject.getTestClasspathElements(). | 
protected org.apache.maven.project.MavenProject | 
project  | 
protected org.eclipse.aether.RepositorySystem | 
repositorySystem  | 
protected org.eclipse.aether.RepositorySystemSession | 
repositorySystemSession  | 
protected File | 
target
Build.getTestOutputDirectory(). | 
protected boolean | 
verbose
verbose parameter. | 
protected Properties | 
weaverConfig
weaver.config parameter. | 
| Constructor and Description | 
|---|
TestWeaveMojo()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
execute()
Execute this mojo. 
 | 
protected File | 
getTarget()
Get the target directory for this prepare mojo. 
 | 
doExecute@Parameter(readonly=true,
           required=true,
           defaultValue="${project.testClasspathElements}")
protected List<String> classpath
MavenProject.getTestClasspathElements().@Parameter(readonly=true,
           required=true,
           defaultValue="${project.build.testOutputDirectory}")
protected File target
Build.getTestOutputDirectory().@Parameter(defaultValue="false") protected boolean verbose
verbose parameter.@Parameter(property="weaver.config",
           required=false)
protected Properties weaverConfig
weaver.config parameter.@Parameter(defaultValue="${project}")
protected org.apache.maven.project.MavenProject project
@Component protected org.eclipse.aether.RepositorySystem repositorySystem
@Parameter(defaultValue="${repositorySystemSession}",
           readonly=true)
protected org.eclipse.aether.RepositorySystemSession repositorySystemSession
Copyright © 2018 The Apache Software Foundation. All rights reserved.