Re: Maven Artifact JDK Suffix - Mailing list pgsql-jdbc

From Sehrope Sarkuni
Subject Re: Maven Artifact JDK Suffix
Date
Msg-id CAH7T-arK+d65TE0wDavnT4x5JOdUXWcRgpk_GnbR4SD4gG9iSQ@mail.gmail.com
Whole thread Raw
In response to Re: Maven Artifact JDK Suffix  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Responses Re: Maven Artifact JDK Suffix
List pgsql-jdbc
On Fri, Jan 15, 2016 at 9:15 AM, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> wrote:
>* jre07-9.4.1207

This is not a valid Maven version.
Valid version should be <major>.<minor>.<patch><qualifier> where
major/minor/patch are numerics

It's still acceptable but it reduces all comparisons to pure string compares. As it's not the default style for Maven I agree we should avoid it then. 
 
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.

Regards,
-- Sehrope Sarkuni
Founder & CEO | JackDB, Inc. | https://www.jackdb.com/

pgsql-jdbc by date:

Previous
From: Matthieu SANCHEZ
Date:
Subject: Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL
Next
From: Vladimir Sitnikov
Date:
Subject: Code coverage tracking