|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.exec.AbstractExecMojo
org.apache.camel.maven.RunMojo
public class RunMojo
Runs a CamelContext using any Spring or Blueprint XML configuration files found in
META-INF/spring/*.xml, and OSGI-INF/blueprint/*.xml,
and camel-*.xml and starting up the context.
| Field Summary | |
|---|---|
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 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 |
| Fields inherited from class org.codehaus.mojo.exec.AbstractExecMojo |
|---|
classpathScope |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
RunMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
Execute goal. |
| Methods inherited from class org.codehaus.mojo.exec.AbstractExecMojo |
|---|
collectProjectArtifactsAndClasspath, hasCommandlineArgs, isSkip, parseCommandlineArgs, registerSourceRoots |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.maven.project.MavenProject project
protected String duration
protected String dotDir
protected boolean useDot
protected boolean logClasspath
protected boolean useBlueprint
protected boolean useCDI
| Constructor Detail |
|---|
public RunMojo()
| Method Detail |
|---|
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...
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||