Re: Merge pgjdbc-parent-poms project into pgjdbc please - Mailing list pgsql-jdbc

From Pavel Raiskup
Subject Re: Merge pgjdbc-parent-poms project into pgjdbc please
Date
Msg-id 1696656.EG9BvXK6lS@nb.usersys.redhat.com
Whole thread Raw
In response to Re: Merge pgjdbc-parent-poms project into pgjdbc please  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Responses Re: Merge pgjdbc-parent-poms project into pgjdbc please
List pgsql-jdbc
On Monday 25 of January 2016 16:08:36 Vladimir Sitnikov wrote:
> Pavel> nobody else needs it on Fedora
>
> How do you know that?

Because it is not packaged yet.  If it is used on Linux, then through
maven.  But we don't need to take care of that usecases.

Our usecase is that you even don't need maven to _run_ (not build) jdbc
Fedora.  It has been always like that -- see the jdbc plugin spec file how
old is it, it used to build with ant.

At this moment -- all you need to access PostgreSQL server is to install
Java and pgjdbc driver and you can access remote running PostgreSQL
server.

> pgjdbc/src/main/java/org/postgresql/osgi/PGDataSourceFactory.java is
> one of the public end-points for pgjdbc.
> What you are saying is just: "nobody cares OSGi".
> Google gives 800K results for OSGi. Stack overflow gives 15K. It is
> not that wise to just drop OSGi.
>
> Vladimir>>xisting sources (that are available at Maven
> Vladimir>> Central).
>
> Pavel>How?
>
> wget https://search.maven.org/remotecontent?filepath=org/osgi/org.osgi.enterprise/5.0.0/org.osgi.enterprise-5.0.0.jar

This is not acceptable, unfortunately.  That jar is not aimed for
re-distribution, we can't depend on it.

> Pavel>This is important question -- do they require maven?
>
> I think they do. Their source repository is full of pom.xml files.

Then they don't use Linux RPMs and they don't need us to provide the OSGi
support.

> Pavel> So how can they use jar from our RPMs?
>
> What is the purpose of packaging pgjdbc.jar into RPM then if jar files
> are not "accessible"?

They are accessible, but even if they are -- OpenHAB guys don't use them
most probably.  They still use the upstream one from maven.

Pavel



pgsql-jdbc by date:

Previous
From: Vitalii Tymchyshyn
Date:
Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
Next
From: Vladimir Sitnikov
Date:
Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please