Here's another maven-exec-plugin question: how can it be made to work in a multi-module project? Right now, I've added the exec plugin configuration to the pom.xml in my 'client' subproject, but that requires me to do

mvn install
mvn -f client/pom.xml exec:java

every time, and the second task will run even if the first one fails.

I can't configure the exec plugin in the top-level pom.xml, because it doesn't include the submodules on its classpath, and thus can't find the main class.

Is there any way to do this without resorting to shell scripts, which seems to defeat the purpose?


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

Reply via email to