I try to get a db schema out of maven. Here is my configuration

<build>
        <plugins>
                <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>hibernate3-maven-plugin</artifactId>
                        <version>2.0-alpha-2</version>
                        <configuration>
                                <components>
                                        <component>
                                                <name>hbm2ddl</name>
                                                
<implementation>annotationconfiguration</implementation>
                                                
                                        </component>
                                        <component>
                                                <name>hbm2hbmxml</name>
                                                
<outputDirectory>src/main/resources</outputDirectory>
                                        
                                        </component>
                                </components>
                                <componentProperties>
                                        <drop>true</drop>
                                        <create>true</create>
                                
<configurationfile>src/main/resources/hibernate.cfg.xml</configurationfile>
                                                
<outputfilename>schema.sql</outputfilename>
                                </componentProperties>
                        </configuration>
                </plugin>
        </plugins>
        <resources>
                <resource>
                        <directory>src/main/resources</directory>
                        <filtering>true</filtering>
                </resource>
        </resources>
  </build>

this does not produce any result? When does this run and how can I run the
plugin?
-- 
View this message in context: 
http://www.nabble.com/hibernate3-maven-plugin-not-running-tf4280489s177.html#a12183982
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to