# fabric8io/docker-maven-plugin

Maven plugin for running and creating Docker images

Repository: https://github.com/fabric8io/docker-maven-plugin
Canonical: https://ross.abutalabs.com/products/fabric8io-docker-maven-plugin
Homepage: https://dmp.fabric8.io
Language: Java
License: Apache-2.0
License Family: permissive
Topics: fabric8, docker, java, maven
Last push: 2026-08-25T14:20:37+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 64, longevity 100
- inputs: {"age_days": 4543, "days_push": 8, "days_rel": 24, "gap_med": 182, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1933, forks 655 (observed 2026-08-28T04:05:56.320768+00:00)

## What it is
A Maven plugin for building Docker images and managing Docker containers directly from the Maven build lifecycle. It supports goals for building, starting, stopping, tagging, pushing, and watching containers, including running containers for integration tests.

## Use cases
- build docker images from a maven project
- run docker containers for integration tests in maven build
- push docker images to a registry during maven deploy
- generate dockerfiles from maven assembly descriptors
- watch and rebuild docker images during development
- manage docker volumes and container lifecycle from maven

## When to choose
- your project uses Maven and you want Docker image builds integrated into the build lifecycle
- you need to start and stop containers around integration test phases
- you want to push images to registries as part of mvn deploy
- you prefer configuring images via Maven POM instead of separate Dockerfiles

## When to avoid
- your project uses Gradle or another build tool instead of Maven
- you need full Kubernetes deployment management rather than just Docker builds
- you prefer standalone Dockerfiles and docker CLI without build-tool integration

## Facets
- artifact type: plugin
- maturity: active
- function: build-tool, deployment, container-runtime, ci-cd, testing
- domain: developer-tools
- platform: jvm, cli
- tags: maven-plugin, docker, java, integration-testing, container-images, dockerfile, docker-compose, devops, containers, automation

## Member repositories
- fabric8io/docker-maven-plugin (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:56.320768+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:08:33.963673+00:00, confidence not recorded.
  - readme: https://github.com/fabric8io/docker-maven-plugin (fetched 2026-08-28T04:05:56.320768+00:00, sha c3cd417a1022)
  - homepage: https://dmp.fabric8.io (fetched 2026-08-29T10:47:52.717640+00:00, sha 54b7991aaa39)
- Data as of 2026-08-30T08:39:29.467469+00:00.
