@Mojo(name="push",
defaultPhase=INSTALL,
requiresDependencyResolution=COMPILE)
public class PushMojo
extends AbstractDockerMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
skipPush |
access, apiVersion, archive, authConfig, authConfigFactory, autoCreateCustomNetworks, autoPull, buildArgs, buildRecreate, buildStrategy, certPath, clusterAccess, containerNamePattern, CONTEXT_KEY_BUILD_TIMESTAMP, CONTEXT_KEY_LOG_DISPATCHER, CONTEXT_KEY_START_CALLED, DMP_PLUGIN_DESCRIPTOR, DOCKER_BUILD_TIMESTAMP, DOCKER_EXTRA_DIR, dockerAccessFactory, dockerHost, enricher, environment, filter, forcePull, generator, imageConfigResolver, imagePullPolicy, images, jkubeServiceHub, keepContainer, keepRunning, log, logDate, logStdout, machine, mavenFileFilter, mavenFilterReader, maxConnections, minimalApiVersion, mode, openshiftPullSecret, outputDirectory, plexusContainer, profile, project, projectHelper, pullRegistry, reactorProjects, registry, removeVolumes, repositorySystem, resolvedImages, resourceDir, resources, runtimeMode, s2iBuildNameSuffix, s2iImageStreamLookupPolicyLocal, serviceHubFactory, session, settings, skip, skipBuild, skipBuildPom, skipExtendedAuth, skipMachine, sourceDirectory, useColor, useProjectClasspath, verbose, watchInterval, watchMode, watchPostExec, watchPostGoal| Constructor and Description |
|---|
PushMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
executeInternal(ServiceHub serviceHub)
Hook for subclass for doing the real job
|
addSimpleDockerfileConfig, callBuildPlugin, contextualize, createMojoParameters, createSimpleDockerfileConfig, customizeConfig, executeBuildPlugins, extractEnricherConfig, extractGeneratorConfig, follow, getAndEnsureOutputDirectory, getBuildContext, getBuildServiceConfig, getBuildTimestamp, getBuildTimestampFile, getClusterConfiguration, getDockerAccessContext, getEnricherContext, getGavLabel, getGeneratorContext, getImagePullManager, getJKubeServiceHub, getLogDispatcher, getLogPrefix, getReferenceDate, getRegistryConfig, getResolvedImages, getSessionCacheStore, initImageConfiguration, isDockerAccessRequired, logException, processDmpPluginDescription, shouldSkipBecauseOfPomPackaging, showLogs, useColorForLogging@Parameter(property="docker.skip.push",
defaultValue="false")
protected boolean skipPush
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractDockerMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void executeInternal(ServiceHub serviceHub) throws org.apache.maven.plugin.MojoExecutionException
AbstractDockerMojoexecuteInternal in class AbstractDockerMojoserviceHub - context for accessing backendsorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2020. All rights reserved.