Package org.apache.camel.maven
Class DebugMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.exec.AbstractExecMojo
org.apache.camel.maven.RunMojo
org.apache.camel.maven.DevMojo
org.apache.camel.maven.DebugMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="debug",
defaultPhase=PREPARE_PACKAGE,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class DebugMojo
extends DevMojo
The maven goal allowing to automatically set up the Camel application to debug the Camel routes thanks to the Camel
textual Route Debugger.
-
Field Summary
Fields inherited from class org.apache.camel.maven.RunMojo
artifactResolver, duration, durationIdle, durationMaxMessages, extendedPluginDependencyArtifactId, logClasspath, loggingLevel, profile, useKameletFields inherited from class org.codehaus.mojo.exec.AbstractExecMojo
classpathScope, project, repositorySystemFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionDebugMojo(org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver, org.apache.maven.artifact.factory.ArtifactFactory artifactFactory, org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource, org.apache.maven.project.MavenProjectBuilder projectBuilder) -
Method Summary
Methods inherited from class org.apache.camel.maven.RunMojo
afterBootstrapCamel, determineRelevantPluginDependencies, execute, findExecutableArtifactMethods inherited from class org.codehaus.mojo.exec.AbstractExecMojo
collectProjectArtifactsAndClasspath, getPluginDependencies, getSession, hasCommandlineArgs, isSkip, parseCommandlineArgs, registerSourceRootsMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
DebugMojo
@Inject public DebugMojo(org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver, org.apache.maven.artifact.factory.ArtifactFactory artifactFactory, org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource, org.apache.maven.project.MavenProjectBuilder projectBuilder)
-
-
Method Details
-
beforeBootstrapCamel
Description copied from class:DevMojoEnable routes reloading- Overrides:
beforeBootstrapCamelin classDevMojo- Throws:
Exception
-
goal
-
getClasspath
protected List<org.apache.maven.artifact.Artifact> getClasspath() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Overrides:
getClasspathin classRunMojo- Returns:
- the list of artifacts corresponding to the classpath to use when launching the application
- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-