allow 1.7 or 1.8
Merge branch 'features/karaf-2.4.0' into features/java8
1.8-only