I write an addition to JAX-RS and included the Java EE 6 API as a Maven dependency.
javax
As for me, JBoss' implementation is smaller than the whole Glassfish, so I'm using:
org.jboss.spec jboss-javaee-6.0 ${version.jboss-javaee-6.0} pom
test should also do no harm.
test