-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi David
On Tue, 28 Feb 2006, David Crossley wrote:
Date: Tue, 28 Feb 2006 18:02:49 +1100
From: David Crossley <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Using trunk
Would someone please help to get started with Maven.
Too many days have been wasted.
I have today's Cocoon trunk. Installed Maven-2.0.2
$ cd cocoon-trunk
$ mvn -Dmaven.test.skip=true clean install
... watch thousands of warnings and stuff go by.
Then it gets to ...
============
Downloading:
http://snapshots.maven.codehaus.org/maven2//org/apache/cocoon/cocoon-default/1.0-SNAPSHOT/cocoon-default-1.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository maven-snapshot
(http://snapshots.maven.codehaus.org/maven2/)
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
required artifacts missing:
org.apache.cocoon:cocoon-default:jar:1.0-SNAPSHOT
for the artifact:
org.apache.cocoon:cocoon-deployer-plugin-demo:jar:1.0-SNAPSHOT
from the specified remote repositories:
apache-maven2 (http://cvs.apache.org/maven-snapshot-repository),
central (http://repo1.maven.org/maven2),
maven-snapshot (http://snapshots.maven.codehaus.org/maven2/),
apache-cvs (http://cvs.apache.org/repository)
========================
What do i do now? Thanks for any hints.
I've very few WARNING messages (except those for old jar 'Not a v4.0.0
POM' ones, which come from 'legacy' Maven artifact.
The WARNIN message you've included above come IIRC from network problems
Maven encountered during download of artifacts. Just redo again until
Maven was able to resolve all dependency (and thus has donwloaded all
artifacts).
I can confirm, that my build runs almost all the time.
Ciao
- --
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
iD8DBQFEA/lmLNdJvZjjVZARAjpfAJ9iT1k+Tp/tDszWos/Oxf0pDF8l+ACeM8Ll
vgpvZdcwTBRTzbtV/4WvmRg=
=jSys
-----END PGP SIGNATURE-----