Utility to check if the pom and pom.template files are the same