git-commit-id/git-commit-id-maven-plugin
Maven plugin which includes build-time git repository information into an POJO / *.properties). Make your apps tell you which version exactly they were built from! Priceless in large distributed deployments... :-) observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 98
- Release rhythm 77
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 5680
- days_rel: 152
- days_push: 16
- n_releases_24m: 4
Adoption not part of the score
1716 stars · 300 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Maven plugin that captures git repository information (commit id, branch, tags, dirty state) at build time and exposes it as pom.xml properties and a generated git.properties file. It lets applications report exactly which version they were built from at runtime.
Use cases
- embed git commit id into a maven build
- generate git.properties file for spring boot actuator /info endpoint
- show which version an app was built from in distributed deployments
- expose build-time git metadata as maven properties
- fail a build if the git working directory is dirty
- include git describe version info in artifacts
When to choose
- you build with Maven and want reproducible build provenance
- you need runtime access to the exact commit your binary was built from
- you want git info exposed to Spring Boot's info endpoint via git.properties
- you need to gate builds on repository cleanliness or branch names
When to avoid
- your project uses Gradle instead of Maven
- you don't use git for version control
- you only need a version number already managed in the pom without git metadata
- you need build info for non-Java toolchains
Facets
plugin · maturity stable
build-tool version-control developer-tools configuration-management developer-tools version-control jvm cross-platform maven-plugin git build-info versioning continuous-delivery git-properties build-automation devops automation maven
2 sources
- readme: https://github.com/git-commit-id/git-commit-id-maven-plugin · fetched 2026-08-28 · 2d1c40f87e48
- homepage: http://www.kto.so · fetched 2026-08-29 · db56734bf91b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| git-commit-id/git-commit-id-maven-plugin | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="git-commit-id/git-commit-id-maven-plugin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem