Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 8990 invoked from network); 25 May 2010 13:52:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 13:52:24 -0000 Received: (qmail 51358 invoked by uid 500); 25 May 2010 13:52:24 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 51278 invoked by uid 500); 25 May 2010 13:52:23 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 51271 invoked by uid 99); 25 May 2010 13:52:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 13:52:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [170.215.19.28] (HELO server.csparks.com) (170.215.19.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 13:52:15 +0000 Received: from sparksc2 (kph002.keioplaza.co.jp [211.11.148.2]) (authenticated bits=0) by server.csparks.com (8.14.3/8.14.3) with ESMTP id o4PDuRE3021468 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 25 May 2010 08:56:30 -0500 Message-ID: From: "Hugh Sparks" To: References: <4BEA95BA.5060303@meteo.fr> <7C655C04B6F59643A1EF66056C0E095E03E9667C@eusex01.sweden.ecsoft> <7C655C04B6F59643A1EF66056C0E095E03E96690@eusex01.sweden.ecsoft> <3DBB2A16E6A1438A802FDB77B454D6ED@Asus> <4BED7784.8040006@apache.org> <9B0AF2CF750B432DA717B246234A6D11@Asus> <4BF81FE8.4040008@apache.org> Subject: Re: [C3] Building and running cocoon-sample Date: Tue, 25 May 2010 22:51:44 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 > Hugh Sparks frets: > I haven't been able to run the cocoon-sample in the > current Cocoon 3 trunk for several weeks... >> Reinhard Potz replies: >> [...] >> Have you changed the version of the cocoon-maven-plugin to the SNAPSHOT >> version that you had created before? I did and everything works. Thanks! In case anyone else has been baffled trying to run cocoon3, here are a few details: 1) Checkout the cocoon 2.2 trunk and do "mvn install" This will have the side effect of getting the 1.0.0-RC1-SNAPSHOT version of the cocoon-maven-plugin in your .m2 cache. 2) Checkout the cocoon 3 trunk to another directory. For example "cocoon3" 3) Edit the file: cocoon3\parent\pom.xml 4) Change the version element following cocoon-maven-plugin so it reads: 1.0.0-RC1-SNAPSHOT 5) Build and run the sample following the instructions in README.txt 6) Rejoice and dance blissfully around the office. But don't tell anyone why or you'll end up in a straightjacket. If you want to use cocoon-archetype-block or cocoon-archetype-parent, both contain pom.xml files that need the same treatment: cocoon3\cocoon-archetype-block\src\main\resources\archetype-resources\pom.xml cocoon3\cocoon-archetype-parent\src\main\resources\archetype-resources\pom.xml -Hugh Sparks --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org