Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aLUrS-0007O4-Oc for pgsql-jdbc@arkaria.postgresql.org; Tue, 19 Jan 2016 11:54:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aLUrS-0008GF-7c for pgsql-jdbc@arkaria.postgresql.org; Tue, 19 Jan 2016 11:54:10 +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 1aLUqx-0007iH-4E for pgsql-jdbc@postgresql.org; Tue, 19 Jan 2016 11:53:39 +0000 Received: from mx5-phx2.redhat.com ([209.132.183.37]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aLUqm-0003fc-Tf for pgsql-jdbc@postgresql.org; Tue, 19 Jan 2016 11:53:37 +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 u0JBrOxi047894; Tue, 19 Jan 2016 06:53:24 -0500 Date: Tue, 19 Jan 2016 06:53:24 -0500 (EST) From: Pavel Kajaba To: Vladimir Sitnikov Cc: Stephen Nelson , List , Pavel Raiskup Message-ID: <82353776.19327195.1453204404128.JavaMail.zimbra@redhat.com> In-Reply-To: References: <1453068944.24314.306.camel@gunduz.org> <1453070478.24314.310.camel@gunduz.org> <1407634309.18340892.1453113220772.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.26] 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: dxWizatPVjW4cQZzoiqPYcEY1WBnsw== 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 > I think maven profile can be added to exclude waffle from the build. Maven profile would not help, because waffle is used in core/v3/ConnectionFactoryImpl.java class. So basically if waffle was excluded it would not compile. However I have tried to create patch [1], which uses Java reflection API to load different classes during runtime. What do you think about this approach? Pavel Kajaba. [1] https://pkajaba.fedorapeople.org/0001-Disable-using-SSPI-under-Linux.patch -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc