aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes cruise control : how to call maven commands from cruise control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "cruise control : how to call maven commands from cruise control" Watch "cruise control : how to call maven commands from cruise control" New topic
Author

cruise control : how to call maven commands from cruise control

partha sarathi samantaray
Greenhorn

Joined: Oct 16, 2008
Posts: 7
Hi,
i want to call maven commands like mvn generate-resources , mvn clean , mvn install from cruise control. these commands are defined in multiple pom file.
so what is the tag will be used in cruise control so that i can call sequence of command from it(cruise control).
if one command fails then it will not process other maven commmand.

regards,
partha
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Does it not make sense simply to execute:



It will naturally stop at a step if there is a failure.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: cruise control : how to call maven commands from cruise control