compile under jdk7
little changes in pom