Hi All,
When I try to generate-sources for hibernate java files from xxx.hbm.xml from within maven using <goal>hbm2java</goal> nothing is created. But, if I get (by hook or by crook) the xxx.hbm.xml file into target/classes then I am able to generate the java files. I believe this is because hibernate tool looks in "hibernate classpath" for the xxx.hbm.xml files. How do I include src/main/resources into the "hibernate classpath" or do I have to create an ant task to copy the xxx.hbm.xml file into target/classes in the generate-sources phase before executing hbm2java. Is there an alternate way or is this a bug ?? Could someone please point me in the right direction. Thanks Lakshman --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]