Or better yet, simply append .jre8 to the version, that way 42.0.0.jre8 > 42.0.0.jre7 > 42.0.0.jre6 and when Java 9 comes out it will be easy to use .jre9 and there will be no problem to identify what Java version it target.
El mar., 29 de nov. de 2016 10:57 AM, Jorge Solórzano <jorsol@gmail.com> escribió:
Vladimir, what do you think about using classifier in pgjdbc? It probably can simplify build of different jar and at the same time have proper versioning in maven.
In maven rules 42.0.0.jre7 > 42.0.0 (jre8) so this should help with correct versioning.