Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aNPy9-0007q3-SC for pgsql-jdbc@arkaria.postgresql.org; Sun, 24 Jan 2016 19:05:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aNPy9-0001JH-Ey for pgsql-jdbc@arkaria.postgresql.org; Sun, 24 Jan 2016 19:05:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aNPy8-0001Hw-NS for pgsql-jdbc@postgresql.org; Sun, 24 Jan 2016 19:05:00 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aNPy4-0003gY-UR for pgsql-jdbc@postgresql.org; Sun, 24 Jan 2016 19:05:00 +0000 Received: by mail-wm0-x22d.google.com with SMTP id u188so41730446wmu.1 for ; Sun, 24 Jan 2016 11:04:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=8kdata-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=V/vHrXaPEeOXp7+E0C4sAOvDLBobebi2SKtpqHOw1F8=; b=XltP2jy069kB/jyN5LAB1apd9IThi68nWVf3q+o43XPT4m1Xa3D8j/+MhuMJm5hCnK LVjQCq2STHaFliHErstrhHJB66lR4KnXeUb5sHAUxJSJWcdPIcg9y+XLrg/0QLGOMPpO yHxGzYDsELk2OfPyqeFKOcYM0tNAL7zpORdQkrtDeClwe5a6VrimcgDQy0L12WMfRHbX FrR1r98h3514bR5Mlm9W3YTq/zwTfxr3QLSSx3lyHjIozsB9fJCcy2RtMctECx/RZS1r 9Kh50IUUijIAv44ywMPRt7dc+1Oz5UF+mN/1uWptyoLVhhZXOkLxc7XOdzcmJf8Lchte XO1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=V/vHrXaPEeOXp7+E0C4sAOvDLBobebi2SKtpqHOw1F8=; b=iPED0jvUaBtEpPRAHFG8jGh7Jm1A3Sb6+KtZYt/SfqESABdwZIxABBugIAi3Vn7KZf FLg0uggpFSbFNarK+8HQlwNmz4I8uldTXZZSpTrYGHfrtFa/X6VWybRD5CK+MXWK7a3h vkyuLqWaUit+gzebFCo5qy97u+EK6VLKOzyJ1js46ENusvNy5XK6VgOLvQGa9A//svjs hDDpuOa3dmxJJluGh0zDa0ko+4FDbxEJdmabdFdELYS4RAL5I3Ztt2iYokZ9y4Cmds5M 8pv1ssH81KchvhtV4EkugT83J/+IT2g+lin959hhJEoCPeMsm9XzU20QW8hqQYOjp7jF NpXQ== X-Gm-Message-State: AG10YOREcLL2evzUOyYAfnLHkvgfhwNiDoJiRMfkK4YVsJA6Fy+vex/aTwGuW5ARDzQQMg== X-Received: by 10.28.19.204 with SMTP id 195mr15364241wmt.1.1453662294151; Sun, 24 Jan 2016 11:04:54 -0800 (PST) Received: from [192.168.1.129] (239.12.78.188.dynamic.jazztel.es. [188.78.12.239]) by smtp.gmail.com with ESMTPSA id lc3sm15699939wjb.7.2016.01.24.11.04.52 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 24 Jan 2016 11:04:52 -0800 (PST) Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please To: Vladimir Sitnikov References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com> Cc: Pavel Raiskup , List From: =?UTF-8?Q?=c3=81lvaro_Hern=c3=a1ndez_Tortosa?= Message-ID: <56A52053.8090404@8kdata.com> Date: Sun, 24 Jan 2016 20:04:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -1.8 (-) 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 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