@Mojo(name="push",
defaultPhase=INSTALL,
requiresDependencyResolution=COMPILE)
public class PushMojo
extends io.fabric8.maven.docker.PushMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
skip |
protected boolean |
skipPush |
autoPull, CONTEXT_KEY_BUILD_TIMESTAMP, CONTEXT_KEY_LOG_DISPATCHER, CONTEXT_KEY_START_CALLED, DOCKER_BUILD_TIMESTAMP, dockerAccessFactory, execution, imageConfigResolver, imagePullPolicy, keepContainer, log, project, registry, removeVolumes, serviceHubFactory, session, settings, skipExtendedAuth, useColor, verbose| Constructor and Description |
|---|
PushMojo() |
| Modifier and Type | Method and Description |
|---|---|
List<io.fabric8.maven.docker.config.ImageConfiguration> |
customizeConfig(List<io.fabric8.maven.docker.config.ImageConfiguration> configs)
Customization hook called by the base plugin.
|
void |
execute() |
protected String |
getLogPrefix() |
contextualize, getBuildTimestamp, getBuildTimestampFile, getDockerAccessContext, getGavLabel, getImagePullManager, getLogDispatcher, getReferenceDate, getRegistryConfig, getResolvedImages, getVolumes, isDockerAccessRequired@Parameter(property="fabric8.skip",
defaultValue="false")
protected boolean skip
@Parameter(property="docker.skip.push",
defaultValue="false")
protected boolean skipPush
protected String getLogPrefix()
getLogPrefix in class io.fabric8.maven.docker.AbstractDockerMojopublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class io.fabric8.maven.docker.AbstractDockerMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic List<io.fabric8.maven.docker.config.ImageConfiguration> customizeConfig(List<io.fabric8.maven.docker.config.ImageConfiguration> configs)
customizeConfig in interface io.fabric8.maven.docker.config.ConfigHelper.CustomizercustomizeConfig in class io.fabric8.maven.docker.AbstractDockerMojoconfigs - configuration to customizeCopyright © 2019. All rights reserved.