Brett, you could always rebind failsafe:integration-test to the test phase so that the server will be torn down in the event of failing tests
-Stephen On 4 March 2010 10:05, Brett Porter <br...@apache.org> wrote: > On 04/03/2010, at 8:49 PM, Douglas Ferguson wrote: > > > Is there a clean way to start up jetty for the testing and then stopping > git afterwards? > > > > I'd like to include my integration tests for my code coverage. > > > > I'd like to set my code coverage profile to only start up jetty after > cobertura has instrumented the classes > > then shut it down after the tests complete. > > > > Could I just start up the jetty in process-test-classes and shut it down > in prepare-package? > > Yep. > > > http://github.com/brettporter/centrepoint/blob/master/centrepoint/modules/selenium-tests/pom.xml > > Bear in mind that if the tests fail, the "stop" won't be run, but normally > they will shut down properly when Maven does anyway. > > - Brett > > -- > Brett Porter > br...@apache.org > http://brettporter.wordpress.com/ > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >