Class UpdateCamelReleasesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.packaging.AbstractGeneratorMojo
org.apache.camel.maven.packaging.UpdateCamelReleasesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="update-camel-releases", threadSafe=true, defaultPhase=PROCESS_CLASSES) public class UpdateCamelReleasesMojo extends AbstractGeneratorMojo
Unfortunately we do not have a release timestamp for every Camel release published to maven. So we need to grab the dates from camel-website git repository.
  • Field Details

    • outDir

      @Parameter(defaultValue="${project.basedir}/src/generated/resources/org/apache/camel/catalog/releases") protected File outDir
      The output directory for the generated catalog releases files
  • Constructor Details

    • UpdateCamelReleasesMojo

      @Inject public UpdateCamelReleasesMojo(org.apache.maven.project.MavenProjectHelper projectHelper, org.codehaus.plexus.build.BuildContext buildContext)
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException