title: How can I test a maven archetype that I've just created?
body: <p>I've created a few archetypes for a project that work fine for now, but I'd like to be able to verify that the code generated from the archetypes continues to work in the future.</p>
  
  <p>What I'd like is a phase of the archetype build that takes the archetype just created, runs <code>mvn archetype:generate</code> on it, and then runs <code>mvn verify</code> on the generated code to verify that the generated code is actually OK. If need be I'll write my own mojo to do this, but wanted to see if a solution already exists. I see the <code>archetype:integration-test</code> goal, but it doesn't <em>seem</em> to be doing what I want.</p>