resteasy/Resteasy — pull request #428 by mkouba (2013-12-04 12:18:28+00:00)
Title: RESTEASY-991 CDI integration - make use of @WithAnnotations (CDI 1.1)

Note that this change should not make the integration code CDI 1.0 incompatible as annotations should have no direct effect on the operation of the code and so @WithAnnotations should be silently ignored.

I did not add an integration test because I was not sure where such test should be placed? The extension was tested on the current WidFly master and I also sent a pull request with integration test to WildFly repo [1]. However, I think it would make sense to have integration tests for both CDI 1.0 and CDI 1.1 containers in RESTEasy codebase.

[1]
https://github.com/wildfly/wildfly/pull/5565