@Mojo(name="resource",
defaultPhase=PROCESS_RESOURCES,
requiresDependencyResolution=COMPILE)
public class ResourceMojo
extends AbstractJKubeMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCKER_BUILD_TIMESTAMP |
protected Boolean |
failOnValidationError |
protected org.eclipse.jkube.kit.build.service.docker.config.handler.ImageConfigResolver |
imageConfigResolver |
protected List<org.eclipse.jkube.kit.config.image.ImageConfiguration> |
images |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper |
protected List<org.eclipse.jkube.kit.config.image.ImageConfiguration> |
resolvedImages |
protected boolean |
skipResource |
protected Boolean |
skipResourceValidation |
access, buildStrategy, clusterAccess, DEFAULT_LOG_PREFIX, environment, interpolateTemplateParameters, javaProject, jkubeServiceHub, log, mojoExecution, namespace, offline, project, resourceDir, resourceFileType, resources, securityDispatcher, session, settings, skip, targetDir, useColor, verbose, workDir| Constructor and Description |
|---|
ResourceMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeInternal() |
protected org.eclipse.jkube.kit.config.resource.PlatformMode |
getPlatformMode() |
protected ResourceClassifier |
getResourceClassifier() |
protected org.eclipse.jkube.kit.config.resource.RuntimeMode |
getRuntimeMode() |
protected boolean |
shouldSkip() |
createLogger, execute, getKitLogger, getLogPrefix, getResources, getSettings, init, initClusterConfiguration, initJKubeServiceHubBuilderpublic static final String DOCKER_BUILD_TIMESTAMP
@Component protected org.eclipse.jkube.kit.build.service.docker.config.handler.ImageConfigResolver imageConfigResolver
@Parameter(property="jkube.skipResourceValidation",
defaultValue="false")
protected Boolean skipResourceValidation
@Parameter(property="jkube.failOnValidationError",
defaultValue="false")
protected Boolean failOnValidationError
@Parameter protected List<org.eclipse.jkube.kit.config.image.ImageConfiguration> images
protected List<org.eclipse.jkube.kit.config.image.ImageConfiguration> resolvedImages
@Parameter(property="jkube.skip.resource",
defaultValue="false")
protected boolean skipResource
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
protected boolean shouldSkip()
shouldSkip in class AbstractJKubeMojopublic void executeInternal()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
executeInternal in class AbstractJKubeMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected org.eclipse.jkube.kit.config.resource.RuntimeMode getRuntimeMode()
getRuntimeMode in class AbstractJKubeMojoprotected org.eclipse.jkube.kit.config.resource.PlatformMode getPlatformMode()
protected ResourceClassifier getResourceClassifier()
Copyright © 2023. All rights reserved.