Plugin Documentation
Goals available for this plugin:
| Goal | Description |
|---|---|
| buildx:build | Create a container image from the Containerfile directions and files from context |
| buildx:containerfile | Create a Containerfile. |
| buildx:help | Display help information on buildx-maven-plugin.
Call mvn buildx:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. |
| buildx:login | Set credentials for use when pushing to (or pulling from) registry. |
| buildx:probe | Set buildx.cli property to 'podman' if docker is alias or link to podman |
| buildx:push | Push image to registry |
System Requirements
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 3.8.8 |
| JDK | 17 |
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>buildx-maven-plugin</artifactId>
<version>0.0.14</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.honton.chas</groupId>
<artifactId>buildx-maven-plugin</artifactId>
</plugin>
...
</plugins>
</build>
...
</project>For more information, see "Guide to Configuring Plug-ins"
