title: maven-plugin error while building maven projects
body: <p>When I am importing my maven project in my eclipse, I am getting this error:</p>
  
  <blockquote>
    <p>Plugin execution not covered by lifecycle configuration:
    org.codehaus.mojo:buildnumber-maven-plugin:1.0:create-timestamp
    (execution: generate-build-number, phase:
    generate-sources) pom.xml /DataClient line 6  Maven Project</p>
  </blockquote>
  
  <p>Does anyone know how to fix this problem? I tried several other ways which was listed in SO questions but it didn't worked.</p>
  
  <p>I am using eclipse kepler and I do have <code>pluginManagement</code> as well in my pom.xml file.</p>
  
  <p>My pom.xml snippet where I am using plugins:</p>
  
  <pre><code>&lt;build&gt;
      &lt;pluginManagement&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;argLine&gt;-javaagent:"${settings.localRepository}"/com/googlecode/jmockit/jmockit/1.7/jmockit-1.7.jar&lt;/argLine&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;cobertura-maven-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;instrumentation&gt;
                          &lt;excludes&gt;
                              &lt;exclude&gt;**/test/**/*.class&lt;/exclude&gt;
                          &lt;/excludes&gt;
                      &lt;/instrumentation&gt;
                      &lt;formats&gt;
                          &lt;format&gt;xml&lt;/format&gt;
                          &lt;format&gt;html&lt;/format&gt;
                      &lt;/formats&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.9.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;author&gt;false&lt;/author&gt;
                      &lt;keywords&gt;true&lt;/keywords&gt;
                      &lt;show&gt;public&lt;/show&gt;
                      &lt;links&gt;
                          &lt;link&gt;http://docs.guava-libraries.googlecode.com/git-history/v16.0/javadoc/&lt;/link&gt;
                          &lt;link&gt;http://netty.io/4.0/api/&lt;/link&gt;
                      &lt;/links&gt;
                      &lt;doctitle&gt;Data Client API (${project.version})&lt;/doctitle&gt;
                      &lt;windowtitle&gt;Data Client API (${project.version})&lt;/windowtitle&gt;
                      &lt;groups&gt;
                          &lt;group&gt;
                              &lt;title&gt;Core API&lt;/title&gt;
                              &lt;packages&gt;com.host.grads.client:com.host.grads.client.resources&lt;/packages&gt;
                          &lt;/group&gt;
                          &lt;group&gt;
                              &lt;title&gt;Miscellaneous&lt;/title&gt;
                              &lt;packages&gt;com.host.grads.client.utils&lt;/packages&gt;
                          &lt;/group&gt;
                      &lt;/groups&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;attach-javadocs&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;jar&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/pluginManagement&gt;
  &lt;/build&gt;
  </code></pre>