|
|
|
There is a Maven2 builder which should be used for Maven2.0 or higher.
Hi Robin,
I see the "won't fix" status for this issue and I just wanted to clarify that in my build scenario I am using a Maven2 builder. The problem is when I use a Maven2 build the "Build Success Condition" fails when it is set to this.logContainsLine("BUILD SUCCESSFUL"). The log file clearly says "BUILD SUCCESSFUL", but still QuickBuild's status on the build is set to failed. If I remove the this.logContainsLine("BUILD SUCCESSFUL") string from the success condition then the QuickBuild status on the build is set to success. I don't expect this to be reopened, but I do want to be sure that this configuration has been verfied on your end. Thanks, Mike I see where the problem is. Since I am using QB1.0.5 I only see the following three options in the Build Success Condition pulldown menu:
Success Condition for Ant Success Condition for Maven Success Condition for generic command lines After looking in the source code for QB1.0.7 I see that there is a 4th option: Success Condition for Maven2 This option includes the ".*BUILD SUCCESSFUL". I added the ".*" to my condition line and the status indicates a success now. Thanks again for your help and please disregard my previous comment. Mike |
$ mvn -v
Maven version: 2.0.2