title: How to make maven execution sleep
body: <p>The scenario is this. Our project consist of multiple modules, and purpose of one specific module is to halt the execution of maven for certain period of time before building next module. The sleep time have been defined as JVM property in previous module by calling <code>System.setProperty</code> in the java application ran by <em>exec-maven-plugin</em>.</p>
  
  <p>My initial idea was to run java program which calls <code>Thread.sleep</code> in this module, but it doesn't seem to affect maven execution. I guess <em>exec-maven-plugin</em> runs the program in separate thread.</p>
  
  <p>How do I halt the maven execution for the period of time, which is provided as JVM argument?</p>