{"id":13615803,"url":"https://github.com/git-commit-id/git-commit-id-maven-plugin","last_synced_at":"2026-04-02T18:28:53.556Z","repository":{"id":37784952,"uuid":"1361792","full_name":"git-commit-id/git-commit-id-maven-plugin","owner":"git-commit-id","description":"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... :-)","archived":false,"fork":false,"pushed_at":"2025-04-28T08:32:06.000Z","size":3779,"stargazers_count":1668,"open_issues_count":28,"forks_count":302,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-05-12T05:02:52.963Z","etag":null,"topics":["build-automation","continuous-delivery","git","maven","maven-plugin","versioning"],"latest_commit_sha":null,"homepage":"http://www.kto.so","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/git-commit-id.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-02-13T13:55:14.000Z","updated_at":"2025-05-11T12:54:09.000Z","dependencies_parsed_at":"2024-01-01T12:29:02.537Z","dependency_job_id":"18cf8f63-10ac-457e-95e3-e1b846d19f9f","html_url":"https://github.com/git-commit-id/git-commit-id-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-commit-id%2Fgit-commit-id-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-commit-id%2Fgit-commit-id-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-commit-id%2Fgit-commit-id-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-commit-id%2Fgit-commit-id-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/git-commit-id","download_url":"https://codeload.github.com/git-commit-id/git-commit-id-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843975,"owners_count":21972987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-automation","continuous-delivery","git","maven","maven-plugin","versioning"],"created_at":"2024-08-01T20:01:18.193Z","updated_at":"2026-04-02T18:28:53.546Z","avatar_url":"https://github.com/git-commit-id.png","language":"Java","readme":"# maven git commit id plugin\n\n[![Build Status](https://github.com/git-commit-id/git-commit-id-maven-plugin/workflows/Java%20CI/badge.svg?branch=master)](https://github.com/git-commit-id/git-commit-id-maven-plugin/actions)\n[![Coverage Status](https://coveralls.io/repos/github/git-commit-id/git-commit-id-maven-plugin/badge.svg?branch=master)](https://coveralls.io/github/git-commit-id/git-commit-id-maven-plugin?branch=master)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.git-commit-id/git-commit-id-maven-plugin/badge.svg)](https://central.sonatype.com/artifact/io.github.git-commit-id/git-commit-id-maven-plugin)\n\nExports git version info to maven as properties in the `pom.xml` and as a file in the build output. Code generation and resource loading enable access to the build's version info at runtime.  \nUnsure if this addresses your problem? [Read about common use cases](docs/use-cases.md).\n\n## Quick Start\nThe plugin is **available from [Maven Central](https://central.sonatype.com/artifact/io.github.git-commit-id/git-commit-id-maven-plugin)**. Simply add the following to your `pom.xml`:\n```xml\n\u003cplugin\u003e\n    \u003cgroupId\u003eio.github.git-commit-id\u003c/groupId\u003e\n    \u003cartifactId\u003egit-commit-id-maven-plugin\u003c/artifactId\u003e\n    \u003cversion\u003e9.1.0\u003c/version\u003e\n    \u003cexecutions\u003e\n        \u003cexecution\u003e\n            \u003cid\u003eget-the-git-infos\u003c/id\u003e\n            \u003cgoals\u003e\n                \u003cgoal\u003erevision\u003c/goal\u003e\n            \u003c/goals\u003e\n            \u003cphase\u003einitialize\u003c/phase\u003e\n        \u003c/execution\u003e\n    \u003c/executions\u003e\n    \u003cconfiguration\u003e\n        \u003cgenerateGitPropertiesFile\u003etrue\u003c/generateGitPropertiesFile\u003e\n        \u003cgenerateGitPropertiesFilename\u003e${project.build.outputDirectory}/git.properties\u003c/generateGitPropertiesFilename\u003e\n        \u003ccommitIdGenerationMode\u003efull\u003c/commitIdGenerationMode\u003e\n    \u003c/configuration\u003e\n\u003c/plugin\u003e\n```\n\n## Minimum Requirements\n* Java 11\n* Maven 3.6.3\n\n## Documentation\n* [Use Cases](docs/use-cases.md)\n* [Configuration \u0026 Properties](docs/configuration-and-properties.md)\n* [Access Version Info At Runtime](docs/access-version-info-at-runtime.md)\n* [git describe](docs/git-describe.md)\n* [All Configuration Options as Javadoc](src/main/java/pl/project13/maven/git/GitCommitIdMojo.java)\n* [Frequently Asked Questions](docs/faq.md)\n* [Contributing](CONTRIBUTING.md)\n* [Releases](https://github.com/git-commit-id/git-commit-id-maven-plugin/releases)\n* [Old Versions](docs/old-versions.md)\n* [Snapshots](docs/snapshots.md)\n\n## Maintainers\nThis project is currently maintained thanks to: @ktoso (founder), @TheSnoozer\n\n## Notable contributions\nI'd like to give a big thanks to some of these folks, for their suggestions and / or pull requests that helped make this plugin as popular as it is today:\n\n* @mostr - for bugfixes and a framework to do integration testing,\n* @fredcooke - for consistent feedback and suggestions,\n* @MrOnion - for a small yet fast bugfix,\n* @cardil and @TheSnoozer - for helping with getting the native git support shipped,\n* all the other contributors (as of writing 50) which can be on the [contributors tab](https://github.com/git-commit-id/git-commit-id-maven-plugin/graphs/contributors) - thanks guys,\n* ... many others - thank you for your contributions,\n* ... you! - for using the plugin :-)\n\n## Notable happy users\n* [neo4j](https://neo4j.com/) – graph database\n* [FoundationdDB](https://www.foundationdb.org/) – another open source database\n* [Spring Boot](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-maven) – yes, the upstream Spring project is using us\n* Akamai, Sabre, EasyDITA, and many many others,\n* many others I don't know of.\n\n## License\n\u003cimg style=\"float:right; padding:3px; \" src=\"https://github.com/git-commit-id/git-commit-id-maven-plugin/raw/master/lgplv3-147x51.png\" alt=\"GNU LGPL v3\"/\u003e\n\nI'm releasing this plugin under the **GNU Lesser General Public License 3.0**.\n\nYou're free to use it as you wish, the full license text is attached in the LICENSE file.\n\n## Feature requests\nThe best way to ask for features / improvements is [via the Issues section on GitHub - it's better than email](https://github.com/git-commit-id/git-commit-id-maven-plugin/issues) because I won't loose when I have a \"million emails inbox\" day,\nand maybe someone else has some idea or would like to upvote your issue.\n\nThat's all folks! **Happy hacking!**\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-commit-id%2Fgit-commit-id-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgit-commit-id%2Fgit-commit-id-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-commit-id%2Fgit-commit-id-maven-plugin/lists"}