javax.ws.rs-api dependency scope set to provided as it comes bundled with GlassFish.