> > Would it be cool to have a maven plugin for Torque? This is just off
the
> > top of my head, but would that allow us to (optionally) let users
get
> > rid of the build-torque.xml?
> 
> A Maven plug-in would be very cool.  The build-torque.xml is the Ant
> equivalent of a plug-in; you shouldn't get rid of that.

The idea of the plug-in would be to have the build-torque.xml within the
${maven.home}/plugins...torque.../ (I don't know the exact directory
structure of plugins).

Then all a user would have to do is put the torque.xxx properties in
their project.properties, and perhaps in maven.xml add a java:compile
preGoal that attains the torque:om/torque:sql/torque:xxx goals.

The maven/jelly plugin goals would then just delegate out to the
plugin's build-torque.xml. I'm pretty sure this should work and is just
a matter of setting the properties up correctly (e.g. to read from the
right dirs what not).

- Stephen


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to