Hi Dan... "Dan Tran" <[EMAIL PROTECTED]> writes:
> Do we have an example howto configure hibernate2-maven-plugin to > generate DB schema using the annotated JPA classes? I set up a profile in my pom to build pretty pictures of our schema using the 'hbm2doc' component of the hibernate3-maven-plugin. I think generating the schema instead amounts to choosing another component, but I'm not sure off the top of my head what that is. Either the docs for the plugin or google will tell you. If you can't find it, ping me, and I'll snarf it out for you. Here's my profile: <profile> <id>db.doc</id> <dependencies> <dependency> <groupId>hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>1.8.0.7</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>hibernate3-maven-plugin</artifactId> <configuration> <dotExecutable>/usr/bin/dot</dotExecutable> <components> <component> <name>hbm2doc</name> <implementation>jpaconfiguration</implementation> </component> </components> <componentProperties> <persistenceunit>hibernate-hsqldb</persistenceunit> </componentProperties> </configuration> </plugin> </plugins> </build> </profile> Jim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]