title: Maven goal not attached to phase
body: <p>I'm trying to run some Selenium tests but it is not working to attach the starting of jetty to the pre-integration-test phase of maven. So  I tried to investigate the problem and it seems that in general Maven is not executing my goals in the phases I specified.</p>
  
  <p>I found <a href="http://www.avajava.com/tutorials/lessons/how-do-i-attach-a-plugin-goal-to-a-particular-phase-of-a-maven-lifecycle.html" rel="nofollow">this</a> example and reproduced it. I created the plugin which works fine when I call it explicitly. But when I try to attach it to the validate phase and run mvn validate I don't see the "Hi there!!!" output. It simply shows me build success without calling the howdy-world goal :/ (which is consistent with my jetty not starting in integration-test phase)</p>
  
  <p>How can I make this goal run when the validation phase is passed?</p>
  
  <p>Here's my pom.xml: </p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.maventest&lt;/groupId&gt;
  &lt;artifactId&gt;aproject&lt;/artifactId&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;name&gt;aproject&lt;/name&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;3.8.1&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;build&gt;
  &lt;pluginManagement&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;com.maventest&lt;/groupId&gt;
              &lt;artifactId&gt;maven-howdy-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;howdy-world&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;phase&gt;validate&lt;/phase&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
      &lt;/pluginManagement&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>