Upgrading Maven to 2.07
I was just using the command mvn clean install for the first time, and I got the error message that I need Maven 2.0.6….I was still using Maven 2.0.1 So now I have downloaded Maven 2.0.7 (hopefully it doesn’t matter to have a newer and hopefully even better version), changed my classpaths, closed all DOS windows and trying again to successfully get the Trails samples to work. This time I have also checked out Trails 1.1 instead of 1.1.1 - as 1.1 is the real 1.1.1 version or something confusing….
Ok, Maven has now finished its job - but: still the same problem
:
Project ID: com.javaforge.tapestry:tapestry-spring:jar:1.0.0
Reason: Cannot find parent: com.javaforge.tapestry:tapestry-javaforge for projec
t: com.javaforge.tapestry:tapestry-spring:jar:1.0.0 for project com.javaforge.ta
pestry:tapestry-spring:jar:1.0.0
Cannot find parent again!!!!!!!!!!!!!!!!!!!!!! AAAAAAAAAAAAAAAAAAARRRRRRGH
Maven wants to access:
\home\me\.m2\repository\com\javaforg
e\tapestry\tapestry-javaforge\1.0.0-SNAPSHOT\maven-metadata-http:\repo1.maven.or
g\maven2\.xml
but the operating system Windows XP says “no”…..
The solution
I had dodgy SnapShot servers in the Maven settings.xml files