@Mojo(name="generate",
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
defaultPhase=PROCESS_CLASSES)
public class GenerateComponentMojo
extends org.apache.camel.maven.packaging.AbstractGenerateMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.sonatype.plexus.build.incremental.BuildContext |
currentBuildContext |
protected org.apache.maven.project.MavenProject |
currentProject |
protected org.apache.maven.project.MavenProjectHelper |
currentProjectHelper |
| Constructor and Description |
|---|
GenerateComponentMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute() |
void |
execute() |
@Parameter(property="project",
required=true,
readonly=true)
protected org.apache.maven.project.MavenProject currentProject
@Component protected org.apache.maven.project.MavenProjectHelper currentProjectHelper
@Component protected org.sonatype.plexus.build.incremental.BuildContext currentBuildContext
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class org.apache.camel.maven.packaging.AbstractGenerateMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void doExecute()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
doExecute in class org.apache.camel.maven.packaging.AbstractGenerateMojoorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionApache Camel