Class PackageModelMojo

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

    @Mojo(name="generate-eips-list",
          threadSafe=true)
    public class PackageModelMojo
    extends AbstractGeneratorMojo
    Analyses the Camel EIPs in a project and generates extra descriptor information for easier auto-discovery in Camel.
    • Field Detail

      • buildDir

        @Parameter(defaultValue="${project.build.directory}")
        protected File buildDir
        The camel-core directory
      • outDir

        @Parameter(defaultValue="${project.basedir}/src/generated/resources")
        protected File outDir
        The output directory for generated models file
    • Constructor Detail

      • PackageModelMojo

        public PackageModelMojo()
    • 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...