Re: Complicated re-distribution of pgjdbc the "open source way"

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Pavel Raiskup <praiskup(at)redhat(dot)com>
Cc: Vitalii Tymchyshyn <vit(at)tym(dot)im>, Andrew Ross <ubuntu(at)rossfamily(dot)co(dot)uk>, Dave Cramer <pg(at)fastcrypt(dot)com>, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>, Jesse Jaara <jesse(dot)jaara(at)gmail(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org>, Nico Nicolas <nicolas(dot)lecureuil(at)free(dot)fr>, Pavel Kajaba <pkajaba(at)redhat(dot)com>, Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>, ago(at)gentoo(dot)org, doko(at)debian(dot)org, hhorak(at)redhat(dot)com
Subject: Re: Complicated re-distribution of pgjdbc the "open source way"
Date: 2016-03-10 14:08:18
Message-ID: CAMsr+YG5s+GUMd1PxhCa4qRp75cctmN__jcKYRJ5s=FYSwtRfw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 10 March 2016 at 14:14, Pavel Raiskup <praiskup(at)redhat(dot)com> wrote:

> Hi Craig and Dave,
>
> On Thursday 10 of March 2016 12:19:33 Craig Ringer wrote:
> > So ... any interest in doing this via Maven profiles?
> >
> > Dave and I agree that that's the way forward as far as PgJDBC goes. It'd
> > let you avoid patching PgJDBC sources in the rpm spec and having to
> > maintain that spec patch, while still building without needing things not
> > packed in Fedora.
> >
> > Thoughts, comments?
>
> thanks for all your good comments! This is definitely the preferred way
> to go, Allow me some time to process this, I'll update this thread as soon
> as possible.

Cool.

It might be a good idea to speak to maintainers of some of the Maven-based
Fedora packages, as they'll probably be able to offer some hints/guidance
on the details when it comes to creating profiles, conditionally compiling
files, etc.

I haven't verified that you can use maven profiles to avoid the OSGi stuff,
but it'll certainly do the job for Waffle-JNA and the couple of isolated
files in PgJDBC that use it.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Adam Rauch 2016-03-10 23:10:34 JDBC escaped scalar functions fail when used in function definition
Previous Message Simon Riggs 2016-03-10 12:34:30 Re: Patch: Implement failover on libpq connect level.