maven-docker-plugin

Docker Maven Plugin

License

License

Categories

Categories

Maven Build Tools Docker Container Virtualization Tools Jolokia Application Testing & Monitoring Monitoring
GroupId

GroupId

org.jolokia
ArtifactId

ArtifactId

docker-maven-plugin
Last Version

Last Version

0.13.9
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

maven-docker-plugin
Docker Maven Plugin
Project URL

Project URL

http://github.com/rhuss/docker-maven-plugin

Download docker-maven-plugin

How to add to project

<plugin>
    <groupId>org.jolokia</groupId>
    <artifactId>docker-maven-plugin</artifactId>
    <version>0.13.9</version>
</plugin>

Dependencies

compile (10)

Group / Artifact Type Version
com.google.guava : guava jar 18.0
org.apache.httpcomponents : httpclient jar 4.3.6
com.github.jnr : jnr-unixsocket jar 0.8
org.apache.commons : commons-lang3 jar 3.3.2
org.json : json jar 20140107
org.fusesource.jansi : jansi jar 1.11
org.bouncycastle : bcpkix-jdk15on jar 1.51
org.apache.maven.plugins : maven-assembly-plugin jar 2.5.1
joda-time : joda-time jar 2.8.2
org.yaml : snakeyaml jar 1.16

provided (7)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.2.3
org.apache.maven : maven-core jar 3.2.3
org.apache.maven : maven-model jar 3.2.3
org.apache.maven : maven-artifact jar 3.2.3
org.sonatype.plexus : plexus-sec-dispatcher jar 1.3
org.codehaus.plexus : plexus-utils jar 3.0.17
org.codehaus.plexus : plexus-component-annotations jar 1.5.5

test (5)

Group / Artifact Type Version
org.jmockit : jmockit jar 1.10
org.mockito : mockito-all jar 1.10.19
junit : junit jar 4.11
org.hamcrest : hamcrest-all jar 1.3
org.skyscreamer : jsonassert jar 1.2.3

Project Modules

There are no modules declared in this project.

docker-maven-plugin

Maven Central Circle CI Coverage Technical Debt

This is a Maven plugin for building Docker images and managing containers for integration tests. It works with Maven 3.0.5 and Docker 1.6.0 or later.

Goals

Goal Description Default Lifecycle Phase
docker:start Create and start containers pre-integration-test
docker:stop Stop and destroy containers post-integration-test
docker:build Build images install
docker:watch Watch for doing rebuilds and restarts
docker:push Push images to a registry deploy
docker:remove Remove images from local docker host post-integration-test
docker:logs Show container logs
docker:source Attach docker build archive to Maven project package
docker:save Save image to a file
docker:volume-create Create a volume to share data between containers pre-integration-test
docker:volume-remove Remove a created volume post-integration-test

Documentation

  • The User Manual [PDF] has a detailed reference for all and everything.
  • The Introduction is a high level overview of this plugin's features and provides an usage example. provided goals and possible configuration parameters.
  • Examples are below samples/ and contain example setups which you can use as blueprints for your own projects.
  • ChangeLog has the release history of this plugin.
  • Contributing explains how you can contribute to this project. Pull requests are highly appreciated!

Docker API Support

  • Docker 1.6 (v1.18) is the minimal required version
  • Docker 1.8.1 (v1.20) is required for docker:watch
  • Docker 1.9 (v1.21) is required for using custom networks and build args.

Versions

Version
0.13.9
0.13.8
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.5
0.11.5-M1
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2