failsafe:integration-test will *never* fail the build, that is what it is designed to do.
you are not understanding how to use it if you think invoking directly on the cli is the way to go. I suggest using a profile to bind the executions to the lifecycle you'd then be typing mvn -Pintegration-test verify to run your tests On 8 August 2012 16:26, KARR, DAVID <dk0...@att.com> wrote: > I have a build with both unit tests and component tests. I want the unit > tests to run as part of the default build, but I only want the component > tests to run when specifically requested with "failsafe:integration-test". > > What I have right now does this, but I noticed that when one of the > component tests fail, it says "BUILD SUCCESS" at the end, and the command > doesn't report failure. > > I believe I found a partial solution to this, at > http://mail-archives.apache.org/mod_mbox/maven-users/201010.mbox/%3caanlktince9q9fdb3cyeehmoh2ekeem9ze6w7wj2fm...@mail.gmail.com%3E, > but this makes "failsafe:integration-test" run by default in the build. > I don't want that. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >