Update README.md

This commit is contained in:
Braydon 2023-08-03 06:49:23 -04:00
parent 490bf66849
commit 42821295b1

View File

@ -4,6 +4,7 @@ This plugin seamlessly converts standard "-SNAPSHOT" versions into a more descri
-dev-{gitDepth}-{gitHash}", allowing you to gain valuable insights into the exact commit from which each jar was built.
# Usage
1. Add the plugin to your pom.xml:
```xml
<build>
<plugins>
@ -30,3 +31,4 @@ This plugin seamlessly converts standard "-SNAPSHOT" versions into a more descri
</pluginRepository>
</pluginRepositories>
```
2. Build your project with `mvn package` (or `mvn git-versioning:versioning` if you just want to see data)