title: Prevent IntelliJ from executing Maven plugins in parallel to compilation
body: <p>I've just setup a Maven-based Spring Boot project in IntelliJ (without delegating commands to Maven itself) containing jOOQ and Flyway that I intend to run before every build. Running <code>mvn compile</code> via the command line yields the correct behavior since both plugins do register themselves to the correct lifecycle phase.</p>
  
  <p>However when setting the <code>Before Build</code> trigger in IntelliJ like this I end up with an unexpected behavior:</p>
  
  <p><a href="https://i.stack.imgur.com/PBxks.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PBxks.png" alt=""></a></p>
  
  <p>When invoking the build process via the menu or the menubar button both the compiler and the code generation are started and running in parallel. The result is that the compiler throws errors that are automatically resolved just moments later. The compilation inside of IntelliJ does not wait for the Maven process to finish in the first place.</p>
  
  <p>Is there any option to make IntelliJ's build process aware of the Maven progress?</p>