On 7/1/2014 9:55 AM, Bill Burke wrote:
On 7/1/2014 9:51 AM, Stan Silvert wrote:
> On 7/1/2014 9:46 AM, Bill Burke wrote:
>> On 7/1/2014 9:36 AM, Stan Silvert wrote:
>>>> "All this stuff" is really just Apache Http Client, Jackson
and
>>>> Bouncycastle.
>>>>
>>>>
>>> Resteasy got pulled in as well. Maybe that was an error on my part?
>> Resteasy is not required for the adapter.
>>
>>
> Then we've got a problem in a module.xml somwhere.
>
> jackson-jaxrs depends on javax.ws.rs.ap depends on resteasy-jaxrs
Adapter doesn't depend on jackson-jaxrs either.
<module xmlns="urn:jboss:module:1.1"
name="org.keycloak.keycloak-undertow-adapter">
<resources>
<!-- Insert resources here -->
</resources>
<dependencies>
<module name="javax.api"/>
<module name="org.bouncycastle"/>
<module name="org.codehaus.jackson.jackson-core-asl"/>
<module name="org.codehaus.jackson.jackson-mapper-asl"/>
<module name="org.codehaus.jackson.jackson-xc"/>
<module name="org.apache.httpcomponents" />
<module name="javax.servlet.api"/>
<module name="org.jboss.logging"/>
<module name="io.undertow.core"/>
<module name="io.undertow.servlet"/>
<module name="org.keycloak.keycloak-adapter-core"/>
<module name="org.keycloak.keycloak-core"/>
</dependencies>
</module>
I think you did some work to refactor the undertow adapter right? So it
didn't need the servlet dependency?
Right. But it looks like I moved too many
of the jackson dependencies
from build to core-build. I'll clean this up and come up with a
proposal based on the minimum that needs to be moved.
Bill