Fix pom.xml for people using examples < Java 8

Added missing explicit jax-rs 2 depenedency