Make method to retrieve maven version from projects main pom.xml