title: Creating a new phase
body: <p>I am working on a project using Maven for which I need two new phases: 'analyze' and 'eval' (for different phases of data analysis).  I've read all the docs I can find, and created versions of components.xml and lifecycle.xml that are as close as I can get to correct, but Maven refuses to run the new phases.  (I should emphasize that I have no problem getting my plugins to work, and no problem binding them to the existing phases provided by the default lifecycle.  My problem is that the new phases I create seem to be ignored by maven.)  What do I need to do to get my new phases to work?</p>
  
  <p>lifecycles.xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;lifecycles&gt;
    &lt;lifecycle&gt;
      &lt;id&gt;lenskit&lt;/id&gt;
      &lt;phases&gt;
        &lt;phase&gt;
          &lt;id&gt;analyze&lt;/id&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;goals&gt;
                &lt;goal&gt;greet&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/phase&gt;
        &lt;phase&gt;
          &lt;id&gt;validate&lt;/id&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;goals&gt;
                &lt;goal&gt;greet&lt;/goal&gt;
              &lt;/goals&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/phase&gt;
      &lt;/phases&gt;
    &lt;/lifecycle&gt;
  &lt;/lifecycles&gt;
  </code></pre>
  
  <p>components.xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;component-set&gt;
    &lt;components&gt;
      &lt;component&gt;
        &lt;role&gt;org.apache.maven.lifecycle.mapping.LifecycleMapping&lt;/role&gt;
        &lt;role-hint&gt;lenskit&lt;/role-hint&gt;
        &lt;implementation&gt;
          org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
        &lt;/implementation&gt;
        &lt;configuration&gt;
           &lt;id&gt;lenskit&lt;/id&gt;
           &lt;phases&gt;
              &lt;phase&gt;get-data&lt;/phase&gt;
              &lt;phase&gt;analyze&lt;/phase&gt;
              &lt;phase&gt;eval&lt;/phase&gt;
           &lt;/phases&gt;
           &lt;default-phases&gt;
              &lt;verify&gt; org.apache.maven.plugins:maven-resources-plugin:resources &lt;/verify&gt;
              &lt;get-data&gt; org.riedl:hello-lenskit-plugin:greet &lt;/get-data&gt;
              &lt;analyze&gt; org.riedl:hello-lenskit-plugin:greet &lt;/analyze&gt;
              &lt;eval&gt; org.riedl:hello-lenskit-plugin:greet &lt;/eval&gt;
              &lt;package&gt; org.riedl:hello-lenskit-plugin:greet &lt;/package&gt;
           &lt;/default-phases&gt;
        &lt;/configuration&gt;
      &lt;/component&gt;
    &lt;/components&gt;
  &lt;/component-set&gt;
  </code></pre>