title: maven-in-5-min-not-working, error with non parseable POM
body: <p>following on from this thread</p>
  
  <p><a href="https://stackoverflow.com/questions/5704010/maven-in-5-min-not-working/10042748#10042748I">maven in 5 min not working</a></p>
  
  <p>I have a problem that only sensibly gets the same title, and is very related (I think)</p>
  
  <p>And as I can't put my question into that thread I have to create a new one.</p>
  
  <p>Aslo this is a very long post (how do you include reports for file so as they have scroll bars</p>
  
  <blockquote>
  <pre><code>C:\mvn --version
  Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
  Maven home: C:\Program Files\Maven3\apache-maven-3.0.4
  Java version: 1.6.0_23, vendor: Sun Microsystems Inc.
  Java home: C:\Program Files\Java\jdk6\jre
  Default locale: fr_FR, platform encoding: Cp1252
  OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
  </code></pre>
  </blockquote>
  
  <p>And my proxy values are different...</p>
  
  <pre><code>&lt;proxy&gt;   
      &lt;id&gt;APHP&lt;/id&gt;   
      &lt;active&gt;true&lt;/active&gt;  
      &lt;protocol&gt;http&lt;/protocol&gt;   
      &lt;!-- username and password may not be required, my app has a username and password 
      for the local network  
      &lt;username&gt;scibearspace&lt;/username&gt;   
      &lt;password&gt;scibearspace&lt;/password&gt;
      but not used in this instance --&gt;  
      &lt;host&gt;Local.Server.IP.Address&lt;/host&gt; &lt;!-- not the server name a dotted quad value --&gt; 
      &lt;port&gt;8080&lt;/port&gt;    &lt;!-- next line not used  --&gt;   
      &lt;nonProxyHosts&gt;localhost|*.google.com&lt;/nonProxyHosts&gt;   
  &lt;/proxy&gt;
  </code></pre>
  
  <p>I performed the steps as suggested by AKB. but no change. The result of</p>
  
  <p>mvn -X archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false > z:\mvnError.txt</p>
  
  <p>are rather long, so'll i'll post the first failure here, and the full output after my signature.</p>
  
  <blockquote>
    <p>[INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from C:\Program
    Files\Maven3\apache-maven-3.0.4\conf\settings.xml [DEBUG] Reading user
    settings from C:\Documents and Settings\dmyers.m2\settings.xml [DEBUG]
    Using local repository at C:\Documents and
    Settings\dmyers.m2\repository [DEBUG] Using manager
    EnhancedLocalRepositoryManager with priority 10 for C:\Documents and
    Settings\dmyers.m2\repository [INFO] Scanning for projects... [DEBUG]
    Extension realms for project org.apache.maven:standalone-pom:pom:1:
    (none) [DEBUG] Looking up lifecyle mappings for packaging pom from
    ClassRealm[plexus.core, parent: null] [DEBUG] Resolving plugin prefix
    archetype from [org.apache.maven.plugins, org.codehaus.mojo] [WARNING]
    The POM for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 is
    invalid, transitive dependencies (if any) will not be available: 1
    problem was encountered while building the effective model for
    org.apache.maven.plugins:maven-clean-plugin:2.4.1 [FATAL]
    Non-parseable POM C:\Documents and
    Settings\dmyers.m2\repository\org\apache\maven\maven-parent\16\maven-parent-16.pom:
    end tag name must be the same as start tag from line 26 (position:
    TEXT seen ...t" src="/templates/standard-5.1/js/superfish.js">\n...
    @36:8) @ C:\Documents and
    Settings\dmyers.m2\repository\org\apache\maven\maven-parent\16\maven-parent-16.pom,
    line 36, column 8</p>
  
  <pre><code>    [WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1 is invalid,
  </code></pre>
    
    <p>transitive dependencies (if any) will not be available: 1 problem was
    encountered while building the effective model for
    org.apache.maven.plugins:maven-install-plugin:2.3.1 [FATAL]
    Non-parseable POM C:\Documents and
    Settings\dmyers.m2\repository\org\apache\maven\maven-parent\16\maven-parent-16.pom:
    end tag name must be the same as start tag from line 26 (position:
    TEXT seen ...t" src="/templates/standard-5.1/js/superfish.js">\n...
    @36:8) @ C:\Documents and
    Settings\dmyers.m2\repository\org\apache\maven\maven-parent\16\maven-parent-16.pom,
    line 36, column 8</p>
  </blockquote>
  
  <p>So I then navigated to the file maven-parent-16.POM and it is a self generated HTML file. It contains info about my works server, and a load of link references in the head of the file.</p>
  
  <p>Obviously this being an HTML file it doesn't meet the strick XML standard for closing tags etc. Do I need to edit these so as they meet the XML strictness. If that is the case then that is fine, but sure if maven creates these files then it should be happy with the structure! I think I may have just understood... the server is blocking the site related to this POM, this is the page I get returned when I hit a 'banned' site from work (all MS sites are blocked as a 'security' measure, yes thats right our network sys admin is a true linux daemon!)...</p>
  
  <p>So that changes my problem a little bit...</p>
  
  <p>I've searched for the POM file that matches the maven-clean-plugin , and the file is there, so I guess it is one of the dependencies, how can I determine which it is that is causing the initial error (I'm sure it is in output, but I don't know what I'm looking for). Then I can just hunt down the requied jar and POM and yipee. Maven should work!</p>
  
  <p>Very quickly, looking at the pom file there are a bunch of 'module' that I guess this file is attempting to dowload. I only have a small selection of them in my local reposiories folder. Is it caused by the server timing out? or am I really being blocked from the site?</p>
  
  <p>Thanks in advance for any help or suggestions I have been trying to solve this now for 2 days!</p>
  
  <p>David</p>
  
  <p>I can't seem to add the full output of the failure, I'll try again if anyone requires it.</p>
  
  <p>D</p>