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 |
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
|
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, registerSourceRoots
protected org.apache.maven.project.MavenProject project
protected String duration
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
Exception
Apache Camel