类 BuildImageMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.springframework.boot.maven.AbstractDependencyFilterMojo
org.springframework.boot.maven.AbstractPackagerMojo
org.springframework.boot.maven.BuildImageMojo
- 所有已实现的接口:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- 直接已知子类:
BuildImageForkMojo
,BuildImageNoForkMojo
Package an application into an OCI image using a buildpack.
- 从以下版本开始:
- 2.3.0
- 作者:
- Phillip Webb, Scott Frederick, Jeroen Meijer
-
嵌套类概要
从类继承的嵌套类/接口 org.springframework.boot.maven.AbstractPackagerMojo
AbstractPackagerMojo.LayoutType
从类继承的嵌套类/接口 org.springframework.boot.maven.AbstractDependencyFilterMojo
AbstractDependencyFilterMojo.ExcludeTestScopeArtifactFilter, AbstractDependencyFilterMojo.RuntimeArtifactFilter
-
字段概要
从类继承的字段 org.springframework.boot.maven.AbstractPackagerMojo
includeSystemScope, includeTools, project, projectHelper, session
从接口继承的字段 org.apache.maven.plugin.Mojo
ROLE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
execute()
protected AbstractPackagerMojo.LayoutType
Return the type of archive that should be used when building the image.protected org.springframework.boot.loader.tools.LayoutFactory
Return the layout factory that will be used to determine theAbstractPackagerMojo.LayoutType
if no explicit layout is set.protected org.springframework.boot.loader.tools.LoaderImplementation
Return the loader implementation that should be used.从类继承的方法 org.springframework.boot.maven.AbstractPackagerMojo
getConfiguredPackager, getLibraries, getSourceArtifact, getTargetFile
从类继承的方法 org.springframework.boot.maven.AbstractDependencyFilterMojo
filterDependencies, getDependencyURLs, setExcludeGroupIds, setExcludes, setIncludes, toURL
从类继承的方法 org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
构造器详细资料
-
BuildImageMojo
public BuildImageMojo()
-
-
方法详细资料
-
getLayout
Return the type of archive that should be used when building the image.- 覆盖:
getLayout
在类中AbstractPackagerMojo
- 返回:
- the value of the
layout
parameter, ornull
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 theAbstractPackagerMojo.LayoutType
if no explicit layout is set.- 覆盖:
getLayoutFactory
在类中AbstractPackagerMojo
- 返回:
- the value of the
layoutFactory
parameter, ornull
if the parameter is not provided
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- 抛出:
org.apache.maven.plugin.MojoExecutionException
-