Class UpdateMainHelper

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="update-main-helper",
          threadSafe=true)
    public class UpdateMainHelper
    extends AbstractGeneratorMojo
    Updates camel-main with the known component, data-format, and language names.
    • Field Detail

      • propertiesDir

        @Parameter(defaultValue="${project.basedir}/src/generated/resources/org/apache/camel/catalog/")
        protected File propertiesDir
      • baseDir

        @Parameter(defaultValue="${project.basedir}/")
        protected File baseDir
    • Constructor Detail

      • UpdateMainHelper

        public UpdateMainHelper()
    • Method Detail

      • 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...