Class CheckExtensionPagesMojo

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

    @Mojo(name="check-extension-pages",
          threadSafe=true)
    public class CheckExtensionPagesMojo
    extends AbstractDocGeneratorMojo
    Performs the following tasks:
    • Deletes extension pages whose extensions do not exist anymore
    • Creates dummy partials for Camel bits that Camel Quarkus does not support, so that there are no warnings when they are included from the Camel component pages
    • Deletes Camel bit partials that do not exist anymore.
      • Field Detail

        • catalogBaseDir

          @Parameter(defaultValue="${project.build.directory}/classes",
                     property="camel-quarkus.catalogBaseDir")
          File catalogBaseDir
          The directory relative to which the catalog data is read.
        • docsBaseDir

          @Parameter(defaultValue="${maven.multiModuleProjectDirectory}/docs")
          File docsBaseDir
          The path to the docs module base directory
        • extensionDirectories

          @Parameter(property="cq.extensionDirectories",
                     required=true)
          List<File> extensionDirectories
          List of directories that contain extensions
        • skipArtifactIdBases

          @Parameter(property="cq.skipArtifactIdBases")
          Set<String> skipArtifactIdBases
          A set of artifactIdBases that are not extensions and should be excluded from the catalog
        • camelVersion

          @Parameter(property="camel.version")
          String camelVersion
          The version of Camel we depend on
        • localRepository

          @Parameter(defaultValue="${settings.localRepository}",
                     readonly=true)
          String localRepository
      • Constructor Detail

        • CheckExtensionPagesMojo

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

          void camelBits​(Path docsBasePath)
        • extensions

          void extensions​(Path docsBasePath)