类 BuildImageMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
所有已实现的接口:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
直接已知子类:
BuildImageForkMojo, BuildImageNoForkMojo

public abstract class BuildImageMojo extends AbstractPackagerMojo
Package an application into an OCI image using a buildpack.
从以下版本开始:
2.3.0
作者:
Phillip Webb, Scott Frederick, Jeroen Meijer
  • 构造器详细资料

    • BuildImageMojo

      public BuildImageMojo()
  • 方法详细资料

    • getLayout

      protected AbstractPackagerMojo.LayoutType getLayout()
      Return the type of archive that should be used when building the image.
      覆盖:
      getLayout 在类中 AbstractPackagerMojo
      返回:
      the value of the layout parameter, or null if the parameter is not provided
    • getLoaderImplementation

      protected org.springframework.boot.loader.tools.LoaderImplementation getLoaderImplementation()
      从类复制的说明: AbstractPackagerMojo
      Return the loader implementation that should be used.
      覆盖:
      getLoaderImplementation 在类中 AbstractPackagerMojo
      返回:
      the loader implementation or null
    • getLayoutFactory

      protected org.springframework.boot.loader.tools.LayoutFactory getLayoutFactory()
      Return the layout factory that will be used to determine the AbstractPackagerMojo.LayoutType if no explicit layout is set.
      覆盖:
      getLayoutFactory 在类中 AbstractPackagerMojo
      返回:
      the value of the layoutFactory parameter, or null if the parameter is not provided
    • execute

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