[resteasy-dev] RESTEASY-1486 and jackson

Ron Sigal rsigal at redhat.com
Tue Sep 27 17:55:27 EDT 2016


I've created RESTEASY-1513 "Deprecate jackson 1". Thanks, Alessio.


On 09/27/2016 04:32 PM, Alessio Soldano wrote:
> Il 27/09/2016 19:17, Ron Sigal ha scritto:
>>
>> The Resteasy users guide says
>>
>>>
>>>     21.4. Using Jackson 2.2.x Inside of JBoss AS7
>>>
>>> If you want to use Jackson 2.2.x inside of JBoss AS7 you'll have to 
>>> create a jboss-deployment-structure.xml file within your WEB-INF 
>>> directory. By default AS7 includes the Jackson 1.9.x JAX-RS 
>>> integration, so you'll want to exclude it from your dependencies, 
>>> and add the jackson2 ones.
>>>
>>> <jboss-deployment-structure>
>>>      <deployment>
>>>          <exclusions>
>>>             <module name="org.jboss.resteasy.resteasy-jackson-provider"/>
>>>          </exclusions>
>>>          <dependencies>
>>>              <module name="org.jboss.resteasy.resteasy-jackson2-provider" services="import"/>
>>>          </dependencies>
>>>      </deployment>
>>> </jboss-deployment-structure>
>>
>> Besides the fact that we're referring to AS 7 (maybe we should also 
>> address JBoss 4.2.3.Final, my favorite), I'm guessing that this step 
>> is no longer necessary. Can someone verify that?
>>
> I agree, it predates WFLY, which is when Jackson 2 was pulled in afaics.
>
>> And what about
>>
>>> To enable JacksonJsonpInterceptor in WildFly, you need to import 
>>> annotations from |org.jboss.resteasy.resteasy-jackson-provider| 
>>> module using jboss-deployment-structure.xml:
>>> <jboss-deployment-structure>
>>>    <deployment>
>>>      <dependencies>
>>>        <module name="org.jboss.resteasy.resteasy-jackson-provider" annotations="true"/>
>>>      </dependencies>
>>>    </deployment>
>>> </jboss-deployment-structure>
>>
>> That also seems to be outdated. Thanks.
>>
> +1
>
> Cheers
> Alessio
>
>
>
>
> _______________________________________________
> resteasy-dev mailing list
> resteasy-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/resteasy-dev

-- 
My company's smarter than your company (unless you work for Red Hat)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/resteasy-dev/attachments/20160927/398e9267/attachment.html 


More information about the resteasy-dev mailing list