Generate source files that contains maven artifact informations
View the Project on GitHub eskatos/artifactinfo-maven-plugin
artifactinfo-maven-plugin generate java code with constants containing maven project metadata for use in you programs.
The project is hosted in maven central. here you'll find a quick copy/paste for the dependency.
Very simple to use: