Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 24937 invoked from network); 31 Jul 2006 16:50:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Jul 2006 16:50:59 -0000 Received: (qmail 53018 invoked by uid 500); 31 Jul 2006 16:50:58 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 52991 invoked by uid 500); 31 Jul 2006 16:50:57 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 52980 invoked by uid 99); 31 Jul 2006 16:50:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 09:50:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.200.208.232] (HELO smtp.virtusa.co.in) (203.200.208.232) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 09:50:55 -0700 Received: from HS-MAILSVR.Virtusa.com ([10.4.10.60]) by smtp.virtusa.co.in with InterScan Messaging Security Suite; Mon, 31 Jul 2006 22:27:04 +0530 Received: from ms-mailsvr.Virtusa.com ([10.5.16.3]) by HS-MAILSVR.Virtusa.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 31 Jul 2006 22:20:31 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Generating Cobertura reports using Continuum Date: Mon, 31 Jul 2006 22:20:10 +0530 Message-ID: <55D5E3424D32B946A5DADB1FBFB9295F05DD8F6F@ms-mailsvr.Virtusa.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Generating Cobertura reports using Continuum thread-index: Aca0fv2UgFdKyqioTfCJsF8h2R9uzAAAD7sAAAp2amEAAbug8AAD6FJg From: "Piyush Kumar Nahata" To: "Piyush Kumar Nahata" , X-OriginalArrivalTime: 31 Jul 2006 16:50:31.0937 (UTC) FILETIME=[6F85DF10:01C6B4C1] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, My previous solution works fine, if there is only a single project with no sub-modules. If there are modules in the parent pom, then the report is not generated in the target folder of the parent pom folder rather, it is generated in the target folders of each individual modules. Is there anyway to get this report in the parent folder, so that, to view the reports, a user does not have to open every individual module.=0D My folder structure looks something like this... Application | |-- Parent POM.xml =0D | |-- Module1 | | | |-- Module1 POM.xml | |-- Module2 =0D | | | |-- Module2 POM.xml | =0D Would be glad, if anyone helps me in this regard. Thanks in advance... Regards, Piyush Kumar Nahata, Software Engineer, Cell no - 9840783583 -----Original Message----- From: Piyush Kumar Nahata=0D Sent: Monday, July 31, 2006 8:38 PM To: 'continuum-users@maven.apache.org' Subject: RE: Generating Cobertura reports using Continuum Hi all, Thanks for the reply. I was able to figure out how to do that....=0D For those like me who are new to Continuum, to perform additional goals like generating Cobertura reports using continuum, this can be done using the Continuum UI. Steps to add additional goals using Continuum UI ------------------------------------------------ 1. Login as an Administrator 2. It is assumed that you have already added the required project to continuum and it is listed on the UI. 3. Click on the link corresponding to the name of the project(Under the heading 'Name').=0D 4. In the page that is displayed, there would be various headings displayed such as=0D a. Continuum Project b. Build Definitions =0D c. Notifiers d. Dependencies e. Developers=0D Under the Build Definitions header, the default goals defined would be clean and install. Edit this (using the button on the right side corner), and add the goal cobertura:cobertura 5. Click on Submit and then 'Force Build' using the button 'Build Now' 6. This would lead to the cobertura reports also being generated, the next time the build is fired.=0D Happy Reporting....=0D =0D Regards, Piyush Kumar Nahata, Software Engineer, Cell no - 9840783583 -----Original Message----- From: Baron.Reznik@fastmobile.com [mailto:Baron.Reznik@fastmobile.com] Sent: Monday, July 31, 2006 7:26 PM To: continuum-users@maven.apache.org; continuum-users@maven.apache.org Subject: RE: Generating Cobertura reports using Continuum Try a mvn site:site on your cmd line to see the maven generated site, including your cobertura report. Inside of continuum, I find it more useful to set yourself up to use the mvn site-deploy goal. There is a site guide on the maven website with more information about using/deploying maven generated sites which would probably be a better source of information. Thanks, Baron -----Original Message----- From: Piyush Kumar Nahata [mailto:piyushkumarn@virtusa.com] Sent: Mon 7/31/2006 4:15 AM To: continuum-users@maven.apache.org Subject: Generating Cobertura reports using Continuum =0D Hi all, I'm just 2 days old in Continuum. I want to run the Cobertura reports after the checkout has been done by Continuum. I tried specifying the goals in --> --> --> , but am not able to see any resulting folder named site where the reports are generally saved. I'm able to generate the reports if I give 'mvn cobertura:cobertura' on the command prompt. Would be glad if someone is able to help me in this regard. For your reference here is the snapshot of my pom.xml Thanks in advance...=0D POM.XML 4.0.0 maven-plugins maven-cobertura-plugin Cobertura Plug-in 1.0-SNAPSHOT Maven Plugin for Cobertura http://maven-plugins.sourceforge.net/maven-cobertura-plugin 2005 target target/classes target/test-classes src/main/java src/test/java org.codehaus.mojo cobertura-maven-plugin cobertura org.codehaus.mojo cobertura-maven-plugin =0D cobertura cobertura 1.8 oro oro 2.0.8 asm asm 2.0 log4j log4j 1.2.8 urbanophile java-getopt 1.0.9 javancss javancss 21.41 javancss ccl 21.41 junit junit 3.8.1 jar scm:svn:file:///D:/Sample Repository/Sample2/trunk scm:svn:file:///D:/Sample Repository/Sample2/trunk Regards, Piyush Kumar Nahata, Software Engineer. ------------------------------------------------------------------------ --------------------- This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message. ---------------------------------------------------------------------------= ------------------ This message, including any attachments, contains confidential information= intended for a specific individual and purpose, and is intended for the= addressee only. Any unauthorized disclosure, use, dissemination, copying,= or distribution of this message or any of its attachments or the= information contained in this e-mail, or the taking of any action based on= it, is strictly prohibited. If you are not the intended recipient, please= notify the sender immediately by return e-mail and delete this message.