following on from this thread
I have a problem that only sensibly gets the same title, and is very related (I think)
And as I can't put my question into that thread I have to create a new one.
Aslo this is a very long post (how do you include reports for file so as they have scroll bars
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"
And my proxy values are different...
<proxy>
<id>APHP</id>
<active>true</active>
<protocol>http</protocol>
<!-- username and password may not be required, my app has a username and password
for the local network
<username>scibearspace</username>
<password>scibearspace</password>
but not used in this instance -->
<host>Local.Server.IP.Address</host> <!-- not the server name a dotted quad value -->
<port>8080</port> <!-- next line not used -->
<nonProxyHosts>localhost|*.google.com</nonProxyHosts>
</proxy>
I performed the steps as suggested by AKB. but no change. The result of
mvn -X archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false > z:\mvnError.txt
are rather long, so'll i'll post the first failure here, and the full output after my signature.
[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
[WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.3.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-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
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.
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!)...
So that changes my problem a little bit...
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!
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?
Thanks in advance for any help or suggestions I have been trying to solve this now for 2 days!
David
I can't seem to add the full output of the failure, I'll try again if anyone requires it.
D