Update README.md
This commit is contained in:
parent
011ecef3a6
commit
490bf66849
30
README.md
30
README.md
@ -1,4 +1,32 @@
|
|||||||
# maven-git-versioning
|
# maven-git-versioning
|
||||||
|
|
||||||
This plugin seamlessly converts standard "-SNAPSHOT" versions into a more descriptive format, "
|
This plugin seamlessly converts standard "-SNAPSHOT" versions into a more descriptive format, "
|
||||||
-dev-{gitDepth}-{gitHash}", allowing you to gain valuable insights into the exact commit from which each jar was built.
|
-dev-{gitDepth}-{gitHash}", allowing you to gain valuable insights into the exact commit from which each jar was built.
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
```xml
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>me.braydon</groupId>
|
||||||
|
<artifactId>git-versioning-maven-plugin</artifactId>
|
||||||
|
<version>1.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>compile</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>versioning</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>rainnny-repo-public</id>
|
||||||
|
<url>https://maven.rainnny.club/public</url>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user