Class DockerMojo

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

    @Mojo(name="docker",
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
    public class DockerMojo
    extends AbstractDockerMojo

    Allows using a provided Dockerfile.

    WARNING: this goal is not intended to be executed directly. Instead, specify the packaging type using the packaging property, eg:

    mvn package -Dpackaging=docker
    Since:
    1.1
    Author:
    Álvaro Sánchez-Mariscal
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException