File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Installing Java / Eclipse / Tomcat / Maven on Ubuntu 9.10
Problem with mvn archetype using Eclipse plugin
Pragmatic Project Automation book - What's it all about?
Running help:describe command in Maven
using maven release goals in cruisecontrol