David Crossley wrote:
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.

It's strange as cocoon-default-1.0-SNAPSHOT.jar, which is one of our *own* modules should be build *locally* and put into your local repository and Maven should be able to pick it up at build time.

--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                       web(log): http://www.poetz.cc
--------------------------------------------------------------------

        

        
                
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Reply via email to