From dev-return-7291-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Wed Mar 31 12:47:55 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 0C533180607 for ; Wed, 31 Mar 2021 14:47:55 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 68C7B5FFF1 for ; Wed, 31 Mar 2021 12:47:54 +0000 (UTC) Received: (qmail 22550 invoked by uid 500); 31 Mar 2021 12:47:53 -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 22534 invoked by uid 99); 31 Mar 2021 12:47:52 -0000 Received: from spamproc1-he-fi.apache.org (HELO spamproc1-he-fi.apache.org) (95.217.134.168) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2021 12:47:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-fi.apache.org (ASF Mail Server at spamproc1-he-fi.apache.org) with ESMTP id 38959C02D8 for ; Wed, 31 Mar 2021 12:47:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-fi.apache.org X-Spam-Flag: NO X-Spam-Score: 0.199 X-Spam-Level: X-Spam-Status: No, score=0.199 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.2, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamproc1-he-fi.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=asert-com-au.20150623.gappssmtp.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-fi.apache.org [95.217.134.168]) (amavisd-new, port 10024) with ESMTP id kabBidjgEtGs for ; Wed, 31 Mar 2021 12:47:51 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::52e; helo=mail-ed1-x52e.google.com; envelope-from=paulk@asert.com.au; receiver= Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id E67597FCCF for ; Wed, 31 Mar 2021 12:47:50 +0000 (UTC) Received: by mail-ed1-x52e.google.com with SMTP id e7so22127479edu.10 for ; Wed, 31 Mar 2021 05:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asert-com-au.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=ZoVg0PfFFAcBAADi45gQob7qoHrs8pfBQvlqRwS4XGE=; b=XY3a40IC8eAG8r0pmh9HcDbPVg7A5m1BBXSgrp8KjWNvmO4JfDWN4fSamnnxxW/XHm 5hbEoRyw0d4KfJ3Ve8QPPLlE7yIFNga9et/Yp55jocgETr2kfMaPNiK4LyIs6tK0x0yT IMEdn0uMyrAJU5Cj/JPY3g4pRwh965i3MehYUC2W5KJZyw9XQJof7dGtR1gEWZX09sI3 dOiu7lAqbOOrBy0SpsOLeAXwXuSmGhzA9wwWn/JPbqP82r3CTwkqmqbni6PutEZRKPO5 6orJaFYqx9BZvyrGeXM1P74LuvnRo8EiSfomCkHuPKwCAsMQvOySUQYA3sKA8HdZWkqW Ag2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=ZoVg0PfFFAcBAADi45gQob7qoHrs8pfBQvlqRwS4XGE=; b=rq6XnmVLEyfayBaQPHBpItr33DHKKubo4huOkDXtJhijBEbLdgY56XewxZkf3OckqS eXFFbgTAATah8a9J2SPRQMCWxnote+EMCQiykhvmXFoh9X4EKey4NbXL69N0jBpbSlSx 665OdE2Lhx0mRScLSwKGWGlFb3J5XiVJ4dkg+MnlrJaRA7FyE8PMx4AHzK78la2MmLYK 96b866E9QGg9M104YOxYNw4cJj2qXPrejwCcJrZjgQ7vgdgiBuAXy498QrVbBs8ALO+B n4o7gFLpDMJkv6g6kdQhsc7wJvKXcYtdnWUOpNjcRBhQu9//8yZPTmocAyUqkO3HgXut mLgA== X-Gm-Message-State: AOAM532npoALQ/5XjWD0/pGMDL5NNgLfDAYteU1LNX8RdBM5E1q1/8uU uqSsz2SAqBMyvBD8vupgx1zqw6d4IKvAMppClJCKxCagNgMsEg== X-Google-Smtp-Source: ABdhPJwJnNRmDpRDEmUSgZBabmy5xBQ6iaNXx3Hoe3TOUy455SyT70dhTGUD/KhY24SqtKgMnKSqH0zRwFTRD/knnzQ= X-Received: by 2002:a05:6402:4407:: with SMTP id y7mr3481300eda.247.1617194869800; Wed, 31 Mar 2021 05:47:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: paulk@asert.com.au From: Paul King Date: Wed, 31 Mar 2021 22:47:38 +1000 Message-ID: Subject: Re: Potential removal of JAXB un/marshal extension methods in Groovy 4 To: Groovy_Developers Content-Type: multipart/alternative; boundary="000000000000bf51a905bed48523" --000000000000bf51a905bed48523 Content-Type: text/plain; charset="UTF-8" On Wed, Mar 31, 2021 at 10:39 PM Mariusz W wrote: > Hi, > Ok for me. I still had to remember to add / copy dependency files from > extras-jaxb. As I understand it will no longer be needed. > Yes, those jars should be added transitively by your build tool if you have groovy-jaxb as dependency and should be added automatically when needed if you are using the start scripts that come with a Groovy install or standard groovy-starter.conf file in the Groovy install but there has been mixed support from IDE vendors as to whether those jars are added automatically or must be manually added - obviously it depends on which JDK versions are in use etc, so I guess involves some complexity. For those interested, there are now further links. Jira: https://issues.apache.org/jira/browse/GROOVY-10005 PR: https://github.com/apache/groovy/pull/1539 Cheers, Paul. > Regards, > Mariusz > > On 2021/03/29 06:14:30, Paul King wrote: > > Hi folks, > > > > We have 4 JAXB extension methods which offer a very small enhancement > over > > the built-in JAXB methods. The way these are packaged causes increased > > complexity in JDK9+ environments which even today doesn't seem to be > > handled well by IDEs such as JetBrains' IDEA. Weighing up the minimal > value > > those methods add vs the complexities they burden us with, I am thinking > of > > removing those methods in Groovy 4. Does anyone have objections? > > > > The groovy-jaxb jar from Groovy 3 will likely remain compatible with > Groovy > > 4 for those that still wish this functionality but folks would need to > > explicitly add that as a dependency. Feedback welcome. > > > > Cheers, Paul. > > > --000000000000bf51a905bed48523 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Mar 31, 2021 at 10:39 PM Mari= usz W <mawasak@gmail.com> wr= ote:
Hi,
Ok for me. I still had to remember to add / copy dependency files from extr= as-jaxb. As I understand it will no longer be needed.
=
Yes, those jars should be added transitively by your build t= ool if you have groovy-jaxb as dependency and should be added automatically= when needed if you are using the start scripts that come with a Groovy ins= tall or standard groovy-starter.conf file in the Groovy install but there h= as been mixed support from IDE vendors as to whether those jars are added a= utomatically or must be manually added - obviously it depends on which JDK = versions are in use etc, so I guess involves some complexity.
For those interested, there are now further links.
PR:=C2=A0https://g= ithub.com/apache/groovy/pull/1539

Cheers, Paul= .
=C2=A0
Regards,
Mariusz

On 2021/03/29 06:14:30, Paul King <paulk@asert.com.au> wrote:
> Hi folks,
>
> We have 4 JAXB extension methods which offer a very small enhancement = over
> the built-in JAXB methods. The way these are packaged causes increased=
> complexity in JDK9+ environments which even today doesn't seem to = be
> handled well by IDEs such as JetBrains' IDEA. Weighing up the mini= mal value
> those methods add vs the complexities they burden us with, I am thinki= ng of
> removing those methods in Groovy 4. Does anyone have objections?
>
> The groovy-jaxb jar from Groovy 3 will likely remain compatible with G= roovy
> 4 for those that still wish this functionality but folks would need to=
> explicitly add that as a dependency. Feedback welcome.
>
> Cheers, Paul.
>
--000000000000bf51a905bed48523--