From: Álvaro Hernández Tortosa <aht@8kdata.com>
To: 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>
Cc: Dave Cramer <pg@fastcrypt.com>
Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
Date: Thu, 21 Jan 2016 16:26:36 -0800
Message-ID: <56A1773C.8060702@8kdata.com> (raw)
In-Reply-To: <1453370619.3932.22.camel@redhat.com>
References: <pgjdbc/pgjdbc/pull/435@github.com>
<CADK3HHJhEb5v7awgr9x=N6h4FE+1CzDmvv1ERehj-bUoRPw3jQ@mail.gmail.com>
<1358320242.19481317.1453213885688.JavaMail.zimbra@redhat.com>
<CADK3HHLdSTnR9CKNot+1=-B3j+mWeSf98FVMWGyNb=suoh_P1Q@mail.gmail.com>
<48112715.19853068.1453234429084.JavaMail.zimbra@redhat.com>
<20160119203844.29253718.8068.7048@gmail.com>
<488246730.19885917.1453236547410.JavaMail.zimbra@redhat.com>
<CAB=Je-GxFFQ_LBD9CWgn=0c6L-dc5BO2ijuhK0p_D9z6aC2tag@mail.gmail.com>
<1255064726.20279027.1453281864770.JavaMail.zimbra@redhat.com>
<CAB=Je-Hm=AEM-6Zc7-P=wA5m6+yL6h9C1cuqNN6ZyjD4pWun5w@mail.gmail.com>
<1453289369.3932.8.camel@redhat.com>
<CAB=Je-Gd6fC+2cBtrOjon0TqYbm8OmugOfOxgRqkq3cXrsZPgw@mail.gmail.com>
<1453370619.3932.22.camel@redhat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
On 21/01/16 02:03, Pavel Kajaba wrote:
> [...]
> Ok, I try to present them:
>
> 1) all pgjdbc maven dependencies have in Fedora in form of RPMs.
> - we are missing osgi-enterpise and waffle-jna
OK, so here's how to reproducible check the dependencies of the
maven project:
- Clone the repo from github
- Do a "mvn package install -DskipTests"
- Run "mvn dependency:list"
For the pgjdbc (we don't care about the ubenchmark, that's not
going to get packaged) looks like this:
org.postgresql:postgresql:bundle:9.4.1208-SNAPSHOT
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.osgi:org.osgi.enterprise:jar:4.2.0:provided
[INFO] +- org.osgi:org.osgi.core:jar:4.3.1:provided
[INFO] +- xml-resolver:xml-resolver:jar:1.2:compile
[INFO] \- com.github.dblock.waffle:waffle-jna:jar:1.7:compile
[INFO] +- net.java.dev.jna:jna:jar:4.1.0:compile
[INFO] \- net.java.dev.jna:jna-platform:jar:4.1.0:compile
Now go to search.maven org and perform queries like:
u:org.osgi g:org.osgi.enterprise
And read the pom.xml. There the license, dependencies and possible
information to the source code repository or developers can be found.
Also the source jar.
Now looking at some dependencies:
- org.osgi.core is already present in Fedora/RH, but a very old version
(1.4, pgjdbc is using 4.3.1):
http://koji.fedoraproject.org/koji/buildinfo?buildID=649030 But I guess
packaging a new version shouldn't be hard. Specially as this module does
not contain any transitive dependency. Which brings me to another point:
is it easy to just build it, as source code is available and there are
no further dependencies? May we contact this 1.4 version package
mantainer and ask about updating it or otherwise use that packages
building scripts?
- org.osgi.enterprise is not packaged for Fedora/RH but doesn't have any
other dependencies and source is available.
- junit is just a test dependency, it's not required to build the package
- xml-resolver: pretty old code, sources available, no dependencies.
Maybe we should look at using XML code from the JDK rather than this
library, but I haven't checked how big this impact may be. Opinions
welcomed.
- waffle: the real deal, as it doesn't make any sense on a linux build.
Hope this information helps.
Cheers,
Álvaro
>
> 2) If We are not able to get any dependency into Fedora repositories we
> need to find a way how to resolve it without any time bombs/hacks.
> - basicaly we need to find way how to remove/disable waffle-jna and
> osgi-enterpise.
>
> That's pretty much all we require.
>
> I would like to shed some light into way how we work with maven. There
> is tool called XMvn [1]. It works like maven but it is getting jar
> files from RPMs which are already installed.
>
>> Vladimir
>>
>>
> [1] https://mizdebsk.fedorapeople.org/xmvn/site/
>
>
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: aht@8kdata.com, pkajaba@redhat.com, sitnikov.vladimir@gmail.com, stephen@eccostudio.com, praiskup@redhat.com, pg@fastcrypt.com
Subject: Re: [pgjdbc] Implement JDBC specs via pre-processor step (#435)
In-Reply-To: <56A1773C.8060702@8kdata.com>
References: <pgjdbc/pgjdbc/pull/435@github.com> <CADK3HHJhEb5v7awgr9x=N6h4FE+1CzDmvv1ERehj-bUoRPw3jQ@mail.gmail.com> <1358320242.19481317.1453213885688.JavaMail.zimbra@redhat.com> <CADK3HHLdSTnR9CKNot+1=-B3j+mWeSf98FVMWGyNb=suoh_P1Q@mail.gmail.com> <48112715.19853068.1453234429084.JavaMail.zimbra@redhat.com> <20160119203844.29253718.8068.7048@gmail.com> <488246730.19885917.1453236547410.JavaMail.zimbra@redhat.com> <CAB=Je-GxFFQ_LBD9CWgn=0c6L-dc5BO2ijuhK0p_D9z6aC2tag@mail.gmail.com> <1255064726.20279027.1453281864770.JavaMail.zimbra@redhat.com> <CAB=Je-Hm=AEM-6Zc7-P=wA5m6+yL6h9C1cuqNN6ZyjD4pWun5w@mail.gmail.com> <1453289369.3932.8.camel@redhat.com> <CAB=Je-Gd6fC+2cBtrOjon0TqYbm8OmugOfOxgRqkq3cXrsZPgw@mail.gmail.com> <1453370619.3932.22.camel@redhat.com> <56A1773C.8060702@8kdata.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