Class ImageBuildMojo

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

@Mojo(name="image-build", defaultPhase=PACKAGE, requiresDependencyResolution=COMPILE_PLUS_RUNTIME, threadSafe=true) public class ImageBuildMojo extends AbstractImageMojo
Builds a container image.
  • Constructor Details

    • ImageBuildMojo

      public ImageBuildMojo()
  • Method Details

    • 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