Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aLXHr-0006Hc-JC for pgsql-jdbc@arkaria.postgresql.org; Tue, 19 Jan 2016 14:29:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aLXHr-0001p4-6F for pgsql-jdbc@arkaria.postgresql.org; Tue, 19 Jan 2016 14:29:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aLXHq-0001oy-QM for pgsql-jdbc@postgresql.org; Tue, 19 Jan 2016 14:29:34 +0000 Received: from mx5-phx2.redhat.com ([209.132.183.37]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aLXHn-0008TN-RH for pgsql-jdbc@postgresql.org; Tue, 19 Jan 2016 14:29:33 +0000 Received: from zmail26.collab.prod.int.phx2.redhat.com (zmail26.collab.prod.int.phx2.redhat.com [10.5.83.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0JETSUE008694; Tue, 19 Jan 2016 09:29:28 -0500 Date: Tue, 19 Jan 2016 09:29:28 -0500 (EST) From: Pavel Kajaba To: Vladimir Sitnikov Cc: Stephen Nelson , List , Pavel Raiskup Message-ID: <2130909473.19475887.1453213768203.JavaMail.zimbra@redhat.com> In-Reply-To: References: <1453070478.24314.310.camel@gunduz.org> <1407634309.18340892.1453113220772.JavaMail.zimbra@redhat.com> <82353776.19327195.1453204404128.JavaMail.zimbra@redhat.com> Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.40.200.51] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - GC47 (Linux)/8.0.6_GA_5922) Thread-Topic: Implement JDBC specs via pre-processor step (#435) Thread-Index: nQteCBjkaKTKuzFUzDX3Fbe/JgnW4w== X-Pg-Spam-Score: -4.2 (----) 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 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" To: "Pavel Kajaba" Cc: "Stephen Nelson" , "List" , "Pavel Raiskup" 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 ... 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