It looks like in one of the POM files there is a dependency of to a
block that is not available viz. the pom file of the cocoon-core
block.
You should check the file and try another version of the required
block or download it manually as the error message you get is
describing.

Im not entirly sure tho, its been a while since ive used cocoon but I
can remember getting a similar error.
I then changed the POM file for the form implementation to change the
dependency to another version. For example you could try 1.1.1 instead
of 1.1.0-SNAPSHOT if it's available!

Good luck

Job

On Mon, Nov 23, 2009 at 1:00 PM, Peter Hargreaves <[email protected]> wrote:
> Thanks for the feedback folks - nearly there.
>
>>On this blog:
>>http://mrhaki.blogspot.com/2008/09/running-cocoon-22-samples.html you can
>>see step-by-step how to get the samples running.
>>
>>Regards,
>>
>>Job
>
> I followed your advice, Job, but when I try:
>
> mvn -P allblocks install -Dmaven.test.skip=true
>
> I get error message as below. So, please advise best way to fix.
>
> Many thanks,
> Peter.
>
> Missing:
> ----------
> 1) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.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-sitemap-impl -Dversion=1.1.0-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-sitemap-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests 
> -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT
>        2) org.apache.cocoon:cocoon-sitemap-impl:test-jar:tests:1.1.0-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  org.apache.cocoon:cocoon-core:jar:2.2.1-SNAPSHOT
>
> from the specified remote repositories:
>  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>  central (http://repo1.maven.org/maven2),
>  gkossakowski-maven2
> (http://people.apache.org/~gkossakowski/maven2/repository)
>
>
>
> ---------------------------------------------------------------------
> 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