Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
podman:build Create a container image from the Containerfile directions and files from context
podman:container-rm Remove containers
podman:container-run Create containers
podman:containerfile Create a Containerfile.
podman:help Display help information on podman-maven-plugin.
Call mvn podman:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
podman:login Set credentials for use when pushing to (or pulling from) registry.
podman:push Push image to registry

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.6.3
JDK 11

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.honton.chas</groupId>
          <artifactId>podman-maven-plugin</artifactId>
          <version>0.0.5</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.honton.chas</groupId>
        <artifactId>podman-maven-plugin</artifactId>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"