Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aL6UX-0008TZ-Pn for pgsql-jdbc@arkaria.postgresql.org; Mon, 18 Jan 2016 09:52:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aL6UX-0003Ve-7t for pgsql-jdbc@arkaria.postgresql.org; Mon, 18 Jan 2016 09:52:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aL6U1-0002xu-B3 for pgsql-jdbc@postgresql.org; Mon, 18 Jan 2016 09:52:22 +0000 Received: from mail-db3on0094.outbound.protection.outlook.com ([157.55.234.94] helo=emea01-db3-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aL6Tw-0006Wo-Uc for pgsql-jdbc@postgresql.org; Mon, 18 Jan 2016 09:52:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nitorgroupfi.onmicrosoft.com; s=selector1-nitorcreations-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=w2Qia64mjsFEyENJXASz/WilB8Vvqv+mN4W1/RJ7QKg=; b=FOLrqD8NqTbyrjZZqVUf5qR5YeWDd4Mnb91MG+plsjnrrZUMZnFnZmDuTMXIzMhZSAyjuL3m87CzeVAMRNFoAStpdFg3tdAcn9nsfSRoG/OFNslIr3tqWokiUFSZxvYwDZ+MXlzZ7ibP1OJyVYOiOyYbTzVMVDjKXOfXUUW6Lgg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mikko.Tiihonen@nitorcreations.com; Received: from localhost.localdomain (194.86.38.38) by DB5PR07MB1496.eurprd07.prod.outlook.com (10.165.212.14) with Microsoft SMTP Server (TLS) id 15.1.365.19; Mon, 18 Jan 2016 09:52:10 +0000 From: Mikko Tiihonen Subject: Re: Maven Artifact JDK Suffix To: References: <4822999055c271ac624490a5e9f18625@imap.procolix.com> Message-ID: <569CB5C8.1040201@nitorcreations.com> Date: Mon, 18 Jan 2016 11:52:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------070303000009080804010209" X-Originating-IP: [194.86.38.38] X-ClientProxiedBy: AM2PR02CA0023.eurprd02.prod.outlook.com (25.160.28.161) To DB5PR07MB1496.eurprd07.prod.outlook.com (25.165.212.14) X-Microsoft-Exchange-Diagnostics: 1; DB5PR07MB1496; 2:vKMQ+acMQ0dH9Ow2lHGyS7nCmR7BEjXwqFuVa+oDt1omvHzcZSH9CJ9jNUIlTo/NN0oFfYl1tOCGivgS3L1n//Y3oznsnSc6d6iNX41JQnTwsCWqRBrJd8TJftdXOSLA0t40c2AKFKZHXYNDrkoPKw==; 3:FXXT/4tG6VJJyIXdcxsp0J+OqX43T7+XBJFO0T91B/mCmN0eV5c6UsxULkMto0oWoxf7KoDhk4+V9r85ESFOQvu0hiCbt9joQeb8MyYbnbDSM6mKj6MXCQZLogt8zxgR; 25:G6ILC4AZ/e46Gk7+Lf0ULSIKn1ax5jKuXRUm0xvfR/x1tVbj+Hs75HYe/2QAvZ/v8DcY39GL/oK6rxM+M/jz9Kdz+Dzi1suKcgrFb2eCLluRuFTEYmQ2VfKBuFR6FBPmAm08RN/fogtlcW8zf1fd5sqkym/g7L0FjR1FkPRqcc6RAMQlog6Ki/f8rcVxj4UQ2xn6BvJTo8BV8iFfLY0dE2EGvy+A911msF8v1YU7aMZoSnL9PFq0T9ilQ2l7+TQR; 4:YdfbA0p+LuHdoKkePXVV81fQR36r0glNn3DW5hKf0JKsFpdneQRb1H28u4dZbqZKNUOrHwHPiF7Fb+eH6UfkMhi570gLhjq78Xxr3wdB8a45oyEofyKnpNvatA3QEjpvTcVLH6HWwlyJ1IM2vEl7HkNDgKxX/miBNiOaYeAdW6cUDdlv4k+OJjFx/i1+/tonkI2drMZ3c2b91G8Q5I1iIv2g0eX5WHCzHcNoLYLhf6CxvwUf48ebZhPptQQamZurvL1G3dPJTBvUw7dqgm+Tw3Fg6rQOfwoanYhK8kZDU1yUd4vHSvlaL6cXHLEtOdykQJECMLut91lsr1ctX7+tOujBSSoEszAFiKiYAYuhlvTAV72UcYbOhl6e4efWPB/c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR07MB1496; X-MS-Office365-Filtering-Correlation-Id: 1003bf12-9b4b-4875-8150-08d31fed0917 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(520078)(10201501046)(3002001); SRVR:DB5PR07MB1496; BCL:0; PCL:0; RULEID:; SRVR:DB5PR07MB1496; X-Forefront-PRVS: 08252193F3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(24454002)(199003)(377454003)(189002)(479174004)(15975445007)(270700001)(3846002)(586003)(561944003)(5001960100002)(1096002)(65956001)(66066001)(19617315012)(16236675004)(76176999)(54356999)(87266999)(65816999)(2950100001)(6116002)(64126003)(2351001)(84326002)(80316001)(50986999)(19580395003)(40100003)(19580405001)(92566002)(65806001)(33656002)(86362001)(5008740100001)(512874002)(450100001)(81156007)(106356001)(83506001)(87976001)(105586002)(110136002)(59896002)(93886004)(97736004)(101416001)(122386002)(4001350100001)(77096005)(42186005)(2906002)(189998001)(107886002)(36756003)(5004730100002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR07MB1496; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nitorcreations.com does not designate permitted sender hosts) X-Microso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Vr70Vg= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nitorcreations.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2016 09:52:10.8054 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR07MB1496 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org --------------070303000009080804010209 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit On 01/16/2016 04:55 PM, Sehrope Sarkuni wrote: > On Fri, Jan 15, 2016 at 9:15 AM, Vladimir Sitnikov > 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 --------------070303000009080804010209 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit 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
--------------070303000009080804010209--