From: Pavel Raiskup <praiskup@redhat.com>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: Dave Cramer <davecramer@gmail.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
Date: Sun, 24 Jan 2016 15:42:04 +0100
Message-ID: <2014820.ibfMXdT7iH@nb.usersys.redhat.com> (raw)
In-Reply-To: <CAB=Je-EB8bshhtxGdV6aoAvsX1-8X6q+CXo3rnufF2S+Ucyxrg@mail.gmail.com>
References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com>
<CADK3HHKKAVS7q3JVqTN3Y42cCcWz54eE5GmnCb4r=AY+pbD7Mg@mail.gmail.com>
<CAB=Je-EB8bshhtxGdV6aoAvsX1-8X6q+CXo3rnufF2S+Ucyxrg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
On Sunday 24 of January 2016 16:29:15 Vladimir Sitnikov wrote:
> Pavel> Are there other projects using pgjdbc-parent-poms?
>
> Technically speaking, when building a Maven project, you need to have
> full set of parent dependencies.
> In other words, you have to have pgjdbc-parent-poms to know all
> dependencies of pgjdbc.
>
> Each and every project that uses pgjdbc, has to use pgjdbc-parent-poms
> in one way or another.
So far I understand the dependencies. I just just don't understand the
separation of those two projects.
The rest of the mail I'm not able parse :( probably due to missing
background. I must admit that it all sounds terribly complicated process
to build pgjdbc from source (taking into account how trivial is to build
so complicated project like PostgreSQL server itself).
Maybe there should be some more precise HOWTO build from source in
README.md in future :).
So, to the failing build logs recently requested, so far I ended up here:
https://copr-be.cloud.fedoraproject.org/results/praiskup/postgresql-jdbc-rel-9.4.1207plus/fedora-raw...
Can anybody help me? I am expected to install postgresql-parent-poms, I
see -- but can I have the parent-poms installed somehow locally -- without
creating a new system package?
Pavel
> pgjdbc-parent-poms is there to isolate common configuration parts and
> enable it's own release schedule for that common part.
> Ideally, pgjdbc-parent-poms releases should be very rare.
>
>
> The main point of having parent-poms sepate is to share code between
> java6, java7, and java8 build scripts.
> We cannot release the same artifactid+version combo multiple times,
> thus we have a dedicated "parent pom" configuration.
>
> We cannot merge all the jre6, jre7, jre8 to a single project due to
> maven's limitation: it would result in a case when you release
> multiple versions of the same artifact id at once.
> It is just not supported by Maven's default release procedure.
>
> We cannot use Maven's classifiers as they break source.jar &
> javadoc.jar integration in IDEs.
>
> Dave> We can include them in the tar file.
>
> That is a tricky question. "parent-poms" is a pgjdbc's internal
> workaround for a specific Maven problem.
> The only sane way of including "parent-poms" into a "main" tar file
> would be such a way that would transparently work when building pgjdbc
> as usual.
>
> In other words: download tarball, untar, `mvn install` (just once).
> If additional steps required, I think it is better to have a separate
> tar for parent poms.
>
> Vladimir
--
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: praiskup@redhat.com, sitnikov.vladimir@gmail.com, davecramer@gmail.com
Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
In-Reply-To: <2014820.ibfMXdT7iH@nb.usersys.redhat.com>
References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com> <CADK3HHKKAVS7q3JVqTN3Y42cCcWz54eE5GmnCb4r=AY+pbD7Mg@mail.gmail.com> <CAB=Je-EB8bshhtxGdV6aoAvsX1-8X6q+CXo3rnufF2S+Ucyxrg@mail.gmail.com> <2014820.ibfMXdT7iH@nb.usersys.redhat.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