MVN

io.github.git-commit-id : git-commit-id-maven-plugin

Maven & Gradle

May 24, 2023
1 usages
1.6k stars

Git Commit Id Maven Plugin · This plugin makes basic repository information available through maven resources. This can be used to display "what version is this?" or "who has deployed this and when, from which branch?" information at runtime, making it easy to find things like "oh, that isn't deployed yet, I'll test it tomorrow" and making both testers and developers life easier. See https://github.com/git-commit-id/git-commit-id-maven-plugin

<plugin>
    <groupId>io.github.git-commit-id</groupId>
    <artifactId>git-commit-id-maven-plugin</artifactId>
    <version>5.0.1</version>
</plugin>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of io.github.git-commit-id : git-commit-id-maven-plugin to add to Maven - Latest Versions:

  • Latest Stable: 5.0.1

All Versions

Choose a version of io.github.git-commit-id : git-commit-id-maven-plugin to add to Maven - All Versions:

Version Vulnerabilities Updated
6.0.x
git-commit-id-maven-plugin-6.0.0
5.0.x
git-commit-id-maven-plugin-5.0.1
git-commit-id-maven-plugin-5.0.0
4.9.x
git-commit-id-maven-plugin-4.9.9

How to add a plugin to Maven

Add the maven plugin to the pom.xml file information in this tag as follows:

<plugin>
    <groupId>io.github.git-commit-id</groupId>
    <artifactId>git-commit-id-maven-plugin</artifactId>
    <version>5.0.1</version>
</plugin>

Advertisement