wordnik/swagger-core — pull request #87 by danielwegener (2012-12-10 07:47:44+00:00)
Title: Compile against JAX-RS and test against RI Jersey

Currently there are hard dependencies against the JAX-RS reference implementation Jersey in swagger-core. These commits remove all dependencies to jersey from compile and provided scope and bind jersey-servlet to the runtime classpath of the integration test container jetty. Further it adds jersey-client to the test scope of integration tests. This removes unnessesary dependencies from swagger-core and let it work better with JBoss containers (even AS) which uses Resteasy as JAX-RS implementation.

The code changes should not change any tested behaviour (tests are green). SampleExceptionMappers will no longer check for Jersey-specific exceptions and no longer bind Resources as @Singleton (which isnt nessesary anyway).