<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I've created RESTEASY-1513 "Deprecate jackson 1". Thanks,
Alessio.<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/27/2016 04:32 PM, Alessio Soldano
wrote:<br>
</div>
<blockquote
cite="mid:163ccbd6-8592-ed02-50d1-89c0dab4e9fb@redhat.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Il 27/09/2016 19:17, Ron Sigal ha
scritto:<br>
</div>
<blockquote
cite="mid:1aab1a7d-1454-713d-7b4c-d19df55c2255@redhat.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<p>The Resteasy users guide says</p>
<p> </p>
<blockquote type="cite">
<h2 class="title"><a moz-do-not-send="true" id="d4e1090">21.4. Using
Jackson 2.2.x Inside of JBoss AS7</a></h2>
<a moz-do-not-send="true" id="d4e1090">
<p>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.</p>
<pre xmlns="" xmlns:d="http://docbook.org/ns/docbook" xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory" class=""><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> </pre>
</a></blockquote>
<br>
<p>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?</p>
</blockquote>
I agree, it predates WFLY, which is when Jackson 2 was pulled in
afaics.<br>
<br>
<blockquote
cite="mid:1aab1a7d-1454-713d-7b4c-d19df55c2255@redhat.com"
type="cite">
<p>And what about</p>
<p> </p>
<blockquote type="cite">To enable JacksonJsonpInterceptor in
WildFly, you need to import annotations from <code
class="literal">org.jboss.resteasy.resteasy-jackson-provider</code>
module using jboss-deployment-structure.xml:
<pre xmlns="" xmlns:d="http://docbook.org/ns/docbook" xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory" class=""><jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.jboss.resteasy.resteasy-jackson-provider" annotations="true"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
</pre>
</blockquote>
<p>That also seems to be outdated. Thanks.<br>
</p>
</blockquote>
+1<br>
<br>
Cheers<br>
Alessio
<p><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
resteasy-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:resteasy-dev@lists.jboss.org">resteasy-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/resteasy-dev">https://lists.jboss.org/mailman/listinfo/resteasy-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
My company's smarter than your company (unless you work for Red Hat)</pre>
</body>
</html>