support maven compile and make default compile level to java 1.5