public class RunMojo
extends org.codehaus.mojo.exec.AbstractExecMojo
META-INF/spring/*.xml, and OSGI-INF/blueprint/*.xml,
and camel-*.xml and starting up the context.| Modifier and Type | Field and Description |
|---|---|
protected String |
dotDir
The DOT output directory name used to generate the DOT diagram of the
route definitions
|
protected String |
duration
The duration to run the application for which by default is in
milliseconds.
|
protected String |
extendedPluginDependencyArtifactId |
protected boolean |
logClasspath
Whether to log the classpath when starting
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
protected boolean |
useBlueprint
Whether to use Blueprint when running, instead of Spring
|
protected boolean |
useCDI
Whether to use CDI when running, instead of Spring
|
protected boolean |
useDot
Allows the DOT file generation to be enabled
|
| Constructor and Description |
|---|
RunMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterBootstrapCamel()
Allows plugin extensions to do custom logic after bootstrapping Camel.
|
protected void |
beforeBootstrapCamel()
Allows plugin extensions to do custom logic before bootstrapping Camel.
|
void |
execute()
Execute goal.
|
collectProjectArtifactsAndClasspath, hasCommandlineArgs, isSkip, parseCommandlineArgs, registerSourceRootsprotected org.apache.maven.project.MavenProject project
protected String duration
protected String dotDir
protected boolean useDot
protected boolean logClasspath
protected boolean useBlueprint
protected boolean useCDI
protected String extendedPluginDependencyArtifactId
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - execution of the main class or one of the
threads it generated failed.org.apache.maven.plugin.MojoFailureException - something bad happened...protected void beforeBootstrapCamel()
throws Exception
ExceptionApache Camel