Braydon
8c6ac4298c
Merge pull request 'chore: Configure Renovate' (#1) from renovate/configure into master
Some checks failed
Maven Publish / Publish to Maven (ubuntu-latest, 2.41.0 ) (push) Failing after 31s
Reviewed-on: #1
maven-git-versioning
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.
Usage
- Add the plugin to your pom.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>
- Build your project with
mvn package
(ormvn git-versioning:versioning
if you just want to see data)
Output
Description
Languages
Java
100%