Add properties and build sections to minimal pom.xml to set java version and UTF-8 encoding

Eliminate error and warning when packaging java / maven example.
Add properties and build sections to minimal pom.xml to set java version and UTF-8 encoding.