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

-----Original Message-----
From: Ryan Stewart [mailto:[email protected]] 
Sent: Wednesday, July 08, 2009 8:16 PM
To: [email protected]
Subject: Re: [mojo-user] Configuring hibernate3-maven-plugin



Rusty Wright-2 wrote:
> 
> Ryan, did you figure this out?  I have my hibernate config files in
> src/main/hbm and added that as a resource in my pom.xml:
> [...]
> 

No, I never got that ironed out. I think I see what you're getting at, but I
haven't had time to mess with that again recently. If I figure out a good
solution, I'll try to remember to post it back here.
-- 
View this message in context:
http://www.nabble.com/Configuring-hibernate3-maven-plugin-tp23843685p2440173
9.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



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

    http://xircles.codehaus.org/manage_email


Reply via email to