Johann Reyes wrote:
Hello David

Actually yes, set the <export> flag to false

That's already in my configuration, the complete section for the plugin is:

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>hibernate3-maven-plugin</artifactId>
                                <version>2.0-alpha-1</version>
                                <configuration>
                    <components>
                        <component>
                                <name>hbm2hbmxml</name>
                                
<outputDirectory>target/classes</outputDirectory>
                                <!-- cannot use annotations yet
<implementation>annotationconfiguration</implementation>
                                 -->
                        </component>
                        <component>
                            <name>hbm2doc</name>

<implementation>annotationconfiguration</implementation>
                        </component>
                        <component>
                            <name>hbm2java</name>

<implementation>annotationconfiguration</implementation>
                        </component>
                        <component>
                            <name>hbm2ddl</name>

<implementation>annotationconfiguration</implementation>
                        </component>
                    </components>
                    <componentProperties>
                        <jdk5>true</jdk5>
                <outputfilename>database-schema.sql</outputfilename>
                        <export>false</export>
                        <update>false</update>
                        <drop>false</drop>
                        <create>false</create>
                        <format>true</format>
                        <packagename>mypackage.types</packagename>
                        <delimiter>go</delimiter>
                    </componentProperties>
                </configuration>
                <executions>
                    <execution>
                        <phase>process-classes</phase>
                        <goals>
                                <!--  <goal>hbm2ddl</goal> -->
                                <goal>hbm2hbmxml</goal>
                                <goal>hbm2cfgxml</goal>
                        </goals>
                    </execution><!--
                    <execution>
                        <id>site</id>
                        <phase>site</phase>
                        <goals>
                            <goal>hbm2doc</goal>
                        </goals>
                    </execution>  -->
                </executions>
                        </plugin>


--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

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

Reply via email to