Add pom.xml to allow Maven compile of Java examples.
Update artifact groupId, artifactId, and packaging.
Merge pull request #439 from beckerdo/master

Provide a pom.xml so Java examples can be built with Maven