On Apr 24, 2007, at 9:57 PM, David Dyer wrote:

Update, I've managed to find the required .jar file at http:// www.bluesunrise.com/maven2/org/apache/portals/jetspeed-2/portal- archetype/2.1-dev/portal-archetype-2.1-dev.jar and do the install. the mvn archetype:create appears to have worked after that.

So, on to the next problem...

the mvn -P tomcat,min returns a fatal error as follows:

Downloading: http://repo1.maven.org/maven2/org/apache/portals/ jetspeed-2/jetspeed-2/2.1-dev/jetspeed-2-2.1-dev.pom [INFO] ---------------------------------------------------------------------- --
[ERROR] FATAL ERROR
[INFO] ---------------------------------------------------------------------- --
[INFO] Error building POM (may not be this project's POM).


Project ID: null:import:pom:null

Reason: Cannot find parent: org.apache.portals.jetspeed-2:jetspeed-2 for project
: null:import:pom:null


A quick check of the URL for the jetspeed-2-2.1-dev.pom file reveals that it doesn't live there no more (Not Found)

swapping out http://repo1.maven.org for http://www.bluesunrise.com returns what looks like the correct file.

So, the question is, who tells Maven to download from repo1.maven.org and can I reconfigure to default to http:// www.bluesunrise.com?


Have you copied in the .setttings.xml to your ".m2" directory as described here:

http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html

It will correctly setup the remote repos and copy resources into here

<localRepository>/JetspeedTraining/maven/repository</ localRepository>

From that point on, its hit or miss with downloading the files, keep trying if it fails


Regards,
David

PS. I'm keeping a running record of the problems I've had in the interest of passing them on to improve the documentation and tutorial.


Just a quick note: as I've stated on the list before, I am planning on deleting the entire maven-2-based tutorial once the installer/Ant based tutorial is ready



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to