Java 7 compile config for maven

@asyncore pls. review, merge and delete the branch