Hi Everyone,

I'm attempting the first step of migrating a project from ant to maven and
am running into an issue. Note that I'd ultimately like to solve this by
improving the modularity of the project, but for now, I'm trying to closely
mimic what ant was doing.

I have a collection of SQL scripts and several Java command line utilities.
I need to have these executed all in the pre-integration-tests phase in an
alternating pattern, i.e:

   - maven-sql-plugin - run scripts
   - maven-exec-plugin - run java util
   - maven-sql-plugin - run some more scripts
   - maven-exec-plugin - run a different java util

The problem is that maven will always execute the plugin executions in
groups, all the sqls, then all the execs. I know this entire thing is
counter to the "maven way", but can anyone suggest a way to accomplish this?

This is under Maven 2.2.1.

Thanks!

-- 
Nicholas Bonatsakis
Software Engineer

Reply via email to