title: Eclipse throwing errors for maven compile phase?
body: <p>Projects are not able to execute two life cycle phases of maven life cycle mapping: </p>
  
  <ol>
  <li>compiler:compile</li>
  <li>compiler: testcompile</li>
  </ol>
  
  <p>Following are errors in eclipse:</p>
  
  <ol>
  <li><blockquote>
    <p>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
    <a href="http://repo.maven.apache.org/maven2" rel="nofollow">http://repo.maven.apache.org/maven2</a> 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 (<a href="http://repo.maven.apache.org/maven2" rel="nofollow">http://repo.maven.apache.org/maven2</a>): repo.maven.apache.org<br>
    pom.xml                /ex         line 1     Maven Project Build
    Lifecycle Mapping Problem</p>
  </blockquote></li>
  <li><blockquote>
    <p>Plugin execution not covered by lifecycle configuration:
    org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
    (execution: default-compile, phase: compile)           pom.xml<br>
    /ex         line 1     Maven Project Build Lifecycle Mapping Problem</p>
  </blockquote></li>
  <li><blockquote>
    <p>Plugin execution not covered by lifecycle configuration:
    org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
    (execution: default-testCompile, phase: test-compile)<br>
    pom.xml              /ex         line 1              Maven Project
    Build Lifecycle Mapping Problem</p>
  </blockquote></li>
  </ol>