Class ListExtensionsMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.quarkus.maven.QuarkusProjectMojoBase
io.quarkus.maven.ListExtensionsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="list-extensions", requiresProject=false) public class ListExtensionsMojo extends QuarkusProjectMojoBase
List the available extensions. You can add one or several extensions in one go, with the 2 following mojos: add-extensions and add-extension. You can list all extension or just installable. Choose between 3 output formats: name, concise and full.
  • Field Details

    • all

      @Parameter(property="all", defaultValue="true") protected boolean all
      List all extensions or just the installable.
    • format

      @Parameter(property="format", defaultValue="concise") protected String format
      Select the output format among 'id' (display the artifactId only), 'concise' (display name and artifactId), 'origins' (display extension catalog IDs providing extension information), 'support-scope' (support scope associated with each extension, if any) and 'full' (concise format and version related columns).
    • searchPattern

      @Parameter(property="searchPattern") protected String searchPattern
      Search filter on extension list. The format is based on Java Pattern.
    • category

      @Parameter(property="category") protected String category
      Only list extensions from given category.
    • installed

      @Parameter(property="installed", defaultValue="false") protected boolean installed
      List the already installed extensions
  • Constructor Details

    • ListExtensionsMojo

      public ListExtensionsMojo()
  • Method Details

    • doExecute

      public void doExecute(io.quarkus.devtools.project.QuarkusProject quarkusProject, io.quarkus.devtools.messagewriter.MessageWriter log) throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      doExecute in class QuarkusProjectMojoBase
      Throws:
      org.apache.maven.plugin.MojoExecutionException