Class AddExtensionMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    AddExtensionsMojo

    @Mojo(name="add-extension")
    public class AddExtensionMojo
    extends QuarkusProjectMojoBase
    Allow adding an extension to an existing pom.xml file. Because you can add one or several extension in one go, there are 2 mojos: add-extensions and add-extension. Both supports the extension and extensions parameters.
    • Constructor Detail

      • AddExtensionMojo

        public AddExtensionMojo()
    • Method Detail

      • validateParameters

        protected void validateParameters()
                                   throws org.apache.maven.plugin.MojoExecutionException
        Overrides:
        validateParameters in class QuarkusProjectMojoBase
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • 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