Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 17080 invoked from network); 20 Nov 2006 21:48:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2006 21:48:22 -0000 Received: (qmail 20411 invoked by uid 500); 20 Nov 2006 21:48:30 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 20199 invoked by uid 500); 20 Nov 2006 21:48:29 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 20188 invoked by uid 99); 20 Nov 2006 21:48:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 13:48:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [130.237.222.115] (HELO smtp.nada.kth.se) (130.237.222.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 13:48:16 -0800 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [85.226.144.246] (c-f690e255.188-1-64736c14.cust.bredbandsbolaget.se [85.226.144.246]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11.20060308/8.12.11) with ESMTP id kAKLlr8M029512 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 20 Nov 2006 22:47:54 +0100 (MET) Message-ID: <45622284.7070104@nada.kth.se> Date: Mon, 20 Nov 2006 22:47:48 +0100 From: Daniel Fagerstrom User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: getting started with 2.2 References: <724FBE6DAE2F074A8CF33C6FB207C72C03B851@server2.SEI.local> <455C6CC9.7000306@reverycodes.com> <422170EC-259D-47CD-981D-B3D94A3C2833@apache.org> In-Reply-To: <422170EC-259D-47CD-981D-B3D94A3C2833@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jeremy Quinn skrev: > Hi Vadim > > On 16 Nov 2006, at 13:51, Vadim Gritsenko wrote: > >> Jorg Heymans wrote: >>> John Krofcheck wrote: >>> jorg:~/src/cocoon-trunk $ cd core/cocoon-webapp/ >> > > I made a new checkout of trunk, then built it like this : > > $ mvn clean install -Dmaven.test.skip=true > > Next I ran Jetty from core/cocoon-webapp/ and got the welcome screen > with the url : > http://localhost:8888/ > >> Or 'cd dists/cocoon-dist-samples' if you want to see anything beside >> 'welcome' page. > > then I re-ran Jetty from dists/cocoon-dist-samples and I get this : > > $ mvn jetty:run > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'jetty'. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not > exist or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 second > [INFO] Finished at: Mon Nov 20 20:43:55 GMT 2006 > [INFO] Final Memory: 4M/8M > [INFO] > ------------------------------------------------------------------------ > > > Any suggestions ? First the dist samples are not built by default from root, you need to add -Dalldists to your mvn comand to build them. Or mvn package wiyhin the cocoon-dist-sample directory. Then the particular error you get is because the pom lacks a plugin snippet for Jetty. Copy it from cocoon-webapp and change the webAppSourceDirectory element to contain ./target/cocoon-samples. Now Jetty at least start, but fail after a while for me saying: Embedded error: Cannot invoke listener org.springframework.web.context.ContextLoaderListener@1603522 org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(Ljava/io/InputStream;Ljava/lang/String;)Lorg/apache/avalon/framework/configuration/Configuration; Don't know what to do about that :/ /Daniel