Github user CMoH commented on the pull request:
https://github.com/apache/incubator-brooklyn/pull/1140#issuecomment-172388216
@andreaturli It seems the duplication of the rest-api is already proven a
bad idea by the fact that you are working only on a copy of it. I hope that I
can undo that duplication.
Back to the issues at hand:
2. I have tried using ```@FormParam``` for ```multipart/form-data```, but
that does not work. I'll remove the method for now. I guess we'll find out if
anyone thinks its absolutely necessary, and we'll take it from there.
4. JAX-RS 2.0 should be backward compatible syntactically with JAX-RS 1.1.
However the classes themselves are from different jars, so CXF was unable to
find resource methods when looking for annotations. I'll try replacing
```jsr311-api.jar``` with ```javax.ws.rs-api.jar``` and hope that Jersey-1.x
will still work.
---
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.
---