Github user neykov commented on the pull request:

    
https://github.com/apache/incubator-brooklyn/pull/1140#issuecomment-172521426
  
    @CMoH, here are my thoughts on 4. The good news is that there is source 
code level compatibility between the libraries as far as annotations/resources 
are involved so we can compile with one or the other. Having this in mind, I 
suggest the following plan:
      1. `rest-api`: create a maven profile to conditionally compile with 
either jersey or CXF
      2. `rest-server`: move all jersey specific code to a `src/jersey/` folder 
(hopefully just a handful of files)
      3. `rest-server`: re-implement identical functionality in `src/cxf/` 
folder but depending on CXF
      4. `rest-server`: create a maven profile to conditionally compile one or 
the other
      5. `rest-client`: same as `rest-server`
      6. mail the dev list, warning of the transient dependency change and 
possible API changes
      7. flip the default profile so we use CXF now, leaving jersey still 
there, but not in the official build (may be after next release?)
      8. after one more release remove jersey code and profiles


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to