Class 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 Detail

      • all

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

        @Parameter(property="format",
                   defaultValue="concise")
        protected java.lang.String format
        Select the output format among 'id' (display the artifactId only), 'concise' (display name and artifactId) and 'full' (concise format and version related columns).
      • searchPattern

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

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

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

      • ListExtensionsMojo

        public ListExtensionsMojo()
    • Method Detail

      • 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