title: Error reading settings.xml: Expected root element 'settings' but found 'servers' (position: START_TAG seen <servers>
body: <p>I downloaded an existing Maven project into eclipse. </p>
  
  <p>When I ran <code>mvn install</code> using the <code>pom.xml</code> file it failed showing the following error:</p>
  
  <pre><code> mvn install
   Error reading settings.xml: Expected root element 'settings' but found 'servers' 
   (position: START_TAG seen  &lt;servers&gt;... @1:10)
   Line:   1
   Column: 10
  </code></pre>
  
  <p>I am using Maven 2.2.1 . and got settings.xml file under the M2 Home </p>