public abstract class AbstractWeaveMojo extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.project.MavenProject |
project |
protected org.eclipse.aether.RepositorySystem |
repositorySystem |
protected org.eclipse.aether.RepositorySystemSession |
repositorySystemSession |
protected boolean |
verbose
verbose parameter. |
protected Properties |
weaverConfig
weaver.config parameter. |
Constructor and Description |
---|
AbstractWeaveMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(File target,
List<String> classpath,
Properties config) |
void |
execute()
Execute this mojo.
|
protected abstract File |
getTarget()
Get the target directory for this prepare mojo.
|
@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
public AbstractWeaveMojo()
protected void doExecute(File target, List<String> classpath, Properties config) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected abstract File getTarget()
File
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
- in the event of failureorg.apache.maven.plugin.MojoFailureException
Copyright © 2016 The Apache Software Foundation. All rights reserved.