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]

Reply via email to