Re: Merge pgjdbc-parent-poms project into pgjdbc please

Поиск
Список
Период
Сортировка
От Pavel Raiskup
Тема Re: Merge pgjdbc-parent-poms project into pgjdbc please
Дата
Msg-id 2014820.ibfMXdT7iH@nb.usersys.redhat.com
обсуждение исходный текст
Ответ на Re: Merge pgjdbc-parent-poms project into pgjdbc please  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Ответы Re: Merge pgjdbc-parent-poms project into pgjdbc please  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Список pgsql-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-rawhide-x86_64/00155455-postgresql-jdbc/build.log.gz
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



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: Merge pgjdbc-parent-poms project into pgjdbc please
Следующее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: Merge pgjdbc-parent-poms project into pgjdbc please