On 06/10/2011 06:24 AM, Scott Marlow wrote:
> 1) When we say, we are adding implicit JPA dependencies to the
> > deployment, what exact modules are we adding? JPA spec API module
> > (javax.persistence.* classes) is fine. Are we adding Hibernate module as
> > a dependency too?
In JPADependencyProcessor, we are currently adding modules:
javax.persistence.api
javaee.api
org.jboss.as.jpa
org.hibernate
org.javassist
org.jboss.as.naming
We might not need all of these any more (javassist + naming especially).
I got it down to this set locally (probably a 7.1 change at this point):
javax.persistence.api
org.jboss.as.jpa
org.hibernate