The thing is, both modules are "core". Module B adds to module A functionality. I would like to be able to deploy coreA +webappA independently of moduleB.
I found some posts on various lists about hibernate3 scanning jars, but it is not very well documented in the hibernate3 maven plugin page. Maybe this could be my solution? Anyone with experience on how to make this work? 2010/7/10 Matt Raible <m...@raibledesigns.com> > Just run the hibernate command from the core module and remove it from the > web module. > > > On Wed, Jul 7, 2010 at 2:17 AM, Josep García <jgar...@isigma.es> wrote: > >> Hello, >> I am working with AppFuse 2.0.2: Struts2 + Spring >> >> Being in the process of converting an app to modular, I now have this >> problem: >> >> - moduleA: Packaged as jar, ok. Has his >> src/main/resources/hibernate.cfg.xml >> - moduleB: Same. References entities from moduleA. >> >> Problem is: >> mvn hibernate3:hbm2ddl gives an error as does not find entities from >> moduleA. >> >> Josep >> >> >