-
1. Re: Correct way for (not) deploying RestEasy in JBoss 7.1 Apps?
tim99 Mar 6, 2012 8:20 AM (in response to tim99)No ideas?
-
2. Re: Correct way for (not) deploying RestEasy in JBoss 7.1 Apps?
zeeman Mar 7, 2012 10:53 AM (in response to tim99)Your mvn config does not look right. Find a good example of how to add dependencies to as7 via maven.
An alternative way of doing this: create a file named jboss-deployment-structure.xml under web-inf and put in it your depenendencies. What I use:
<jboss-deployment-structure>
<deployment>
<!-- <exclusions> -->
<!-- </exclusions> -->
<dependencies>
<module name="org.apache.commons.collections" />
<module name="org.apache.commons.codec" />
<module name="org.codehaus.jackson.jackson-mapper-asl" />
<module name="org.codehaus.jackson.jackson-core-asl" />
<module name="org.jboss.resteasy.resteasy-jaxrs" />
<module name="org.jboss.logging" />
<module name="org.jboss.logmanager" />
<module name="org.apache.httpcomponents" />
</dependencies>
</deployment>
</jboss-deployment-structure>