Package io.quarkus.maven
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 QuarkusProjectMojoBaseList the available extensions. You can add one or several extensions in one go, with the 2 following mojos:add-extensionsandadd-extension. You can list all extension or just installable. Choose between 3 output formats: name, concise and full.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanallList all extensions or just the installable.protected java.lang.StringcategoryOnly list extensions from given category.protected java.lang.StringformatSelect the output format among 'id' (display the artifactId only), 'concise' (display name and artifactId) and 'full' (concise format and version related columns).protected booleaninstalledList the already installed extensionsprotected java.lang.StringsearchPatternSearch filter on extension list.-
Fields inherited from class io.quarkus.maven.QuarkusProjectMojoBase
project, repos, repoSession, repoSystem
-
-
Constructor Summary
Constructors Constructor Description ListExtensionsMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoExecute(io.quarkus.devtools.project.QuarkusProject quarkusProject, io.quarkus.devtools.messagewriter.MessageWriter log)-
Methods inherited from class io.quarkus.maven.QuarkusProjectMojoBase
artifactResolver, baseDir, catalogArtifactResolver, execute, getExtensionCatalogResolver, getImportedPlatforms, getMessageWriter, initArtifactResolver, validateParameters
-
-
-
-
Field Detail
-
all
@Parameter(property="all", defaultValue="true") protected boolean allList all extensions or just the installable.
-
format
@Parameter(property="format", defaultValue="concise") protected java.lang.String formatSelect 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 installedList the already installed extensions
-
-
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:
doExecutein classQuarkusProjectMojoBase- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-