@Mojo(name="build",
defaultPhase=PRE_INTEGRATION_TEST,
requiresDependencyResolution=COMPILE)
public class BuildMojo
extends AbstractDockerMojo
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
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 |
|---|
BuildMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
executeDockerBuild() |
void |
executeInternal(ServiceHub hub)
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, useColorForLogginggetLog, getPluginContext, setLog, setPluginContextpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractDockerMojoorg.apache.maven.plugin.MojoExecutionExceptionpublic void executeInternal(ServiceHub hub) throws org.apache.maven.plugin.MojoExecutionException
AbstractDockerMojoexecuteInternal in class AbstractDockerMojohub - context for accessing backendsorg.apache.maven.plugin.MojoExecutionExceptionpublic void executeDockerBuild()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2020. All rights reserved.