Fix tmfcore integration in order to be deployed as a Jax-rs 2.0 application