Class PodmanContainerRun
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.honton.chas.podman.maven.plugin.PodmanGoal
-
- org.honton.chas.podman.maven.plugin.container.PodmanContainer
-
- org.honton.chas.podman.maven.plugin.container.PodmanContainerRun
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="container-run", defaultPhase=PRE_INTEGRATION_TEST, threadSafe=true) public class PodmanContainerRun extends PodmanContainer
Create containers- Since:
- 0.0.4
-
-
Field Summary
-
Fields inherited from class org.honton.chas.podman.maven.plugin.container.PodmanContainer
devices
-
Fields inherited from class org.honton.chas.podman.maven.plugin.PodmanGoal
connection, errorOutput, pwd, url
-
-
Constructor Summary
Constructors Constructor Description PodmanContainerRun()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute(List<ContainerConfig> containerConfigs, String networkName)
String
lookupProperty(String mavenPropertyName)
void
setProperty(String mavenPropertyName, String mavenPropertyValue)
-
Methods inherited from class org.honton.chas.podman.maven.plugin.container.PodmanContainer
doExecute
-
Methods inherited from class org.honton.chas.podman.maven.plugin.PodmanGoal
createProcess, createProcess, execute, executeCommand, executeCommand, executeCommand, executeCommand, executeCommand, getExecutor
-
-
-
-
Method Detail
-
doExecute
protected void doExecute(List<ContainerConfig> containerConfigs, String networkName) throws IOException, org.apache.maven.plugin.MojoExecutionException
- Specified by:
doExecute
in classPodmanContainer
- Throws:
IOException
org.apache.maven.plugin.MojoExecutionException
-
-