Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 87702 invoked from network); 13 Feb 2006 22:39:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 22:39:59 -0000 Received: (qmail 86278 invoked by uid 500); 13 Feb 2006 22:39:57 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 85896 invoked by uid 500); 13 Feb 2006 22:39:55 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 85885 invoked by uid 99); 13 Feb 2006 22:39:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 14:39:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of goyathlay.geronimo@gmail.com designates 64.233.182.203 as permitted sender) Received: from [64.233.182.203] (HELO nproxy.gmail.com) (64.233.182.203) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 14:39:54 -0800 Received: by nproxy.gmail.com with SMTP id a25so325747nfc for ; Mon, 13 Feb 2006 14:39:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=G/yyaeQcn8gBCMPUe8HZN8dF59FoUokYb+OgNtVCHP3+pGjeOVxlIcXgQAZTwtQgXFrg7Wr3I1KTJmek3e1IODCue8aWqFJmzH3ViLCUI4Jouda0+y4xz16selXdEdVlHWPaWojU+eziOwricpHKz/oW75FIEvqvJvLFjeF39i4= Received: by 10.49.5.7 with SMTP id h7mr999763nfi; Mon, 13 Feb 2006 14:39:32 -0800 (PST) Received: by 10.49.55.9 with HTTP; Mon, 13 Feb 2006 14:39:32 -0800 (PST) Message-ID: Date: Mon, 13 Feb 2006 17:39:32 -0500 From: Prasad Kashyap To: jason@maven.org Subject: itests subproject using M2 Cc: dev@geronimo.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jason, Here's a gist of our conversation this morning. Please refer to this thread for a further background http://www.mail-archive.com/dev@geronimo.apache.org/msg17578.html So we agreed that the following structure of the itests subproject with m2 would be good. - geronimo - itests - system-tests - container-tests - misc-tests The parent level pom for this subproject is in itests directory. It will setup the project for tests by having a dependency on the geronimo distribution jars. It will download the jars and unpack them in it's target directory. The system-tests module contains core system level tests like start server, deploy modules, stop server etc. For now we can't use the maven-cargo-plugin (v0.7) because it doesn't support Jetty container. After our conversation, I learnt from Vincent that v0.8 plugin of Cargo supports Jetty 5.x and Tomcat 6.x too. (http://www.mail-archive.com/dev@geronimo.apache.org/msg17658.html) I need to verify if that doesn't impose a requirement of JDK 1.5 for Jetty goals. G isn't ready to use JDK 1.5 yet. So until then, we'll continue to use our homegrown geronimo-deployment-plugin which I have now ported for m2. I'll look into modifying it to have the same configuration parameters as Cargo so that we can swap out the plugins when Cargo and G are compatible. Other modules and components can contribute their tests to one of the many categories (=3D=3D sub-directories). I noticed that m2 currently doesn't allow interspersing of goals from 2 different plugins. So when I execute a goal from a plugin between 2 goals from another plugin, only the second goal of the 2 goals is executed. I believe that this could be a bug that you kindy agreed to look into. This is a much required feature for us esp if others contribute their tests and ned to invoke it between our goals. The workaround you suggested was to make my goals come from different plugins. (is that my correct understanding ?) The next issue was that of the verifier plugin. The maven-verifier-plugin may have to be slightly enhanced to continue on error for some tests. This will a new configuration parameter. Some goals may have to write their own verifier if the generic verifier by maven is not sufficient for them. Lastly, when publishing the results, I noticed that the site goal generates html docs in the target directory of each subfolder. The results have to be collated at the top level parent directory. I'm looking to see how I can workaround it. Let me know if you can think of anything else to make it better. Cheers Prasad.