Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E8FAF200C4E for ; Fri, 21 Apr 2017 18:39:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E7CF5160B97; Fri, 21 Apr 2017 16:39:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 37C17160B86 for ; Fri, 21 Apr 2017 18:39:22 +0200 (CEST) Received: (qmail 94708 invoked by uid 500); 21 Apr 2017 16:39:19 -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 94689 invoked by uid 99); 21 Apr 2017 16:39:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2017 16:39:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1FD8B18069B for ; Fri, 21 Apr 2017 16:39:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.097 X-Spam-Level: X-Spam-Status: No, score=-2.097 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id tmp5KozpFu2t for ; Fri, 21 Apr 2017 16:39:13 +0000 (UTC) Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BA6065F477 for ; Fri, 21 Apr 2017 16:39:12 +0000 (UTC) Received: by mail-wr0-f176.google.com with SMTP id c55so58102569wrc.3 for ; Fri, 21 Apr 2017 09:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=4CCoz5gayPfAR/x6pTPlMi6zNiQNhHJ+t/sfT2ER+lU=; b=SO9Ryh6RLA/qRbQLUmKpOGRy7msgDbs/QieWjsIcqrmTPS+dqtLmz/3s46rC+1C9AY N9AUAzWz1ti2hRrMwDKcdc3Kfhk2lz5SkyYdyoH7ymYt9VlhSCr67py3ISjrCTal7Nes 1zPb7nXAEwp+ZJzn2YyESktuj2+g9b3jvKL6x8S77Jiasc0mJ8/S4JcL/Y0zh7BGEyIE oUVeEiHBlbp4EGOimVpdJeNI2ZueNksmOYm6I6CxWvRyYoJsWRO2Xlv2VGESZv6KhJiY dgFg4CYjFWoOVgOOIpW6o3G4zSUEMyqtFnzjunUQVfikv1w+xIg2pbB66+SNDic3BFom Fkjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=4CCoz5gayPfAR/x6pTPlMi6zNiQNhHJ+t/sfT2ER+lU=; b=XfUV7+2dhIJrYqwXD79OfkC3DXkbuaztMoLjs1z+DO6t5n5EObykSTJBuLxwHIXDbP YZbxaP8G1ejiUJIVlVqSu9oX7Cwq9ZQGpyGWQ9xgfOnLC6+kIh37mdP59pXTXD3WzrCe 2Vz9XMoX5OjfqqcYgzdDGxBxYsqc0Qjo80EFn8QN7W5yxE6pYgTPzpxKFxErp5Fs+sJa asKSdTsLWCoQw3uK7HO0j4JaUHptTcSWVaIyQXGZKP2OVZDluLzT60tYB7DceVJfcbdM gnIZVkD2A/oykrmztWb96cSOWQaZJJ4Oi6wDuedn5mOEvtCW/iKXILZraxaE5pV0v6Wx rBig== X-Gm-Message-State: AN3rC/5xPh4X0O/GgZjVennen1aiV0P9lIiX82z1eGF2xL1xn9RK1A6/ pgu3Hm6Fp+fzkVOFUCM9aTTmxmEr5w2D X-Received: by 10.223.141.171 with SMTP id o40mr3629510wrb.110.1492792745928; Fri, 21 Apr 2017 09:39:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.150.228 with HTTP; Fri, 21 Apr 2017 09:39:05 -0700 (PDT) In-Reply-To: References: From: sebb Date: Fri, 21 Apr 2017 17:39:05 +0100 Message-ID: Subject: Re: [ALL] explicit Maven groupId in component POMs To: Commons Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Fri, 21 Apr 2017 16:39:23 -0000 On 21 April 2017 at 16:54, Benedikt Ritter wrote: > >> Am 21.04.2017 um 15:12 schrieb sebb : >> >> Commons components use two different styles of groupId: >> >> commons- - used by some original components (e.g. IO, NET) >> org.apache.commons - newer style, used by most components >> >> Since Commons Parent uses the latter, and the groupId is inherited, in >> theory a component using the new groupId does not need to specify it. >> >> However, I think that is unwise, as it's not clear whether the >> omission is deliberate or accidental. >> Also the parent could potentially be changed to one with a different gro= upId. >> >> Far better to specify the groupId explicitly rather than relying on an >> inherited default. >> >> Agreed? > > -1: it=E2=80=99s redundant and unnecessary. Strictly speaking, yes. But the problem is that it would be very easy to change the parent gid and assume that everything is still OK. Especially with Commons which has a mixture of groupIds, I think it's important to explicitly state the intended groupId for each component. >> >> S. >> P.S. Note that changing the groupId can only be done if the package >> name is also changed, see >> https://wiki.apache.org/commons/MavenAndClasspath >> >> --------------------------------------------------------------------- >> 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org