Class ApplicationImageMojo

  • All Implemented Interfaces:
    ContextEnabled, Mojo

    @Mojo(name="image",
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
          defaultPhase=PACKAGE)
    public class ApplicationImageMojo
    extends PackageServerMojo
    Build (and push) an application image containing the provisioned server and the deployment.

    The image goal extends the package goal, building and pushing the image occurs after the server is provisioned and the deployment deployed in it.

    The image goal relies on a Docker binary to execute all image commands (build, login, push).

    Note that if a WildFly Bootable JAR is packaged, it is ignored when building the image.

    Since:
    4.0