Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 59308 invoked from network); 29 Oct 2008 13:28:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Oct 2008 13:28:16 -0000 Received: (qmail 86188 invoked by uid 500); 29 Oct 2008 13:28:21 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 86151 invoked by uid 500); 29 Oct 2008 13:28:21 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 86140 invoked by uid 99); 29 Oct 2008 13:28:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2008 06:28:21 -0700 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: domain of sebbaz@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2008 13:27:07 +0000 Received: by nf-out-0910.google.com with SMTP id h3so1352357nfh.48 for ; Wed, 29 Oct 2008 06:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YH08J4n4Nw/K630rt8gNTbTGhdgHXPuNK/FH4R4hPoU=; b=VhJhTTz5u6vJVQ3OVerfe0friIaemf2LQ9yCgAMmexL0JIDAH4JjtWBhE0616qGmg1 jY/i2WO7TF5Wb5u5zdgtPaweXI6bYqIkM5ouCFU/g+dxmR8aCT3j76bt7JWVI4iK2Dhx zs3MA/EXyulqvsT2OvEIMsdC9uqmJaeE2aNHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=nXzdKj/8HlDqNa0S4MFsnS4DAjWfH25QOUBP4bip3OS51mMt2MbM202MwN/P0nt4U1 R4kQl86bTqxOhicjUwd+uvkcwJ8XRRPhTNpgmtKJfpWwmBsNtpZ6+7xdbg1uSp3elACU 8uEZklb1DunUWPS/TM2TqrNgcfiWYi9R6mILA= Received: by 10.86.52.6 with SMTP id z6mr5651172fgz.63.1225286856103; Wed, 29 Oct 2008 06:27:36 -0700 (PDT) Received: by 10.86.1.2 with HTTP; Wed, 29 Oct 2008 06:27:36 -0700 (PDT) Message-ID: <25aac9fc0810290627y71948cb5lc9ff9f90d8f3702c@mail.gmail.com> Date: Wed, 29 Oct 2008 13:27:36 +0000 From: sebb To: "HttpComponents Project" Subject: Re: HttpClient mvn test uses old version of surefire In-Reply-To: <1225115009.13965.2.camel@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <25aac9fc0810261528n64135508lde7141e15ea7a25b@mail.gmail.com> <1225115009.13965.2.camel@ubuntu> X-Virus-Checked: Checked by ClamAV on apache.org On 27/10/2008, Oleg Kalnichevski wrote: > On Sun, 2008-10-26 at 22:28 +0000, sebb wrote: > > When I try testing httpclient, it always uses surefire 2.4, rather > > than the latest version 2.4.3. > > > > Is that intentional? > > > > If not, how does one fix that? I can't see where Maven is told to use > > that version rather than the latest. > > > > I tried deleting all the surefire plugins from the repository, and > > httpclient insists on downloading 2.4 even if 2.4.3 is present. > > > > > Hi Sebastian > > What version of Maven are you using? I am running 2.0.9 and it appears > to be pulling the right version of the surefire plugin for me. I'm using 2.0.8. Turns out that was part of the problem; updating to 2.0.9 means that it now uses 2.4.2. However, building a sample commons project (net2.0) causes surefire 2.4.3 to be used. This can be seen by using the -X flag. At least I can now see the classnames in the TEST-*.xml files (previously it only showed name and time) > Have you tried executing 'mvn -cpu test'? Yes - no difference with 2.0.8. > As the last resort you may want to set the desired version explicitly in > the pom file. > > Hope this helps Yes, thanks. There's obviously still a problem, but it's probably a Maven issue. > Oleg > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org > > For additional commands, e-mail: dev-help@hc.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org > For additional commands, e-mail: dev-help@hc.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org