cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasha Joachimsthal" <j.joachimst...@onehippo.com>
Subject RE: C22 - Maven artifact missing
Date Thu, 07 Aug 2008 14:13:59 GMT
I've got the same problem with mvn install -P allblocks

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.cocoon:cocoon-block-deployment:jar:1.0.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-block-deployment
-Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-block-deployment
-Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
        1) org.apache.cocoon:cocoon-xml-resolver:jar:1.1.0-SNAPSHOT
        2) org.apache.cocoon:cocoon-block-deployment:jar:1.0.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact: 
  org.apache.cocoon:cocoon-xml-resolver:jar:1.1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  gkossakowski-maven2 (http://people.apache.org/~gkossakowski/maven2/repository),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)


Jasha


-----Oorspronkelijk bericht-----
Van: Grzegorz Kossakowski [mailto:grek@tuffmail.com]
Verzonden: do 7-8-2008 14:44
Aan: users@cocoon.apache.org
Onderwerp: Re: C22 - Maven artifact missing
 
yosauron pisze:
> I have tried to build C2.2 several times but the process always fails me.

If you have done it within last two days the reason might be that we were releasing some stuff
and 
in some intermediate states the build can be broken.

> I follow this steps (under Ubuntu 8.04, java 1.6 and maven 2.0.9):
> 
> --Get the files...
> % svn checkout https://svn.apache.org/repos/asf/cocoon/trunk cocoon-2.2.0
> % cd cocoo-2.2.0
> 
> --I clean the repository
> % rm -R ~/.m2
> 
> --And I follow the README.txt steps:
> % ./build.sh install
> 
> I get a build error "failed to resolve artifact" on cocoon-block-deployment

Could you give us exact error?

> % cd tools
> % mvn clean install
> 
> BUILD SUCCESFULL, and I try one more time to build cocoon:
> 
> % cd ..
> % ./build.sh installl
> 
> And I get the same error....
> 
> Could anyone say me what are i doing wrong?
> 
> Thanks a lot!
> 
> I'm desperate!!

Just try to update your copy (svn up) and try build.sh install again. If it still does not
work 
provide us exact error message.

-- 
Grzegorz Kossakowski

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



Mime
View raw message