[jboss-jira] [JBoss JIRA] (WFLY-7800) Export jackson-jaxrs-json-provider dependency in resteasy-jackson2-provider module
Dmitrii Tikhomirov (JIRA)
issues at jboss.org
Thu Dec 15 06:29:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-7800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitrii Tikhomirov reassigned WFLY-7800:
----------------------------------------
Assignee: Dmitrii Tikhomirov
> 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-tests/src/test/java/org/jboss/resteasy/test/providers/jackson2/jsonfilter/JsonFilterWithInterceptrTest.java#L38
> *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}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list