public class RunMojo
extends org.codehaus.mojo.exec.AbstractExecMojo
jndi.properties file on the classpath as the
way to bootstrap Camel using Guice| 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 boolean |
dotEnabled
Allows the DOT file generation to be disabled
|
protected String |
duration
The duration to run the application for which by default is in
milliseconds.
|
protected String |
jndiProperties
Allows to provide a custom properties file on the classpath to initialize
a
InitialContext object with. |
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
| Constructor and Description |
|---|
RunMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute goal.
|
collectProjectArtifactsAndClasspath, hasCommandlineArgs, isSkip, parseCommandlineArgs, registerSourceRootsprotected org.apache.maven.project.MavenProject project
protected String duration
protected String dotDir
protected boolean dotEnabled
protected String jndiProperties
InitialContext object with. This corresponds to
the Main.setJndiProperties(String) API
methodpublic 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...Apache Camel