I'm not sure of this because I've only been following the Maven conversion
discussions loosely, but from my understanding this will currently only
work if you first build the Cocoon trunk from the subversion source and
install the resulting artifacts into your local repository.  This is
because there has not been an official 2.2 release yet, so the artifacts
do not appear in the central ibiblio repository.

There might also be a snapshot repository somewhere that might have some
snapshots of the trunk artifacts, but I don't know how often those would
be updated.

You're very brave trying out 2.2 ;-)



> Hello,
>
> following explanations at:
> http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html
>
> I executed the following command line (on one line):
> mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
> -DarchetypeArtifactId=cocoon-22-archetype-block
> -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=com.mycompany
> -DartifactId=myBlock
>
> And obtained the following error:
>
>
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.cocoon
> ArtifactId: cocoon-22-archetype-block
> Version: 1.0.0-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
>
> I tried configuring some repositories i.e.:
>
> http://mirrors.dotsrc.org/maven2/org/apache/
>
> and noticed that I could indeed not find any cocoon folder at:
> http://mirrors.dotsrc.org/maven2/org/apache/
>
> which as far as I understood is the place it should be ...
>
>
> I tried this using Maven 2.0.4, Java 1.5.0_04 on Linux.
>
>
> Any advice, pointers to more docs welcome.
>
> Patrick
>
>
> ---------------------------------------------------------------------
> 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