Set scope of jax-rs dependency to compile