org.apache.camel.maven
Class RunCamelMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.exec.AbstractExecMojo
org.apache.camel.maven.RunCamelMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class RunCamelMojo
- extends org.codehaus.mojo.exec.AbstractExecMojo
Runs a CamelContext using any Spring XML configuration files found in META-INF/spring/*.xml
and starting up the context.
Field Summary |
protected org.apache.maven.project.MavenProject |
project
The maven project. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Execute goal. |
Methods inherited from class org.codehaus.mojo.exec.AbstractExecMojo |
hasCommandlineArgs, 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 |
project
protected org.apache.maven.project.MavenProject project
- The maven project.
RunCamelMojo
public RunCamelMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Execute goal.
- Throws:
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...
Copyright © 2007 Apache Software Foundation. All Rights Reserved.