Martin Cooper-2 wrote:
> 
> Yeah, that's where I figured I'd end up having to go. One thing that's a
> bit
> annoying on that front, though, is that I found that when I put a bunch of
> 'mvn foo'  commands in a Windows batch file, only the first one executes,
> even if that first one is successful. ;-(
> 

Yes, on Windows you need to "call" the mvn command to get control back.
Because of an issue with Maven & XDoclet, I can't use a parent pom.xml so
have the following build.bat...

cd Common && call mvn %1 %2 %3 %4 %5 && cd ..
cd Async && call mvn %1 %2 %3 %4 %5 && cd ..
cd Ejbs && call mvn %1 %2 %3 %4 %5 && cd ..
cd AdminWAR && call mvn %1 %2 %3 %4 %5 && cd ..
cd BonusWAR && call mvn %1 %2 %3 %4 %5 && cd ..
cd ConfigWAR && call mvn %1 %2 %3 %4 %5 && cd ..

/Gwyn
--
View this message in context: 
http://www.nabble.com/Dependencies-Options-t1501725.html#a4091351
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to