@Mojo(name="watch",
defaultPhase=PACKAGE,
requiresDependencyResolution=COMPILE)
@Execute(goal="deploy")
public class WatchMojo
extends AbstractDockerMojo
implements ManifestProvider
access, apiVersion, authConfig, authConfigFactory, autoCreateCustomNetworks, autoPull, buildArgs, buildRecreate, buildStrategy, certPath, clusterAccess, containerNamePattern, CONTEXT_KEY_BUILD_TIMESTAMP, CONTEXT_KEY_LOG_DISPATCHER, DMP_PLUGIN_DESCRIPTOR, DOCKER_BUILD_TIMESTAMP, DOCKER_EXTRA_DIR, dockerAccessFactory, dockerHost, enricher, environment, filter, forcePull, generator, imageConfigResolver, imagePullPolicy, images, javaProject, jkubeServiceHub, keepContainer, keepRunning, log, logDate, logStdout, machine, maxConnections, minimalApiVersion, offline, outputDirectory, plexusContainer, profile, project, projectHelper, pullRegistry, registry, removeVolumes, resolvedImages, resourceDir, resources, runtimeMode, serviceHubFactory, session, settings, skip, skipBuild, skipBuildPom, skipExtendedAuth, skipMachine, sourceDirectory, useColor, useProjectClasspath, verbose, watchFollow, watchInterval, watchMode, watchPostExec, watchPostGoal, watchShowLogs| Constructor and Description |
|---|
WatchMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.jkube.kit.common.KitLogger |
createLogger(String prefix) |
void |
executeInternal()
Hook for subclass for doing the real job
|
protected org.eclipse.jkube.generator.api.GeneratorContext.GeneratorContextBuilder |
generatorContextBuilder() |
File |
getKubernetesManifest() |
protected org.eclipse.jkube.kit.build.service.docker.watch.WatchContext |
getWatchContext() |
protected void |
init() |
buildServiceConfigBuilder, callBuildPlugin, canExecute, contextualize, customizeConfig, execute, executeBuildPlugins, extractEnricherConfig, extractGeneratorConfig, getAndEnsureOutputDirectory, getConfiguredRuntimeMode, getDockerAccessContext, getEnricherContext, getGavLabel, getJKubeBuildStrategy, getKitLogger, getLogDispatcher, getLogPrefix, getRegistryConfig, getResolvedImages, initClusterConfiguration, initJKubeConfiguration, isDockerAccessRequired, logException, processDmpPluginDescription, shouldSkipBecauseOfPomPackaging, useColorForLogginggetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetManifestgetKitLoggerpublic File getKubernetesManifest()
getKubernetesManifest in interface ManifestProviderprotected void init()
init in class AbstractDockerMojopublic void executeInternal()
throws org.apache.maven.plugin.MojoExecutionException
AbstractDockerMojoexecuteInternal in class AbstractDockerMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected org.eclipse.jkube.generator.api.GeneratorContext.GeneratorContextBuilder generatorContextBuilder()
throws org.apache.maven.artifact.DependencyResolutionRequiredException
generatorContextBuilder in class AbstractDockerMojoorg.apache.maven.artifact.DependencyResolutionRequiredExceptionprotected org.eclipse.jkube.kit.common.KitLogger createLogger(String prefix)
protected org.eclipse.jkube.kit.build.service.docker.watch.WatchContext getWatchContext()
throws org.apache.maven.artifact.DependencyResolutionRequiredException,
IOException
org.apache.maven.artifact.DependencyResolutionRequiredExceptionIOExceptionCopyright © 2021. All rights reserved.