Am Donnerstag, 16. August 2007 19:56 schrieb Mathias P.W Nilsson:
> Thanks for you pation but it still doesn't work
>
> I get this for all my classes. I'm using annotations. Worked perfectly when
> I was using ant.
>

this is my pom snippte and it works with 
    mvn process-resources hibernate3:hbm2ddl
i am not using annotations but maybe it helps you in any way.

<plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>hibernate3-maven-plugin</artifactId>
                                <version>2.0-alpha-1</version>
                                <dependencies>
                                        <dependency>
                                                <groupId>log4j</groupId>
                                                <artifactId>log4j</artifactId>
                                                <version>1.2.13</version>
                                        </dependency>
                                        <dependency>
                                                <groupId>postgresql</groupId>
                                                
<artifactId>postgresql</artifactId>
                                                <version>8.2-504.jdbc3</version>
                                        </dependency>
                                </dependencies>
                                <configuration>
                                        <components>
                                                <component>
                                                        <name>hbm2ddl</name>
                                                        
<implementation>configuration</implementation>
                                                </component>
                                                <component>
                                                        <name>hbm2doc</name>
                                                        
<implementation>configuration</implementation>
                                                </component>
                                        </components>
                                        <componentProperties>
                                                <export>false</export>
                                                <update>false</update>
                                                <drop>false</drop>
                                                <create>true</create>
                                                <jdk5>true</jdk5>
                                                <format>true</format>
                                                
<propertyfile>/target/classes/hibernate.properties</propertyfile>
                                                
<outputfilename>schema.sql</outputfilename>
                                                <fileset>
                                                        
<include>**/*.hbm.xml</include>
                                                </fileset>
                                        </componentProperties>
                                </configuration>
                        </plugin>


kind regards,
janning


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

Reply via email to