Hello Taavi Did you set the ejb3 parameter to true?
You can see an example here: https://svn.mojo.codehaus.org/mojo/trunk/mojo/mojo-sandbox/hibernate3-maven- plugin/src/test/project-jdk15/pom.xml Regards Johann Reyes -----Original Message----- From: Taavi Sildeberg [mailto:[EMAIL PROTECTED] Sent: Monday, March 20, 2006 5:30 AM To: Maven Users List Subject: Problem hibernate3 plugin cfg2cfgxml Hello, I have a three java files with annotations. When I try to generate the hibernate.cfg.xml with maven.hibernte3.plugin, then the mapped classes are never included inside hibernate.cfg.xml file. If I add them manualy then hbm2ddl works fine. In the plugin manual is that hibernate3:cfg2cfgxml generates hibernate.cfg.xml. file Can someone suggest what I am doing wrong? Taavi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]