Class UpdateTestInfraMetadataMojo

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

@Mojo(name="update-test-infra-metadata", threadSafe=true, requiresDependencyResolution=COMPILE, defaultPhase=PROCESS_CLASSES) public class UpdateTestInfraMetadataMojo extends AbstractGeneratorMojo
Copy test-infra metadata.json into the catalog
  • Field Details

    • propertiesDir

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

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

    • UpdateTestInfraMetadataMojo

      @Inject protected UpdateTestInfraMetadataMojo(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