Hmm, this looks promising.
http://mojo.codehaus.org/exec-maven-plugin/usage.html
Daryl
Daryl Handley wrote:
I have a fairly simple class that I am writing to read in an XML file
and import some data in my database. From there I plan to export it
using dbunit and set it as my sample-data set.
I have a fairly simple class that I am writing to read in an XML file
and import some data in my database. From there I plan to export it
using dbunit and set it as my sample-data set.
This class needs to be run only once (or very occasionally if we decide
we would like to add some new data).