Class PackageMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="package",
          defaultPhase=PACKAGE)
    public class PackageMojo
    extends MicroMojo
    The Mojo that will package your application with Piranha Micro.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Constructor Detail

      • PackageMojo

        public PackageMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Execute the mojo.
        Throws:
        org.apache.maven.plugin.MojoExecutionException - when an execution error occurs.
        org.apache.maven.plugin.MojoFailureException - when a failure occurs.