pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Hernández Tortosa <aht@8kdata.com>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: Pavel Raiskup <praiskup@redhat.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
Date: Sun, 24 Jan 2016 20:04:51 +0100
Message-ID: <56A52053.8090404@8kdata.com> (raw)
In-Reply-To: <CAB=Je-HBuMFsCLeOh32QV4p45Pqeqd+RcNyd0oT66OkPNL7_WQ@mail.gmail.com>
References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com>
	<CALq+0_oHq8FqGR3FPNCa4X4B2mSBDzXT4UwZEvezgkZM-M4EjA@mail.gmail.com>
	<CAB=Je-HBuMFsCLeOh32QV4p45Pqeqd+RcNyd0oT66OkPNL7_WQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>



On 24/01/16 19:23, Vladimir Sitnikov wrote:
> Álvaro>- What if, for instance, the jre6 version wants to use a
> different version of a given dependency?
>
> It will just override the version.
     Sure, it can be overridden. But let me put it in a different way: 
to me, this is kind of a leaking abstraction. We're putting on the 
parent stuff that the parent should not know about (like an osgi or 
waffle dependency). Really, dependencies on a global parent pom (even if 
on dependencyManagenemt, which is where they belong) are only for those 
things so common that you surely want to use them all the time. waffle, 
osgi, do not fit in this category. Logging or findbugs may, for instance.

> However, the idea is to keep versions the same as much as it is possible.

     That's desirable, but not always possible.
>
> Álvaro>- What does it mean for pgjdbc/ubenchmark project to "know"
> about waffle or osgi dependencies?
>
> It means that we can benchmark exactly the libraries that are in the
> dependencies of the main project.
> How otherwise would you pick a waffle version in case you want to benchmark it?

     Sure, if the benchmark wants to benchmark waffle, then it must of 
course include that dependency. But today is not doing that, and that's 
why it should not have that dependency.
>
> Álvaro> is not uncommon to see dependencies having different versions
> for Java <=6 and Java > 6)
>
> The idea is "current setup" is "good enough", so we would drop Java 6
> support earlier than such "specific for Java 6 dependency" appears.

     I think current setup is great. It's just that the dependencies 
declared in the parent pom, in my opinion, should be in their individual 
projects.

     Cheers,

     Álvaro



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (45+ messages)  latest in thread

Message-ID: <56A52053.8090404@8kdata.com>
Permalink:  ../56A52053.8090404@8kdata.com/
Also on:    postgresql.org/message-id/56A52053.8090404@8kdata.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: aht@8kdata.com, sitnikov.vladimir@gmail.com, praiskup@redhat.com
  Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
  In-Reply-To: <56A52053.8090404@8kdata.com>
  References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com> <CALq+0_oHq8FqGR3FPNCa4X4B2mSBDzXT4UwZEvezgkZM-M4EjA@mail.gmail.com> <CAB=Je-HBuMFsCLeOh32QV4p45Pqeqd+RcNyd0oT66OkPNL7_WQ@mail.gmail.com> <56A52053.8090404@8kdata.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