Johann,

so are you saying this supports ddl generation from hbm.xml files (vs using
hibernate.cfg.xml)? Not clear to me how one references the location of
hbm.xml files?
 

Johann Reyes-4 wrote:
> 
> Hello Ryan
> 
> You can do it the following way with the new test version of the plugin:
> 
>       <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>hibernate3-maven-plugin</artifactId>
>         <version>3.0-SNAPSHOT</version>
>         <configuration>
>           <hibernatetool>
>             <configuration/>
>             <hbm2ddl outputfilename="schema-gen.ddl.sql" format="true" />
>             <hbm2ddl update="true" create="false" />
>           </hibernatetool>
>         </configuration>
>       </plugin>
> 
> Regards
> 
> Johann Reyes
> 

-- 
View this message in context: 
http://old.nabble.com/Configuring-hibernate3-maven-plugin-tp23843685p28441442.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to