Maven: how to put in a Java source the project version defined in pom.xml

Recently I decided to insert a message during Kripton Persistence Library initialization at run-time which display library version. To accomplish this task I need to include in the source code the maven project version contained in pom.xml. Is there a plugin for maven that can help me? The answer is YES! It’s templating-maven-plugin. So, I…
Read more