tweak pom files to include the source encoding, compiler plugin version and the use of latest versions of dependencies.