Updated to latest Java and Maven versions.