pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Kajaba <pkajaba@redhat.com>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: Stephen Nelson <stephen@eccostudio.com>
Cc: List <pgsql-jdbc@postgresql.org>
Cc: Pavel Raiskup <praiskup@redhat.com>
Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
Date: Tue, 19 Jan 2016 09:29:28 -0500 (EST)
Message-ID: <2130909473.19475887.1453213768203.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CAB=Je-HTGQ=2gEh6hK45+WndntroMFSTcLuqwa43bcMwER2BFA@mail.gmail.com>
References: <pgjdbc/pgjdbc/pull/435@github.com>
	<1453070478.24314.310.camel@gunduz.org>
	<CADK3HH+2s_5OzWJTa4qMQB45N_vfoB3=c+M9+aJjL77nKP5e1A@mail.gmail.com>
	<CAHpHs3m1SJ68f5+OxU318wLekSG1t19hCAhn=kbPBcamiKjjow@mail.gmail.com>
	<1407634309.18340892.1453113220772.JavaMail.zimbra@redhat.com>
	<CAB=Je-HpSrxHSu5veP+YHL66VmoTV7g=+QP-sDUmD4WYz34_5w@mail.gmail.com>
	<82353776.19327195.1453204404128.JavaMail.zimbra@redhat.com>
	<CAB=Je-HTGQ=2gEh6hK45+WndntroMFSTcLuqwa43bcMwER2BFA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Yes, you are right.

But in Fedora there is tooling where I can exclude dependency.

Even if we created maven profile we would have to patch source code somehow. 

I think it's possible to do it way I proposed or rewrite ConnectionFactoryImpl class.

Pavel
----- Original Message -----
From: "Vladimir Sitnikov" <sitnikov.vladimir@gmail.com>
To: "Pavel Kajaba" <pkajaba@redhat.com>
Cc: "Stephen Nelson" <stephen@eccostudio.com>, "List" <pgsql-jdbc@postgresql.org>, "Pavel Raiskup" <praiskup@redhat.com>
Sent: Tuesday, January 19, 2016 1:29:34 PM
Subject: Re: [JDBC] [pgjdbc] Implement JDBC specs via pre-processor step (#435)

>What do you think about this approach?

As long as <dependency>...</depencency> is there, mvn would complain
on "missing dependency".
The only sane way of excluding dependency "on demand" is maven profiles.

Vladimir


-- 
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 (55+ messages)  latest in thread

Message-ID: <2130909473.19475887.1453213768203.JavaMail.zimbra@redhat.com>
Permalink:  ../2130909473.19475887.1453213768203.JavaMail.zimbra@redhat.com/
Also on:    postgresql.org/message-id/2130909473.19475887.1453213768203.JavaMail.zimbra@redhat.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: pkajaba@redhat.com, sitnikov.vladimir@gmail.com, stephen@eccostudio.com, praiskup@redhat.com
  Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
  In-Reply-To: <2130909473.19475887.1453213768203.JavaMail.zimbra@redhat.com>
  References: <pgjdbc/pgjdbc/pull/435@github.com> <1453070478.24314.310.camel@gunduz.org> <CADK3HH+2s_5OzWJTa4qMQB45N_vfoB3=c+M9+aJjL77nKP5e1A@mail.gmail.com> <CAHpHs3m1SJ68f5+OxU318wLekSG1t19hCAhn=kbPBcamiKjjow@mail.gmail.com> <1407634309.18340892.1453113220772.JavaMail.zimbra@redhat.com> <CAB=Je-HpSrxHSu5veP+YHL66VmoTV7g=+QP-sDUmD4WYz34_5w@mail.gmail.com> <82353776.19327195.1453204404128.JavaMail.zimbra@redhat.com> <CAB=Je-HTGQ=2gEh6hK45+WndntroMFSTcLuqwa43bcMwER2BFA@mail.gmail.com> <2130909473.19475887.1453213768203.JavaMail.zimbra@redhat.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