More updates to the POM files to allow for compiling with latest JRE