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 6223B200D4D for ; Sun, 3 Dec 2017 19:03:16 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 60AAE160C0B; Sun, 3 Dec 2017 18:03:16 +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 80B60160BF8 for ; Sun, 3 Dec 2017 19:03:15 +0100 (CET) Received: (qmail 99936 invoked by uid 500); 3 Dec 2017 18:03:14 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 99926 invoked by uid 99); 3 Dec 2017 18:03:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2017 18:03:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9BAFB1A0736 for ; Sun, 3 Dec 2017 18:03:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id YjDANRD7f-7m for ; Sun, 3 Dec 2017 18:03:12 +0000 (UTC) Received: from mail-ot0-f176.google.com (mail-ot0-f176.google.com [74.125.82.176]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 605965FB3A for ; Sun, 3 Dec 2017 18:03:11 +0000 (UTC) Received: by mail-ot0-f176.google.com with SMTP id 103so821951otj.12 for ; Sun, 03 Dec 2017 10:03:11 -0800 (PST) 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; bh=3WHXdfSUba1EMo9v981B8MMeIVoj0BfPMS72hNZWkp8=; b=da5FgKHhpFNEHYb0x9JGdT793lWO1l6S9t4CqPZVoA/NH9z137W7/5mLmdb1V4/T14 SrRoyRjw3+K5tDKtZ86Kw7MjKkRsJLhMA1k9EnUObDhCpxrAqzCFSp3felLeOw5S3U/6 T6eELMzJpjqqDUBxoimqYAduA1KwliJhdOqMhrcszzWnviGl8qYrfNi0ihEAaELJI04R KOZ/cOY4Z//g420Itt8ecoKlVXn86lYha3L+7dm9H/HbwqlTE2517lxX5lQVsdeH1LE6 4bKqnWRJvutIYHTE1SWosKPYmAj8p0Dghm39eLSbTaDoaFldBkFadYY3jq2qIFcC0cr8 P6Qg== 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; bh=3WHXdfSUba1EMo9v981B8MMeIVoj0BfPMS72hNZWkp8=; b=NZSePJ13tVC29Z0JH1Lv+vV0FmY/UwTlWsea/6ME2J9lfnr9/GgDJImi8GDccIPI2e mFRqJLCwFT8fFUm8/AKPxlSv0ydWdXa1RzpD429V47ZziFvOq7qDl8SqKtK8lmBiAc1H GKKd7GsaYhmyYkUW1xNp2BKKZ46I/bBpohnHQGoq6ITZUXXLRCHjqMvYk12hek3n3K/Q lKYrUN5gqbFWVtdaVV8taniCPrOgCn4ZJbH1pWewjYWR2HOBqdWZjTn0TQ2oArVvFWZk 0bEj3HF/G6+80NMWx3cKbDBgPchjDscI6vrtgZDhyLbCiqulfqSvxYIS5SQTEN4zdt/f k7Kg== X-Gm-Message-State: AJaThX68V6k/o1IuGm7h+HQXJVfmy3iNw0vuYW21dklQ6KT9KI8Nvnom dOLdSGAUiXSdqXlVsmrEu9PnquYqIAeQOEthj+jRyg== X-Google-Smtp-Source: AGs4zMa44vsYltXAFNwaVBlzBj3umVBbSdpIVgjlgfRpH6UKSNc7VvLzv9DrVNhApmRe6VDJBwRSaED2r7qY3TzWiPU= X-Received: by 10.157.62.65 with SMTP id h1mr14192746otg.304.1512324189804; Sun, 03 Dec 2017 10:03:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.9.102 with HTTP; Sun, 3 Dec 2017 10:03:09 -0800 (PST) In-Reply-To: <9a9eb52a-8037-93eb-8d44-4c66d05e627d@bruenings-it.net> References: <9C9EDCDC-A295-4137-B6B0-4C78896A4C7C@univ-mlv.fr> <9a9eb52a-8037-93eb-8d44-4c66d05e627d@bruenings-it.net> From: =?UTF-8?Q?C=C3=A9dric_Champeau?= Date: Sun, 3 Dec 2017 19:03:09 +0100 Message-ID: Subject: Re: [VOTE] Automatic module names To: dev@groovy.apache.org Content-Type: multipart/alternative; boundary="f403045e35fc1e5bd4055f736a6f" archived-at: Sun, 03 Dec 2017 18:03:16 -0000 --f403045e35fc1e5bd4055f736a6f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Right, the exact name of the module can be discussed. I have nothing against org.apache.groovy.json. 2017-12-03 18:38 GMT+01:00 Leonard Br=C3=BCnings : > +1 with the amendment from R=C3=A9mi > > Am 03.12.2017 um 11:39 schrieb Remi Forax: > > Cedric, > you can not have a dash in the name if you want the module name be > referenced in a module-info.java. > > so it should be org.apache.groovy.json > > cheers, > R=C3=A9mi > > > On December 3, 2017 10:31:27 AM GMT+01:00, "C=C3=A9dric Champeau" > wrote: >> >> Hi fellow Groovy devs, >> >> We had 2 different conversations in the past weeks regarding automatic >> module names for Groovy. We also starting receiving notifications that s= ome >> 3rd party projects are blocked by Groovy when upgrading to modules (whic= h >> is no surprise). Logback for one. >> >> We need to move forward, and take small steps forward. So, here's the >> plan: >> >> 1a. Replace the groovy-all jar with a groovy-all POM with just >> dependencies, so that those depending on groovy-all.jar would now get >> groovy.jar, groovy-json.jar and friends, instead of the all jar. >> 1b. Add automatic module names for all jars we have. Since we know >> breaking changes are coming, I'd suggest using "org.codehaus.groovy", >> "org.codehaus.groovy-json", ... >> 2. Fix split packages >> 3. When this is fixed, change module names to "org.apache.groovy", >> "org.apache.groovy-json", ... >> >> I would do 1a and 1b as soon as possible (2.5). >> I would do 2 and 3 for 3.0, since those are binary breaking changes. Thi= s >> is also why I would leverage that to move to org.apache module names. >> >> I am against providing another -all jar, which would be confusing. Also >> we have to get rid, as a larger community (java), of the bad habit of us= ing >> fat jars as dependencies. Those should only be used in final application= s, >> not libraries, so should be transparent to consumers. >> >> Please vote, so that we can move forward. >> >> [ ] +1 The plan sounds good >> [ ] 0 I don't understand enough of the context to have an opinion >> [ ] -1 because... >> >> Thanks a lot, >> >> > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > > > --f403045e35fc1e5bd4055f736a6f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Right, the exact name of the module can be discussed. I ha= ve nothing against org.apache.groovy.json.


2017-12-03 18:38 GMT+01:00 = Leonard Br=C3=BCnings <groovy-dev@bruenings-it.net>:
=20 =20 =20

+1 with the amendment from R=C3=A9mi


Am 03.12.2017 um 11:= 39 schrieb Remi Forax:
Cedric,
you can not have a dash in the name if you want the module name be referenced in a module-info.java.

so it should be org.apache.groovy.json

cheers,
R=C3=A9mi


On December 3, 2017 10:31:27 AM GMT+01:00, "C=C3=A9dric Champeau" <cedric.champeau@gmail.com> wrote:
Hi fellow Groovy devs,

We had 2 different conversations in the past weeks regarding automatic module names for Groovy. We also starting receiving notifications that some 3rd party projects are blocked by Groovy when upgrading to modules (which is no surprise). Logback for one.

We need to move forward, and take small steps forward. So, here's the plan:

1a. Replace the groovy-all jar with a groovy-all POM with just dependencies, so that those depending on groovy-all.jar would now get groovy.jar, groovy-json.jar and friends, instead of the all jar.
1b. Add automatic module names for all jars we have. Since we know breaking changes are coming, I'd suggest using "org.codehaus.groovy", "org.codehaus.gro= ovy-json", ...
2. Fix split packages
3. When this is fixed, change module names to "org.apache.groovy", "org.apache.groovy-json&q= uot;, ...

I would do 1a and 1b as soon as possible (2.5).
I would do 2 and 3 for 3.0, since those are binary breaking changes. This is also why I would leverage that to move to org.apache module names.

I am against providing another -all jar, which would be confusing. Also we have to get rid, as a larger community (java), of the bad habit of using fat jars as dependencies. Those should only be used in final applications, not libraries, so should be transparent to consumers.

Please vote, so that we can move forward.

[ ] +1 The plan sounds good
[ ] 0 I don't understand enough of the context to have an opinion
[ ] -1 because...

Thanks a lot,


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


--f403045e35fc1e5bd4055f736a6f--