public class RunMojo
extends org.codehaus.mojo.exec.AbstractExecMojo
jndi.properties
file on the classpath as the
way to bootstrap Camel using GuiceModifier and Type | Field and Description |
---|---|
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.
|
protected org.apache.maven.artifact.Artifact |
findExecutableArtifact()
Examine the plugin dependencies to find the executable artifact.
|
collectProjectArtifactsAndClasspath, hasCommandlineArgs, isSkip, parseCommandlineArgs, registerSourceRoots
protected org.apache.maven.project.MavenProject project
protected String duration
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...protected org.apache.maven.artifact.Artifact findExecutableArtifact() throws org.apache.maven.plugin.MojoExecutionException
findExecutableArtifact
in class org.codehaus.mojo.exec.AbstractExecMojo
org.apache.maven.plugin.MojoExecutionException
Apache Camel