How to make System command calls in Java/Groovy?

Posted by Zombies on Stack Overflow See other posts from Stack Overflow or by Zombies
Published on 2010-04-23T19:48:26Z Indexed on 2010/04/24 0:13 UTC
Read the original article Hit count: 248

What I want to do is invoke maven from a groovy script. The groovy script in question is used as a maven wrapper to build J2EE projects by downloading a tag and invoking maven on what was downloaded. How should I accomplish invoking maven to build/package the EAR (the groovy script is already capable of downloading the tag from SCM).

© Stack Overflow or respective owner

Related posts about build-automation

Related posts about groovy