use java 8 to build it from maven