Package org.springframework.boot.maven
Class BuildImageForkMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.springframework.boot.maven.AbstractDependencyFilterMojo
org.springframework.boot.maven.AbstractPackagerMojo
org.springframework.boot.maven.BuildImageMojo
org.springframework.boot.maven.BuildImageForkMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="build-image",
defaultPhase=PACKAGE,
requiresProject=true,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
@Execute(phase=PACKAGE)
public class BuildImageForkMojo
extends BuildImageMojo
Package an application into an OCI image using a buildpack, forking the lifecycle to
make sure that
package
ran. This goal is suitable for command-line invocation.
If you need to configure a goal execution
in your build, use
build-image-no-fork
instead.- Since:
- 3.0.0
- Author:
- Stephane Nicoll
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.boot.maven.AbstractPackagerMojo
AbstractPackagerMojo.LayoutType
Nested classes/interfaces inherited from class org.springframework.boot.maven.AbstractDependencyFilterMojo
AbstractDependencyFilterMojo.ExcludeTestScopeArtifactFilter, AbstractDependencyFilterMojo.RuntimeArtifactFilter
-
Field Summary
Fields inherited from class org.springframework.boot.maven.AbstractPackagerMojo
includeSystemScope, project, projectHelper, session
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.boot.maven.BuildImageMojo
execute, getLayout, getLayoutFactory, getLoaderImplementation
Methods inherited from class org.springframework.boot.maven.AbstractPackagerMojo
getConfiguredPackager, getLibraries, getSourceArtifact, getTargetFile
Methods inherited from class org.springframework.boot.maven.AbstractDependencyFilterMojo
filterDependencies, getDependencyURLs, setExcludeGroupIds, setExcludes, setIncludes, toURL
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
BuildImageForkMojo
public BuildImageForkMojo()
-