Skip to content

AlexMeowler/docker-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Maven Plugin

example workflow
A simple Maven plugin to automatically rebuild image and/or run it in container after building project executable file.

Prerequisites

  • Maven 3.8.3 or higher
  • Java 11 or higher

Usage

Just copy this into your project POM. containerName and imageName are mandatory parameters!

   <plugin>
        <groupId>org.retal</groupId>
        <artifactId>docker-maven-plugin</artifactId>
        <version>0.3.0</version>
        <executions>
            <execution>
            <goals>
                <goal>docker-update-container</goal>
            </goals>
            <configuration>
                <containerName>containerName</containerName>
                <imageName>imageName</imageName>
            </configuration>
            </execution>
        </executions>
    </plugin>

Documentation

To be added

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published