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 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 Summary
FieldsModifier and TypeFieldDescriptionprotected booleanList all extensions or just the installable.protected StringOnly list extensions from given category.protected StringSelect 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).protected booleanList the already installed extensionsprotected StringSearch filter on extension list.Fields inherited from class io.quarkus.maven.QuarkusProjectMojoBase
bomArtifactId, bomGroupId, bomVersion, project, refresh, repos, repoSession, session, workspaceProviderFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(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, getSingleMatchingBom, initArtifactResolver, validateParametersMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
all
@Parameter(property="all", defaultValue="true") protected boolean allList all extensions or just the installable. -
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
Search filter on extension list. The format is based on Java Pattern. -
category
Only list extensions from given category. -
installed
@Parameter(property="installed", defaultValue="false") protected boolean installedList 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:
doExecutein classQuarkusProjectMojoBase- Throws:
org.apache.maven.plugin.MojoExecutionException
-