Fix pom so that we compile for a modern version of java.
rm unused files.