automatically extract the version from pom.xml