maven@3.0: make the test Java 9 compatible
maven@3.0: make the test Java 9 compatible

JDK 9 dropped support of source and target 1.5, however they
are the default for maven. This commit changes this.

Also it removes the warning about file encoding.

robohack/homebrew-core,robohack/homebrew-core