@Mojo(name="generate-starter",
threadSafe=true,
defaultPhase=GENERATE_RESOURCES)
public class StarterGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
action |
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
Used to look up Artifacts in the remote repository.
|
protected String |
name |
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
protected File |
sourcePom
The source pom template file.
|
protected File |
startersDir |
| Constructor and Description |
|---|
StarterGeneratorMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute() |
void |
execute() |
@Component protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
@Parameter(defaultValue="${project}",
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${basedir}/template-starter-pom.xml")
protected File sourcePom
@Parameter(defaultValue="${basedir}/../../components-starter")
protected File startersDir
@Parameter(property="action",
required=true)
protected String action
@Parameter(property="name",
required=true)
protected String name
Apache Camel