title: Turned Dynamic Web project into Maven project
body: <p>I turned my Dynamic Web project into a Maven project in eclipse.There are errors in my pom file and I can't do a maven clean. What do I need to do? </p>
  
  <p>Below is some information that I hope will help you knowing what's wrong:</p>
  
  <p>When doing a Maven clean i get a BUILD FAILED with feedback:</p>
  
  <pre><code>Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (http://repo.maven.apache.org/maven2): connect timed out -&gt; [Help 1]
  </code></pre>
  
  <p>My pom file has two errors:</p>
  
  <p>The first error is on the line:</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0"
  </code></pre>
  
  <p>The first error message is: </p>
  
  <p>Multiple annotations found at this line:
      - connect timed out
      - No plugin found for prefix 'war' in the current project and in the plugin groups [] available </p>
  
  <p>The second error is on the line:</p>
  
  <pre><code>&lt;plugins&gt;
  </code></pre>
  
  <p>The second error message is:
  CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3.1: ArtifactResolutionException: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from/to central (<a href="http://repo.maven.apache.org/maven2" rel="nofollow">http://repo.maven.apache.org/maven2</a>): connect timed out</p>