Package nl.lexemmens.podman
Class BuildMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- nl.lexemmens.podman.AbstractPodmanMojo
-
- nl.lexemmens.podman.BuildMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="build", defaultPhase=INSTALL) public class BuildMojo extends AbstractPodmanMojoBuildMojo for building container images using Podman
-
-
Field Summary
-
Fields inherited from class nl.lexemmens.podman.AbstractPodmanMojo
batch, CATALOG_ARTIFACT_NAME, CATALOG_HEADER, failOnMissingContainerfile, images, podman, PODMAN_DIRECTORY, project, pushRegistry, registries, resolvedImages, settings, skip, skipAuth, skopeo
-
-
Constructor Summary
Constructors Constructor Description BuildMojo()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteInternal(ServiceHub hub)Executes this Mojo internally.protected booleanskipGoal()Check if the execution of the mojo should be skipped-
Methods inherited from class nl.lexemmens.podman.AbstractPodmanMojo
checkAuthentication, execute, getFullImageNameWithPushRegistry, initImageConfigurations, requireImageConfiguration, singleImageConfigurationToFullImageList
-
-
-
-
Method Detail
-
executeInternal
public void executeInternal(ServiceHub hub) throws org.apache.maven.plugin.MojoExecutionException
Description copied from class:AbstractPodmanMojoExecutes this Mojo internally.- Specified by:
executeInternalin classAbstractPodmanMojo- Parameters:
hub- AServiceHubinstance providing access to relevant services- Throws:
org.apache.maven.plugin.MojoExecutionException- In case anything happens during execution which prevents execution from continuing
-
skipGoal
protected boolean skipGoal()
Description copied from class:AbstractPodmanMojoCheck if the execution of the mojo should be skipped- Specified by:
skipGoalin classAbstractPodmanMojo- Returns:
- whether the mojo should be skipped
-
-