>> 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'm trying to build Cocoon one week ago and always I had an artifact missing
error :(. Does the artifact missing error depends on release repository? In
this case, Could I know which is the lastest stable release? How? (Thanks!)

>> 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?

[INFO]
------------------------------------------------------------------------
[INFO] Building Cocoon XML Resolver
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [enforcer:enforce-once {execution: enforce-maven}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.cocoon:cocoon-block-deployment:1.0.0-SNAPSHOT:
checking for updates from gkossakowski-maven2
[INFO] snapshot org.apache.cocoon:cocoon-block-deployment:1.0.0-SNAPSHOT:
checking for updates from apache.snapshots
Downloading:
http://people.apache.org/~gkossakowski/maven2/repository/org/apache/cocoon/cocoon-block-deployment/1.0.0-SNAPSHOT/cocoon-block-deployment-1.0.0-SNAPSHOT.pom
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/cocoon/cocoon-block-deployment/1.0.0-SNAPSHOT/cocoon-block-deployment-1.0.0-SNAPSHOT.pom
Downloading:
http://people.apache.org/~gkossakowski/maven2/repository/org/apache/cocoon/cocoon-block-deployment/1.0.0-SNAPSHOT/cocoon-block-deployment-1.0.0-SNAPSHOT.jar
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/cocoon/cocoon-block-deployment/1.0.0-SNAPSHOT/cocoon-block-deployment-1.0.0-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[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:
  gkossakowski-maven2
(http://people.apache.org/~gkossakowski/maven2/repository),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 20 minutes 24 seconds
[INFO] Finished at: Thu Aug 07 19:12:09 CEST 2008
[INFO] Final Memory: 142M/254M
[INFO]
------------------------------------------------------------------------


>> % 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.

I have downloaded the last revision (683619), and exec ./build install. The
error is pasted on top.

Thank you for your attention!

>-- 
>Grzegorz Kossakowski

-- 
View this message in context: 
http://www.nabble.com/C22---Maven-artifact-missing-tp17780552p18873697.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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

Reply via email to