Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 5713 invoked from network); 24 Mar 2011 09:42:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2011 09:42:40 -0000 Received: (qmail 58508 invoked by uid 500); 24 Mar 2011 09:42:40 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 58431 invoked by uid 500); 24 Mar 2011 09:42:40 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 58422 invoked by uid 99); 24 Mar 2011 09:42:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 09:42:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simone.tripodi@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-wy0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 09:42:36 +0000 Received: by wyb32 with SMTP id 32so9773768wyb.30 for ; Thu, 24 Mar 2011 02:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=CLxrCrD89xxMfaHV0tGW3RzfyrFl9yaquY+QUolf/KI=; b=ozncyalXWcSQDr3IKyme8zWj/lFsm1X79+R1UVBJG2k0lFjT/s8AhZHSCpks0b8z3a jBGYWYNgMUhfGcChh+7DK3/xaub5vER6Xhquim7qK20ZjSuPhqLvMRlUjBD11gNCgnkf CIakS9tfTVyh2ihbG5Mdc4xvcvCj4z1R5n620= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=BDnieAzAxE1rbGoMysSVZtLNudmI+GeSojyKYMPnm5+ZDu0x2Xmuk//AUCPCNvBm/n ARWAQasZOi5g0Mmg6R25KfIrBRh9hHoGtluq1iEmdi53AKJ15Ud0gTj+mU60nuzyF3Wc mJQVW07o39FKsQjhEwBmqWCeUTfGpV0z6TkZc= MIME-Version: 1.0 Received: by 10.227.202.139 with SMTP id fe11mr7335296wbb.169.1300959734272; Thu, 24 Mar 2011 02:42:14 -0700 (PDT) Sender: simone.tripodi@gmail.com Received: by 10.227.144.133 with HTTP; Thu, 24 Mar 2011 02:42:14 -0700 (PDT) In-Reply-To: References: <20110323220908.47D6A238899C@eris.apache.org> Date: Thu, 24 Mar 2011 10:42:14 +0100 X-Google-Sender-Auth: bypU_Bemf5vPTWXsGjLfdTw_KD8 Message-ID: Subject: Re: svn commit: r1084776 - /commons/proper/pool/trunk/pom.xml From: Simone Tripodi To: Commons Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Jorg, I agree with you, but I think we've enough flexibility that if the component needs to override the groupId, simply redeclare it. BTW If we're changing the parent reference, maybe we need to to review the whole set of metadata, I won't expect that a component is released with overlooked groupId, do you? Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Thu, Mar 24, 2011 at 9:01 AM, J=C3=B6rg Schaible wrote: > sebb wrote: > >> On 24 March 2011 00:09, Niall Pemberton wrot= e: >>> On Thu, Mar 24, 2011 at 12:05 AM, sebb wrote: >>>> On 23 March 2011 23:37, Simone Tripodi wrot= e: >>>>> On Thu, Mar 24, 2011 at 12:28 AM, sebb wrote: >>>>>> On 23 March 2011 23:14, Simone Tripodi >>>>>> wrote: >>>>>>> I think maven best practice would suggest to avoid groupId >>>>>>> duplication - for pool2 we agreed to switch to o.a.c groupId. >>>>>>> which problems are you speaking about? I'm asking because I would >>>>>>> have missed something I don't know yet. >>>>>> >>>>>> I just mean that the POM should specify the groupId even if it is th= e >>>>>> same as the parent. >>>>>> >>>>> >>>>> I still don't understand the reason why it should do it, can you poin= t >>>>> me to some doc? >>>> >>>> AFAIK, there is no such document. >>>> >>>> But it's important for people reading the POM to know immediately what >>>> the groupId is, without having to go searching for the parent. >>> >>> There is no need to go searching for the parent. You can just look at >>> the element's groupId in the POM you're reading. >> >> OK, but I still think it's risky to rely on inheritance for such an >> important value. >> >> In theory, the parent might be changed, e.g. to the Apache POM, as >> used in Common Site >> >> Also, having an explicit value documents that the groupId is being >> intentionally set for this component. > > The info is redundant, but I second Sebb here, simply because in Commons = not > every component has necessarily the same groupId. Currently we switch fro= m > the old M1-style groupId to this one only on purpose and therefore I pref= er > also the explicit definition here. > > - J=C3=B6rg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org