# spotify/dockerfile-maven

MATURE: A set of Maven tools for dealing with Dockerfiles

Repository: https://github.com/spotify/dockerfile-maven
Canonical: https://ross.abutalabs.com/products/dockerfile-maven
Language: Java
License: Apache-2.0
License Family: permissive
Topics: docker, maven, java
Archived: true
Last push: 2022-02-01T13:43:18+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3822, "days_push": 1674, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2733, forks 474 (observed 2026-08-28T04:07:16.194678+00:00)

## What it is
A Maven plugin that integrates Docker image building, tagging, and pushing into the Maven build lifecycle using Dockerfiles. It lets Maven goals like `mvn package` and `mvn deploy` build and push Docker images and supports inter-project image dependencies in the Maven reactor.

## Use cases
- build docker images from maven builds
- push docker images with mvn deploy
- integrate docker builds into maven lifecycle
- run multi-service integration tests with docker images in maven reactor
- tag docker images with project version automatically

## When to choose
- you use Maven and want Docker image builds tied to standard Maven phases
- you want simple Dockerfile-based builds without extra abstraction
- you need Maven reactor ordering across services with image dependencies

## When to avoid
- you need active development, new features, or non-critical bug fixes
- you use Gradle or a non-JVM build tool
- you want a plugin that builds images without a Dockerfile (e.g., Jib-style)

## Facets
- artifact type: plugin
- maturity: maintenance
- function: build-tool, deployment, container-runtime, ci-cd
- domain: developer-tools
- platform: jvm, cross-platform
- tags: maven-plugin, docker, dockerfile, java, container-images, devops, containers

## Member repositories
- spotify/dockerfile-maven (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:16.194678+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-30T02:14:30.419341+00:00, confidence not recorded.
  - readme: https://github.com/spotify/dockerfile-maven (fetched 2026-08-28T04:07:16.194678+00:00, sha 171dc9b8f3c8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
