/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<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> <outputDirectory> target/derby-ddl </outputDirectory> </component> <component> <name>hbm2hbmxml</name> <outputDirectory> target/hbm </outputDirectory> </component> <component> <name>hbm2java</name> <outputDirectory> target/java </outputDirectory> <implementation> annotationconfiguration </implementation> </component> <component> <name>schema-export</name> <outputDirectory> target/schema-export </outputDirectory> </component> </components> <componentProperties> <drop>false</drop> <configurationfile> src/main/resources/hibernate.derby.cfg.xml </configurationfile> <revengfile> src/main/hibernate-generation/derby.reveng.xml </revengfile> <jdk5>true</jdk5> <ejb3>true</ejb3> <!-- <outputfilename> hbm2ddl-derby.sql </outputfilename> --> </componentProperties> </configuration> </plugin>