Package io.quarkus.maven
Class CreateExtensionMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.quarkus.maven.CreateExtensionMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="create-extension", requiresProject=false) public class CreateExtensionMojo extends org.apache.maven.plugin.AbstractMojoCreates the base of a Quarkus Extension in different layout depending on the options and environment.
Create in the quarkus-parent project directory (or the extensions parent dir)
It will:- generate the new Quarkus extension in the extensions parent as a module (parent, runtime and deployment), with unit test and devmode test on option.
- On option, generate the new integration test in the integration tests parent as a module.
- add the dependencies to the bom/application/pom.xml.
Creating a Quarkiverse extension
When using-DgroupId=io.quarkiverse.[featureId], the new extension will use the Quarkiverse layout.
Creating a standalone extension
- generate the new Quarkus extension in the current directory (parent, runtime and deployment), with unit test and devmode test on option.
- On option, generate the new integration test module in the current directory.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.maven.project.MavenProjectproject
-
Constructor Summary
Constructors Constructor Description CreateExtensionMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-