Remove old Maven 1 POM
Add explicit casting for Java 8 compiler - https://bugs.openjdk.java.net/browse/JDK-8044053