title: spring mvc template project maven plugin error
body: <p>In my eclipse, I created a new project as New -> Other-> Spring -> Spring Template Project -> Spring MVC Project. </p>
  
  <p>In the pom I am getting below error:</p>
  
  <p>Multiple annotations found at this line:
      - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (execution: default-
       compile, phase: compile)
      - CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its dependencies could not 
       be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1: ArtifactResolutionException: Failure to transfer 
       org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 from<br>
  repo.maven.apache.org/maven2 was cached in the local repository, resolution will not 
       be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-
       compiler-plugin:pom:2.5.1 from/to central repo.maven.apache.org/maven2): null to  repo.maven.apache.org/maven2/org/apache/maven/plugins/
       maven-compiler-plugin/2.5.1/maven-compiler-plugin-2.5.1.pom
      - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (execution: default-
       testCompile, phase: test-compile)
      - CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its dependencies could not 
       be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1: ArtifactResolutionException: Could not transfer 
       artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 from/to central (repo.maven.apache.org/maven2): null to 
       repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.5.1/maven-compiler-plugin-2.5.1.pom</p>
  
  <p>I did deleted the repository folder and Maven -> Update Project. But nothing worked.</p>
  
  <p>Error comes at below tag:</p>
  
  <pre><code>&lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.5.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                      &lt;compilerArgument&gt;-Xlint:all&lt;/compilerArgument&gt;
                      &lt;showWarnings&gt;true&lt;/showWarnings&gt;
                      &lt;showDeprecation&gt;true&lt;/showDeprecation&gt;
                  &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>