title: Execution point between prepare-package and package in Maven build-process
body: <p>The <code>package</code> phase of a project with packaging <code>war</code>, prepares an exploded-war in the <code>target</code> folder and packages this into the final <code>war</code>-file. </p>
  
  <p>Is it possible to make some changes, editing files, removing files and so on, between <code>prepare-package</code> and <code>package</code> phases? I'm searching for an extension point (Maven <code>execution-phase</code>) where the resources are already copied and in the exploded-war structure. </p>
  
  <ol>
  <li>[<em>maven phase</em>] Copy resources and explode to <code>target/{finalName}</code>. </li>
  <li>[<em>custom</em>] Do some complex custom changes (e.g. implemented with <code>maven-antrun</code>). </li>
  <li>[<em>maven phase</em>] Package the changed stuff into the final <code>war</code>.</li>
  </ol>
  
  <p>I thought this could be possible between the phases <code>prepare-package</code> and <code>package</code>. Unfortunately after the <code>prepare-package</code> no exploded war is available to be changed and packaged later.</p>
  
  <p>Can you give me a hint how to achieve this? Thank you very much.</p>