Jason,
Yep, I am getting the same thing.
Thank you for helping.


Jason Johnston wrote:
I was able to reproduce the error with that command. The key was clearing out the org/apache/cocoon area in my local repository.

The problem is that by skipping the tests, maven doesn't produce the test-jar artifacts which are needed later on by other modules' tests. It seems like that shouldn't matter since the test-jar dependencies are declared in test scope, so they shouldn't have to resolve if you're skipping tests. But I guess Maven doesn't handle that properly.

Anyway, if you remove the -Dmaven.test.skip=true you should get further. But currently I still get another error, caused by one of the blocks requiring the rcl webapp wrapper from tools, before those tools are built. I'll bring this up on the dev list and hopefully get it fixed asap.


Mansour wrote:
OK, I found it: " mvn install -Dmaven.test.skip=true " for the minimum blocks. But it's still failing with the same error.


Ralph Goers wrote:
Don't the instructions say to use "mvn -P allBlocks install"?

Mansour wrote:
Sorry, it was a typo:
I am using "mvn install allBlocks"


Mansour wrote:
What options do I have to build Cocoon from source?
I am using "mvn build allBlocks"
Is there any other option other than "allBlocks"?
BTW: It's failing with:

[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-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-pipeline-impl \ -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests -Dpackaging=test-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-pipeline-impl \ -Dversion=1.0.0-RC3-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file \
          -Durl=[url] -DrepositoryId=[id]

 Path to dependency:
1) org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT 2) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.0.0-RC3-SNAPSHOT

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

for artifact:
 org.apache.cocoon:cocoon-pipeline-components:jar:1.0.0-RC3-SNAPSHOT

from the specified remote repositories:
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: 28 seconds
[INFO] Finished at: Fri Feb 08 18:16:55 AST 2008
[INFO] Final Memory: 38M/63M


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




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

Reply via email to