title: Error Executing Maven - Non-parseable settings settings.xml
body: <p>I'm new to Maven. I have converted my Cucumber project to Maven and I'm getting execution error when I try to run Maven Clean or Maven Build. </p>
  
  <pre><code>[ERROR] Error executing Maven.
  [ERROR] 1 problem was encountered while building the effective settings
  [FATAL] Non-parseable settings C:\Users\qz\.m2\settings.xml: end tag name &lt;/settings&gt; must match start tag name &lt;activeProfiles&gt; from line 10 (position: TEXT seen ...&lt;/pluginManagement&gt;   \r\n&lt;/build&gt;\r\n&lt;/settings&gt;... @21:12)  @ C:\Users\qz\.m2\settings.xml, line 21, column 12
  </code></pre>
  
  <p>Snap of <a href="https://i.stack.imgur.com/EPU5l.png" rel="nofollow noreferrer">Maven Installation and Configuration</a>
  My settings.xml file have some problem too as under Eclipse > Windows > Preferences > Maven > User Settings, I can see an error 'Could not read settings.xml'</p>
  
  <p>I have tried deleting my repository folder and rebuilding it but that wasn't effective. It may be something to do with my Eclipse-Maven integration. </p>
  
  <p>Edit-1: adding settings.xml</p>
  
  <pre><code>&lt;settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                        http://maven.apache.org/xsd/settings-1.0.0.xsd"&gt;
  
   &lt;localRepository&gt;Users/qz/.m2/repository&lt;/localRepository&gt;
   &lt;interactiveMode&gt;true&lt;/interactiveMode&gt;
   &lt;offline&gt;false&lt;/offline&gt;
    &lt;profiles&gt;&lt;profiles/&gt;
    &lt;activeProfiles&gt;&lt;activeProfiles/&gt;
    &lt;build&gt;
      &lt;pluginManagement&gt;
        &lt;plugins&gt;
          &lt;plugin&gt;
            &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
            &lt;version&gt;2.6&lt;/version&gt;
          &lt;/plugin&gt;           
        &lt;/plugins&gt;
      &lt;/pluginManagement&gt;   
  &lt;/build&gt;
  &lt;/settings&gt;
  </code></pre>
  
  <p>Edit-2: corrected .xml and updated the error message</p>