@Mojo(name="source",
defaultPhase=PACKAGE)
public class SourceMojo
extends AbstractBuildSupportMojo
BuildImageSelectMode, the alias name of the build configuration.autoPull, CONTEXT_KEY_BUILD_TIMESTAMP, CONTEXT_KEY_LOG_DISPATCHER, CONTEXT_KEY_START_CALLED, DOCKER_BUILD_TIMESTAMP, dockerAccessFactory, execution, imageConfigResolver, imageName, imagePullPolicy, keepContainer, log, project, registry, removeVolumes, serviceHubFactory, session, settings, skipExtendedAuth, useColor, verbose| Constructor and Description |
|---|
SourceMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeInternal(ServiceHub hub)
Hook for subclass for doing the real job
|
protected boolean |
isDockerAccessRequired()
Override this if your mojo doesnt require access to a Docker host (like creating and attaching
docker tar archives)
|
createMojoParameters, getBuildContextcontextualize, customizeConfig, execute, getBuildTimestamp, getBuildTimestampFile, getDockerAccessContext, getImagePullManager, getLogDispatcher, getLogPrefix, getPomLabel, getReferenceDate, getRegistryConfig, getResolvedImages, getVolumesprotected void executeInternal(ServiceHub hub) throws DockerAccessException, org.apache.maven.plugin.MojoExecutionException
AbstractDockerMojoexecuteInternal in class AbstractDockerMojohub - context for accessing backendsDockerAccessExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected boolean isDockerAccessRequired()
AbstractDockerMojoisDockerAccessRequired in class AbstractDockerMojotrue as the default valueCopyright © 2018. All rights reserved.