@Mojo(name="push",
defaultPhase=INSTALL,
requiresDependencyResolution=COMPILE)
public class PushMojo
extends io.fabric8.maven.docker.PushMojo
Modifier and Type | Field and Description |
---|---|
protected GoalFinder |
goalFinder |
protected boolean |
skip |
autoPull, CONTEXT_KEY_BUILD_TIMESTAMP, CONTEXT_KEY_LOG_DISPATCHER, CONTEXT_KEY_PREVIOUSLY_PULLED, CONTEXT_KEY_START_CALLED, DOCKER_BUILD_TIMESTAMP, dockerAccessFactory, execution, imageConfigResolver, 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, getConfiguredRegistry, getDockerAccessContext, getLogDispatcher, getPomLabel, getReferenceDate, getRegistryConfig, getResolvedImages, getVolumes, isDockerAccessRequired
@Parameter(property="fabric8.skip", defaultValue="false") protected boolean skip
@Component protected GoalFinder goalFinder
protected String getLogPrefix()
getLogPrefix
in class io.fabric8.maven.docker.AbstractDockerMojo
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class io.fabric8.maven.docker.AbstractDockerMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public 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.Customizer
customizeConfig
in class io.fabric8.maven.docker.AbstractDockerMojo
configs
- configuration to customizeCopyright © 2020. All rights reserved.