Class ImagePushMojo

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

    @Mojo(name="image-push",
          defaultPhase=PACKAGE,
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
          threadSafe=true)
    public class ImagePushMojo
    extends AbstractImageMojo
    Pushes a container image.
    • Constructor Detail

      • ImagePushMojo

        public ImagePushMojo()
    • Method Detail

      • beforeExecute

        protected boolean beforeExecute()
                                 throws org.apache.maven.plugin.MojoExecutionException
        Description copied from class: QuarkusBootstrapMojo
        This callback allows to evaluate whether this mojo should be executed, skipped or fail.
        Overrides:
        beforeExecute in class AbstractImageMojo
        Returns:
        false if the execution of the mojo should be skipped, true if the mojo should be executed
        Throws:
        org.apache.maven.plugin.MojoExecutionException - in case of a failure