Moved jax-rs dependency to provided scope where it belongs (every jax-rs project will already have it or equivalent). Also moved test scopes to bottom for clarity