From users-return-28495-apmail-maven-users-archive=maven.apache.org@maven.apache.org Mon Sep 05 23:17:31 2005 Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 97004 invoked from network); 5 Sep 2005 23:17:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2005 23:17:31 -0000 Received: (qmail 8205 invoked by uid 500); 5 Sep 2005 23:17:26 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 8161 invoked by uid 500); 5 Sep 2005 23:17:26 -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 8148 invoked by uid 99); 5 Sep 2005 23:17:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 16:17:26 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_30_40,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of brett.porter@gmail.com designates 64.233.184.192 as permitted sender) Received: from [64.233.184.192] (HELO wproxy.gmail.com) (64.233.184.192) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 16:17:39 -0700 Received: by wproxy.gmail.com with SMTP id 67so920742wri for ; Mon, 05 Sep 2005 16:17:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ex20x/2IY2UJ8yIl+v822ELjPp8KzYsYhgtsv6BZOlpc1/MQDwkvwQWvr/KsZhOBc1+59VkQ/+iQcIgsERt3PXDGsmam7rU0GhToJzCcZc5/H7+pY1hnHZvlFHtbzXEGe9YlsHipNMuPuSkzajOfba0Jx7Pw4V1x4wLePp30oU8= Received: by 10.54.3.79 with SMTP id 79mr4435849wrc; Mon, 05 Sep 2005 16:17:24 -0700 (PDT) Received: by 10.54.42.42 with HTTP; Mon, 5 Sep 2005 16:17:24 -0700 (PDT) Message-ID: <9e3862d805090516174ca8cae@mail.gmail.com> Date: Tue, 6 Sep 2005 09:17:24 +1000 From: Brett Porter To: Maven Users List Subject: Re: [m2] Dependency mistake in commons-dbcp? In-Reply-To: <431CD0DF.6010604@cyberspaceroad.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5821_21384448.1125962244049" References: <431CD0DF.6010604@cyberspaceroad.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5821_21384448.1125962244049 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline It was automatically converted from Maven 1.x, where the information is=20 often not rich enough. We will be reviewing metadata before the m2 release,= =20 but you can help by filing bugs at the http://jira.codehaus.org/browse/MEV(I think this one is already recorded). - Brett On 9/6/05, Adam Hardy wrote: >=20 > I get this in my output >=20 > [INFO] >=20 > -------------------------------------------------------------------------= --- > [INFO] Building MyStuff Login Module > [INFO] task-segment: [eclipse:eclipse] > [INFO] >=20 > -------------------------------------------------------------------------= --- > [DEBUG] org.mystuff:mystuff-login:jar:1.0-SNAPSHOT (selected for null) > [DEBUG] junit:junit:jar:3.8.1 (selected for test) > [DEBUG] commons-dbcp:commons-dbcp:jar:1.2.1 (selected for compile) > [DEBUG] jdbc:jdbc:jar:2.0 (selected for compile) > [DEBUG] junit:junit:jar:3.8.1 (setting scope to: compile) > [WARNING] > Artifact junit:junit:jar:3.8.1 has scope 'test' replaced with > 'compile' > as a dependency has given a broader scope. If this is not > intended, use -X to locate the dependency, > or force the desired scope using dependencyManagement. >=20 > [DEBUG] junit:junit:jar:3.8.1 (removed - nearer found: 3.8.1) >=20 >=20 >=20 > It seems that commons-dbcp sets JUnit as a compile dependency: >=20 >=20 > http://www.ibiblio.org/maven2/commons-dbcp/commons-dbcp/1.2.1/commons-dbc= p-1.2.1.pom >=20 > Surely this can't be right? I'd be glad to hear from anyone who helped > put that POM together. >=20 > Regards > Adam >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org >=20 > ------=_Part_5821_21384448.1125962244049--