Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 42915 invoked from network); 24 Apr 2007 13:59:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 13:59:56 -0000 Received: (qmail 55042 invoked by uid 500); 24 Apr 2007 13:59:54 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 55001 invoked by uid 500); 24 Apr 2007 13:59:54 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 54990 invoked by uid 99); 24 Apr 2007 13:59:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 06:59:54 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of waynefay@gmail.com designates 66.249.82.234 as permitted sender) Received: from [66.249.82.234] (HELO wx-out-0506.google.com) (66.249.82.234) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 06:59:46 -0700 Received: by wx-out-0506.google.com with SMTP id t14so2122949wxc for ; Tue, 24 Apr 2007 06:59:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KKIo5tuZiY2JRg2yKwc49JFW1785tD483NPsiduetAr4vPBwqIOiXfAX5fUW37ZBImk2QVDYEqP+ckYsvB2DEHOoQobPMX/B1ZpeIjluOzNcf5h+IvJ1z9BO9o7VVIiwMzE/CkU3laFM+23DHz3f2kaqTqddQljFxcmiGh3J3mk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NNzRrAPflmjUdM7O2kIawB6HpvRLdptTpuEJHrDDLPbGOME/VgHJEFFinDkxiSJt1NJQAh1siSPZNgf9H0OzS6dFt57UhiykduItl/sAwVQLxDpqCABDsnSi0X83R6tGiGMK6ilhMGJyWRda7g8G1bTrqX5+u9h/9bulpoK6RBA= Received: by 10.90.27.13 with SMTP id a13mr2029674aga.1177423165717; Tue, 24 Apr 2007 06:59:25 -0700 (PDT) Received: by 10.90.81.18 with HTTP; Tue, 24 Apr 2007 06:59:25 -0700 (PDT) Message-ID: <52bab8690704240659m73abb630o37f693f9116dc54@mail.gmail.com> Date: Tue, 24 Apr 2007 08:59:25 -0500 From: "Wayne Fay" To: "Maven Users List" Subject: Re: [m2] cobertura-maven-plugin specify: '-Dinstrumentation=VALUE' In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <52bab8690704231840n73a83d66o88582966f9f081be@mail.gmail.com> <52bab8690704231846l610e9284r57addc50069ca7ae@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Did you read the rest of the email? Wrap the nodes inside an node to solve your problem, and you can keep using 2.0. Wayne On 4/24/07, Adrian Herscu wrote: > Version 2.1 always reports 100% coverage... > > Wayne Fay wrote: > > I checked the user@ archive and sure enough, this is a bug in the > > documentation -- you must wrap the nodes insides . > > Same with and I assume . > > > > Wayne > > > > On 4/23/07, Wayne Fay wrote: > >> Any reason you're using 2.0 instead of 2.1? Give it a try and see if > >> it works any better. > >> > >> Also, perhaps try wrapping your ignore node(s) inside an ignores node: > >> > >> ... > >> > >> > >> Wayne > >> > >> On 4/22/07, Adrian Herscu wrote: > >> > Hi all, > >> > > >> > I am using the cobertura-maven-plugin 2.0 and I want to make it ignore > >> > the classes in some package, so I am specifying: > >> > > >> > > >> > org.foo.* > >> > > >> > > >> > This causes the build to fail with the following message: > >> > [ERROR] BUILD ERROR > >> > [INFO] > >> > > >> ------------------------------------------------------------------------ > >> > [INFO] Failed to configure plugin parameters for: > >> > org.codehaus.mojo:cobertura-maven-plugin:2.0 > >> > > >> > on the command line, specify: '-Dinstrumentation=VALUE' > >> > > >> > Cause: Cannot find setter nor field in > >> > org.codehaus.mojo.cobertura.configuration.ConfigInstrumentation for > >> 'ignore' > >> > > >> > Adrian. > >> > > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > >> > For additional commands, e-mail: users-help@maven.apache.org > >> > > >> > > >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org