Class BuildTarMojo

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

    @Mojo(name="buildTar",
          requiresDependencyResolution=RUNTIME_PLUS_SYSTEM,
          threadSafe=true)
    public class BuildTarMojo
    extends JibPluginConfiguration
    Builds a container image and exports to disk at the configured location ( ${project.build.directory}/jib-image.tar by default).
    • Constructor Detail

      • BuildTarMojo

        public BuildTarMojo()
    • 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