[jboss-jira] [JBoss JIRA] (WFLY-7800) Export jackson-jaxrs-json-provider dependency in resteasy-jackson2-provider module

Katerina Novotna (JIRA) issues at jboss.org
Wed Dec 14 12:16:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-7800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Katerina Novotna moved JBEAP-7886 to WFLY-7800:
-----------------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-7800  (was: JBEAP-7886)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: REST
                           (was: REST)
    Affects Version/s:     (was: 7.1.0.DR9)


> 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
>
> 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