title: Maven: How to run module before building other modules in multi-module project?
body: <p>I have a Maven POM Project that includes a number of modules.</p>
  
  <p>One of them is a REST Web Service that some of the other modules use.
  This module is a standalone executable.</p>
  
  <p>What I am trying to achieve is to have the web service build and run before all the other modules. </p>
  
  <p><s>I understand that just by changing the order of the modules in the pom file I can get the module to build before the others, but how do I run it before building the rest of them?</s> </p>
  
  <p>I need to run it so that I can perform a series of tests included in the rest of the modules. </p>
  
  <p>The reason I am trying to achieve this kind of functionality is because what I'm ultimately trying to do is having the project build and test correctly on Jenkins.</p>