Class DockerPushMojo

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

    @Mojo(name="docker-push")
    public class DockerPushMojo
    extends AbstractDockerMojo

    Implementation of the deploy lifecycle for pushing Docker images

    WARNING: this goal is not intended to be executed directly. Instead, Execute the deploy phase specifying the packaging type, eg:

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

      • execute

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