What do you mean by "so my project includes the javaee-api-6.0 library"?
Do you mean 1. you have javaee-api-6.0 dependency in pom or 2.your OSGi bundle embed the javaee-api-6.0.jar?
You shouldn't embed javaee-api-6.0.jar nor have javaee-api-6.0 dependency in pom, and in your pom.xml you can just
if you need use
Btw, we have cxf-jaxrs example shipped with kit so you may need take a look.
I don't have the jee dependency in my pom but it appears as an indirect dependency in my NetBeans dependencies list. I'm not at work at the moment so I can't try anything til Monday but when I am back at work I will locate what dependency is using it and try and rid myself of it.