Class BuildImageNoForkMojo
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.BuildImageNoForkMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="build-image-no-fork",
defaultPhase=PACKAGE,
requiresProject=true,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
public class BuildImageNoForkMojo
extends BuildImageMojo
Package an application into an OCI image using a buildpack, but without forking the
lifecycle. This goal should be used when configuring a goal
execution in your
build. To invoke the goal on the command-line, use build-image instead.- Since:
- 3.0.0
- Author:
- Stephane Nicoll
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractPackagerMojo
AbstractPackagerMojo.LayoutTypeNested classes/interfaces inherited from class AbstractDependencyFilterMojo
AbstractDependencyFilterMojo.ExcludeTestScopeArtifactFilter, AbstractDependencyFilterMojo.RuntimeArtifactFilter -
Field Summary
Fields inherited from class AbstractPackagerMojo
includeOptional, includeSystemScope, includeTools, project, projectHelper, sessionFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionBuildImageNoForkMojo(org.apache.maven.project.MavenProjectHelper projectHelper) -
Method Summary
Methods inherited from class BuildImageMojo
execute, getLayout, getLayoutFactoryMethods inherited from class AbstractPackagerMojo
getConfiguredPackager, getLibraries, getSourceArtifact, getTargetFileMethods inherited from class AbstractDependencyFilterMojo
filterDependencies, getDependencyURLs, setExcludeGroupIds, setExcludes, setIncludes, toURLMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
BuildImageNoForkMojo
@Inject public BuildImageNoForkMojo(org.apache.maven.project.MavenProjectHelper projectHelper)
-