Class DebugMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.exec.AbstractExecMojo
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 in order to debug the Camel routes thanks to the Camel textual Route Debugger.
  • Constructor Details

    • DebugMojo

      public DebugMojo()
  • Method Details

    • beforeBootstrapCamel

      protected void beforeBootstrapCamel() throws Exception
      Description copied from class: DevMojo
      Enable routes reloading
      Overrides:
      beforeBootstrapCamel in class DevMojo
      Throws:
      Exception
    • goal

      protected String goal()
      Overrides:
      goal in class DevMojo
    • getClasspath

      protected List<org.apache.maven.artifact.Artifact> getClasspath() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Overrides:
      getClasspath in class RunMojo
      Returns:
      the list of artifacts corresponding to the classpath to use when launching the application
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException