title: How to make jetty-maven-plugin deploy a war that is retrieved from a repository?
body: <p>I'm setting up an integration test module for a good sized web project. The integration test module is separated from the web project itself, and it has it's own pom.</p>
  
  <p>The idea is to use the maven-soapui-plugin to send requests and verify the response. Setting up the soapui-plugin is no hassle. However, I'm having trouble with figuring out how I can tell the jetty-maven-plugin to deploy a war from a remote repository.</p>
  
  <p>If I have understood correctly, the jetty-maven-plugin has a property called '&lt;webApp>/&lt;webApp>' which lets me specify the war file to deploy. The problem is that the war file is not present in the module itself.</p>
  
  <p>I have heard that I can use the maven assembly plugin to retrieve the war from a repository via the projects artifactId, but I am yet to figure out how I would go about doing so.</p>
  
  <p>Here's a summary of what I want:</p>
  
  <ol>
  <li>Retrieve a specific war from a repository or the like, in example via its artifactId.</li>
  <li>Deploy this war to the jetty-maven-plugin (goal deploy-war?)  </li>
  <li>get maven-soapui-plugin to run tests and report the results back in the integration-test phase.</li>
  </ol>
  
  <p>I am pretty sure I've got step 3 covered, but I am very unsure how to achieve step 1 and 2.</p>
  
  <p>Any help is greatly appreciated</p>