Solving mvn errors with Java 1.3