Retrieve version from maven pom.xml in java

Today we will discuss working with pom.xml. Suppose you have a web application and you want to print its current version in some part of the page.
Of course you can save the version in a separate parameter and read from there. But there is an option better. We can determine the version by reading it directly from pom.xml.

Continue reading “Retrieve version from maven pom.xml in java”