 <p>You should try moving your integration test to the top level project. This way it will run after the WAR artifact has been built.</p> <p>Have you had a look at the <a href="http://maven.apache.org/plugins/maven-failsafe-plugin/" rel="nofollow">Maven Failsafe Plugin</a>? It's designed for the sort of thing you're doing, which is actually an integration test and not a unit test. The page offers some good advice on why you might want to use the <code>integration-test</code> phase for your integration testing.</p> <p>Namely, it describes why you might want to do <code>start-jetty</code> during <code>pre-integration-test</code> and so on, so that you can tear it all down appropriately.</p>