From users-return-143476-archive-asf-public=cust-asf.ponee.io@maven.apache.org Wed Sep 19 13:55:43 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CE442180621 for ; Wed, 19 Sep 2018 13:55:42 +0200 (CEST) Received: (qmail 80245 invoked by uid 500); 19 Sep 2018 11:55:41 -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 80229 invoked by uid 99); 19 Sep 2018 11:55:40 -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; Wed, 19 Sep 2018 11:55:40 +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 434991A320A for ; Wed, 19 Sep 2018 11:55:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.889 X-Spam-Level: * X-Spam-Status: No, score=1.889 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, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] 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 TUa580viDXIK for ; Wed, 19 Sep 2018 11:55:38 +0000 (UTC) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 750DE60DCE for ; Wed, 19 Sep 2018 11:55:37 +0000 (UTC) Received: by mail-lf1-f48.google.com with SMTP id g24-v6so4841468lfb.11 for ; Wed, 19 Sep 2018 04:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=rWlQ21xvA5R0RAGMH91I9NcWduto52pyOE5Y728AbvY=; b=CnEQyldDz1C6TzUpPioq0Ef4WewioecGIrdgpNRzfZYuWRZDPfsyD+SToG+QrJ2i+H iz+jNAttbvlRc0P3rtZQJOaPhy3PvC3T4sJ6oPTL8BPCKLV23ZHVA9ZMobPSBSxRPyeI AiZ4iHWJdAcXAztWvqmWmcWYtFAOpyea1CVrVaf2k9ewJ35MUXSgOnUqNow7ycK71AYm 0YvwAmvHtrMnoASOiwmnqvBqaPV5K5HyCC8ifyNnzX8aay1fAIEhkP7GwdwhxxeGklQ1 VtB5jg5AL2WVMFTgAh5k5Me4M7gZ97e9L5aaVP0T06ESPTvpP09w4sSfStsB306NhTMc KtCA== 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:from:date :message-id:subject:to; bh=rWlQ21xvA5R0RAGMH91I9NcWduto52pyOE5Y728AbvY=; b=XKfrZDww+2hXb8Azrx9m8CyLT6xNSGTrW4QVKqdOJ/oztYutbN86FAQzPuhxE/1hDQ I4c26XJqiIEH+dL0WBnbs90RbLv9bvOi7j4yLDUiDyS5maqmyoy/YMcgEhnJEghoWbRP shYFVztlf/6rsGPfrMeegdMC5hjvJBFZt1MEo9EKHSitwDZr9LA+GfLGMxNoO2ONwo1U HLSLla6aO8PVXHpytFYwM/ZWg/1zMMOnCS+GbnG7vsbROqxTke1Aa+vQLyJES2I44dVm Tvm+qNvQPIGBl1T0mt8+DmkLbyfas9YY13ryv5jeeeHoUqHyM7fAEE6L87QEmmOyYZow 5r4Q== X-Gm-Message-State: APzg51CTJ8lSTkC/6kNl2+LrDhVceFXdLsbIoEBJJxb41HIJjTRx61+p sXwtfCTpnD78AyZDZYDQpitwYBauk5MopuqtvLbGc3eL X-Google-Smtp-Source: ANB0VdYyP1/o0joLLWXaBZLmlqI8BvjwKR2EE4rH5NsRFlHyCYkXU3h1mL64f5EVetW5JIIFGwrHYZt6/LutF1XHKDI= X-Received: by 2002:a19:9e85:: with SMTP id h127-v6mr22036068lfe.89.1537358136455; Wed, 19 Sep 2018 04:55:36 -0700 (PDT) MIME-Version: 1.0 References: <3410581.boY4jWbckz@floh> In-Reply-To: From: Sverre Moe Date: Wed, 19 Sep 2018 13:55:24 +0200 Message-ID: Subject: Re: Java 11 and java.xml.bin, etc. To: users@maven.apache.org Content-Type: multipart/alternative; boundary="0000000000009db74205763815a1" --0000000000009db74205763815a1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This is what we have done for our legacy application running Java 8. By adding the dependencies for JAXB we where able to run our application with Java 9 and 10 without any other changes needed and still keep compatibility with Java 8. We don't have the compile scope, as we deploy with Java Web Start and need the JAXB dependencies there in case some client is running Java 9+. javax.xml.bind jaxb-api 2.2.11 com.sun.xml.bind jaxb-core 2.2.11 com.sun.xml.bind jaxb-impl 2.2.11 javax.activation activation 1.1.1 This is the Sun JAXB implementation. There is alternatives from Glassfish and Eclipselink. Den tir. 18. sep. 2018 kl. 21:46 skrev Robert Scholte : > Add them as compile scoped dependencies. The JRE implementation will be > picked up first, so there should be no issues here. > AFAIK this is what the jigsaw team suggests to do. (this is actually not > a > buildtool specific issue but a general Java issue) > > thanks, > Robert > > > On Fri, 14 Sep 2018 01:21:52 +0200, Bernd Eckenfels > wrote: > > > And in addition to J=C3=B6rgs Questions, do we also have a canonical > > representation which replacements are actually preferred in ASL land? > > > > Gruss > > Bernd > > -- > > http://bernd.eckenfels.net > > > > ________________________________ > > Von: J=C3=B6rg Schaible > > Gesendet: Freitag, September 14, 2018 1:16 AM > > An: users@maven.apache.org > > Betreff: Java 11 and java.xml.bin, etc. > > > > Hi, > > > > now with Java 11 not containing several jave.ee modules, what's the bes= t > > approach for a library that supports still Java 8? I guess profiles bas= ed > > on the current Java version declaring the missing stuff as dependency a= re > > a bad idea. Should a library developer add the new dependencies > > nevertheless with compile/runtime scope or as provided or optional to > > move > > the responsibility to the library users? What do you recommend? > > > > Cheers, > > J=C3=B6rg > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --0000000000009db74205763815a1--