RE: [m2] Hibernate3 SchemaExportTask
Hi Frederik Right now I'm fixing the plugin to a workable state again. So if you can check in a few days while some dependencies get uploaded to ibiblio, you'll get a workable plugin once again. Regards Johann Reyes -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Saturday, January 28, 2006 9:40 PM To: Maven Users List Subject: Re: [m2] Hibernate3 SchemaExportTask Frederik Dierickx wrote: > Hi, > > I'm a recent convert to Maven2 and trying to achieve the same functionality > I used to do with Ant. Most of the things work pretty well but one of the > things I really got stuck on is the SchemaExportTask using Hibernate3. I > tried to install the hibernate3 plugin from the codehaus mojo repository but > didn't succeed because of missing dependencies. Another way I am currently > trying is simply calling the SchemaExportTask using an Ant call. Using this > approach, it seems like the SchemaExportTask cannot be found in the > classpath. I do have a dependency on Hibernate3 in my POM and am passing a > reference to maven.dependency.classpath to and maven-antrun-plugin. For some > reason unclear to me it doesn't seem to work out. > The hibernate3 plugin is currently in the sandbox so no guarantees there. As a stopgap you can use the antrun plugin in conjunction with the ant tasks that you are used to. I'd encourage you to give feedback to get the hib3 plugin working but use the antrun plugin if you have to: http://maven.apache.org/plugins/maven-antrun-plugin/ -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org A man enjoys hsi work when he understands the whole and when he is responsible for the quality of the whole -- Christopher Alexander, A Pattern Language - 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]
Re: [m2] Hibernate3 SchemaExportTask
Frederik Dierickx wrote: Hi, I'm a recent convert to Maven2 and trying to achieve the same functionality I used to do with Ant. Most of the things work pretty well but one of the things I really got stuck on is the SchemaExportTask using Hibernate3. I tried to install the hibernate3 plugin from the codehaus mojo repository but didn't succeed because of missing dependencies. Another way I am currently trying is simply calling the SchemaExportTask using an Ant call. Using this approach, it seems like the SchemaExportTask cannot be found in the classpath. I do have a dependency on Hibernate3 in my POM and am passing a reference to maven.dependency.classpath to and maven-antrun-plugin. For some reason unclear to me it doesn't seem to work out. The hibernate3 plugin is currently in the sandbox so no guarantees there. As a stopgap you can use the antrun plugin in conjunction with the ant tasks that you are used to. I'd encourage you to give feedback to get the hib3 plugin working but use the antrun plugin if you have to: http://maven.apache.org/plugins/maven-antrun-plugin/ -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org A man enjoys hsi work when he understands the whole and when he is responsible for the quality of the whole -- Christopher Alexander, A Pattern Language - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Hibernate3 SchemaExportTask
Hi, I'm a recent convert to Maven2 and trying to achieve the same functionality I used to do with Ant. Most of the things work pretty well but one of the things I really got stuck on is the SchemaExportTask using Hibernate3. I tried to install the hibernate3 plugin from the codehaus mojo repository but didn't succeed because of missing dependencies. Another way I am currently trying is simply calling the SchemaExportTask using an Ant call. Using this approach, it seems like the SchemaExportTask cannot be found in the classpath. I do have a dependency on Hibernate3 in my POM and am passing a reference to maven.dependency.classpath to and maven-antrun-plugin. For some reason unclear to me it doesn't seem to work out. There error I get is: [INFO] [INFO] Error executing ant tasks Embedded error: taskdef class org.hibernate.tool.hbm2ddl.SchemaExportTaskcannot be found [INFO] Here's how I define the Ant task to run in my POM: org.apache.maven.plugins maven-antrun-plugin package run Has anyone else experienced this problem and want to share his solution or approach to do a SchemaExportTask in Maven2? Any help appreciated. Kind regards, Frederik