]
Dmitrii Tikhomirov updated WFLY-7800:
-------------------------------------
Git Pull Request:
Export jackson-jaxrs-json-provider dependency in
resteasy-jackson2-provider module
----------------------------------------------------------------------------------
Key: WFLY-7800
URL:
https://issues.jboss.org/browse/WFLY-7800
Project: WildFly
Issue Type: Bug
Components: REST
Reporter: Katerina Novotna
Assignee: Dmitrii Tikhomirov
RFE EAP7-608, Introduces Jackson 2 JsonFilter annotation support for Resteasy.
This cannot be used without explicitly defined dependency for jackson-jaxrs-json-provider
in the deployment.
*Actual behaviour:*
Currently a deployment with the resource using JsonFilter annotation must have
com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider dependency specified in the
MANIFEST file in order to correctly deploy.
See example -
https://github.com/resteasy/Resteasy/blob/master/testsuite/integration-te...
*Expected behaviour*:
There is no need to add explicit dependency into the deployment.
Dependencies in the
modules/system/layers/base/org/jboss/resteasy/resteasy-jackson2-provider/main/module.xml
shall be updated to export jackson-jaxrs-json-provider.
{code:java}
<dependencies>
<module name="com.fasterxml.jackson.core.jackson-annotations"
export="true"/>
<module name="com.fasterxml.jackson.core.jackson-core"
export="true"/>
<module name="com.fasterxml.jackson.core.jackson-databind"
export="true"/>
<module
name="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider"
export="true"/>
...
{code}