title: Non-parseable POM, END_TAG seen, spring-security-bom
body: <p>New to IntelliJ IDE and trying to import eclipse project source files. It iss basic spring boot starter code, but to build. Error below:</p>
  
  <pre><code>E:\JAVA_FULLSTACK\l2_source\c2_source\Bookstore&gt;mvn
  [INFO] Scanning for projects...
  [ERROR] [ERROR] Some problems were encountered while processing the POMs:
  [FATAL] Non-parseable POM 
  C:\Users\xxxx\.m2\repository\org\springframework\security\spring- 
  security-bom\4.1.4.RELEASE\spring-security-bom-4.1.4.RELEASE.pom: processing 
  instruction can not have PITarget with reserved xml name (position:
  END_TAG seen ...&lt;/dependencyManagement&gt;\n&lt;/project&gt;\n&lt;?xml ... @120:7)  @ 
  C:\Users\xxxx\.m2\repository\org\springframework\security\spring- 
  security-bom\4.1.4.RELEASE\spring-security-bom-4.1.4.RELEASE.pom, line 120, 
  column 7
  @
  </code></pre>
  
  <p>And  is screenshot of pom.xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;groupId&gt;com.bookstore&lt;/groupId&gt;
  &lt;artifactId&gt;bookstore&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;jar&lt;/packaging&gt;
  
  &lt;name&gt;Bookstore&lt;/name&gt;
  &lt;description&gt;frontend part for our bookstore project&lt;/description&gt;
  
  &lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;1.4.3.RELEASE&lt;/version&gt;
      &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
  &lt;/parent&gt;
  
  &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
  &lt;/properties&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  
  &lt;dependencyManagement&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-thymeleaf&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  </code></pre>
  
  <p></p>
  
  <p>My Maven version is :3.5.4, and it is not the default Maven of ItelliJ. </p>
  
  <p>Having skimmed around the StackOverflow and failing to find an existing solution, I really hope for some advice on how to solve it! </p>
  
  <p>Also curious about the function of the <code>spring-security-bom-4.1.4.RELEASE.pom</code> file is. Why are there duplicate XML attribute settings in the file?</p>
  
  <hr>
  
  <p>Update:
  delete the .m2\repository and use Maven-plugin to re-sync the proj solve the problem. 
  8-25-2018</p>