pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Maven Artifact JDK Suffix
Date: Mon, 18 Jan 2016 11:52:08 +0200
Message-ID: <569CB5C8.1040201@nitorcreations.com> (raw)
In-Reply-To: <CAH7T-arK+d65TE0wDavnT4x5JOdUXWcRgpk_GnbR4SD4gG9iSQ@mail.gmail.com>
References: <CAH7T-aoBbaEm5UTF_4iipK7QKkidqObOgwoNnr-SGPKaivvzqg@mail.gmail.com>
	<b3d2112cf815290bfba8f94ef2ab0d4e@imap.procolix.com>
	<CADK3HHKap19C9=20sQpTqowY-0=43O04Vsb2_7C8gJ8FfVc9FA@mail.gmail.com>
	<4822999055c271ac624490a5e9f18625@imap.procolix.com>
	<CAB=Je-EP=P+vdwyFx9QsYczsoJ2eCAdDA+nUbABOmgPFHqGFzw@mail.gmail.com>
	<CADK3HHJU5JejQhdi7E527Hk30+y7ZTQpRwfkwXgVXJjZ2xNJWg@mail.gmail.com>
	<CAB=Je-HYD_Y+V9+5cibdrL4M_aR=2Wq9pbarRE8zK9Mwnf3RCA@mail.gmail.com>
	<CADK3HHJhb=6MHDM23W3rFDYgwcWLPtErxYtBhCO34XHyJA6vuw@mail.gmail.com>
	<CAB=Je-ExKHb0YTQZOQFqJ6FXx9dNJkhjd2ecUo4veG3Y_ey-ZQ@mail.gmail.com>
	<CAH7T-ar_O5EVxB-xeoYqHrbpu_gH9uqzsrTokUxut+nMmxfXDA@mail.gmail.com>
	<CAB=Je-EL-zD1P-ZscJtFHyWOAJ=ZUiuVX9PGTrxAHjvhHt7C-g@mail.gmail.com>
	<CAH7T-aqx37YvvXwZPkPfJ3Q9bcgDP_0dsf=O3Yrdbrbicvi3ug@mail.gmail.com>
	<CAB=Je-Fg4iK0o0fB96uZsbfQdTtTj+XkeYxEcFR_+jF6vdKy0g@mail.gmail.com>
	<CAH7T-arK+d65TE0wDavnT4x5JOdUXWcRgpk_GnbR4SD4gG9iSQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On 01/16/2016 04:55 PM, Sehrope Sarkuni wrote:
> On Fri, Jan 15, 2016 at 9:15 AM, Vladimir Sitnikov 
> <sitnikov.vladimir@gmail.com> wrote:
>
>     >* jre07-9.4.1207
>
>     We'd probably better follow "plug&pray" development style and go ahead
>     with jre6/jre7/jre8 then.
>
>
> Yes I guess we don't really have much other choice besides 
> complicating things quite a bit with separate dependencies for the API 
> itself (and/or separate artifacts per JDK).
>
> We should add a note to the README about this as well. I'm sure 
> someone will eventually run into the issue of a dependency specifying 
> a newer driver version with a lower JDK. Would be nice to have it 
> documented somewhere that the solution is to make sure the top level 
> Maven project specifies the latest version for the desired JDK version.

I'd like to point that the latest java9 pre-release (jre9 build 100) 
contains support for Multi-Release jars 
http://openjdk.java.net/jeps/238. This means we can put both jre8 and 
jre9 specific classes to same jar file. So we only need the jre6 and 
jre7 for legacy reasons. For users this is a good news since they no 
longer have to care about their jre version - the single jar just works 
for them, even after they update the jre.

So my proposal is to not add jre8 qualifier to the current jre8 jars. We 
just need to add support to the build for the multi-release jars before 
jre9 is released next year. I'm certain that a proper maven tooling to 
do that will materialize in time.

-Mikko

view thread (26+ messages)  latest in thread

Message-ID: <569CB5C8.1040201@nitorcreations.com>
Permalink:  ../569CB5C8.1040201@nitorcreations.com/
Also on:    postgresql.org/message-id/569CB5C8.1040201@nitorcreations.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mikko.tiihonen@nitorcreations.com
  Subject: Re: Maven Artifact JDK Suffix
  In-Reply-To: <569CB5C8.1040201@nitorcreations.com>
  References: <CAH7T-aoBbaEm5UTF_4iipK7QKkidqObOgwoNnr-SGPKaivvzqg@mail.gmail.com> <b3d2112cf815290bfba8f94ef2ab0d4e@imap.procolix.com> <CADK3HHKap19C9=20sQpTqowY-0=43O04Vsb2_7C8gJ8FfVc9FA@mail.gmail.com> <4822999055c271ac624490a5e9f18625@imap.procolix.com> <CAB=Je-EP=P+vdwyFx9QsYczsoJ2eCAdDA+nUbABOmgPFHqGFzw@mail.gmail.com> <CADK3HHJU5JejQhdi7E527Hk30+y7ZTQpRwfkwXgVXJjZ2xNJWg@mail.gmail.com> <CAB=Je-HYD_Y+V9+5cibdrL4M_aR=2Wq9pbarRE8zK9Mwnf3RCA@mail.gmail.com> <CADK3HHJhb=6MHDM23W3rFDYgwcWLPtErxYtBhCO34XHyJA6vuw@mail.gmail.com> <CAB=Je-ExKHb0YTQZOQFqJ6FXx9dNJkhjd2ecUo4veG3Y_ey-ZQ@mail.gmail.com> <CAH7T-ar_O5EVxB-xeoYqHrbpu_gH9uqzsrTokUxut+nMmxfXDA@mail.gmail.com> <CAB=Je-EL-zD1P-ZscJtFHyWOAJ=ZUiuVX9PGTrxAHjvhHt7C-g@mail.gmail.com> <CAH7T-aqx37YvvXwZPkPfJ3Q9bcgDP_0dsf=O3Yrdbrbicvi3ug@mail.gmail.com> <CAB=Je-Fg4iK0o0fB96uZsbfQdTtTj+XkeYxEcFR_+jF6vdKy0g@mail.gmail.com> <CAH7T-arK+d65TE0wDavnT4x5JOdUXWcRgpk_GnbR4SD4gG9iSQ@mail.gmail.com> <569CB5C8.1040201@nitorcreations.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox