try to support java 7 in older maven versions
Merge branch 'master' of https://github.com/martinsakac/pa165