Hi Jose,

On Monday 22 November 2004 23:01, Jose Gonzalez Gomez wrote:
>     I use to put all my domain classes in a subproject, so
> maven/xdoclet/hibernate do their magic and generate all the mapping
> files, and then, in the place where I use them (EJB layer, web layer,
> wherever) I put the generated jar as a dependency, and create a
> hibernate.cfg.xml in src/resources (or whatever your resources are)
> pointing to the database holding the data.

Right... i really like this one artifact(?) per project rule. I'd probably 
never do something like that without maven, but can already see how 
components become easier to reuse with this rule. I even started working out 
different packaging/deployment scenarios for my EAR!

Many thanks for your help,

Manos

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to