title: maven: How to add resources which are generated after compilation phase
body: <p>I have a maven project which uses <a href="https://docs.oracle.com/javase/8/docs/technotes/tools/unix/wsgen.html" rel="noreferrer">wsgen</a> to generate <a href="https://en.wikipedia.org/wiki/XML_Schema_%28W3C%29" rel="noreferrer">XSD</a> files from the compiled java classes.  </p>
  
  <p>The problem is that I want to add the generated files to the jar as resources.  But since the <code>resource</code> phase runs before the <code>process-classes</code> phase, I can't add them.  </p>
  
  <p>Is there a way to tell maven to add additional resources that were generated at the <code>process-classes</code> phase?</p>