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

From: Pavel Raiskup <praiskup(at)redhat(dot)com>
To: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>, Álvaro Hernández <aht(at)8kdata(dot)com>, Vitalii Tymchyshyn <vit(at)tym(dot)im>
Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
Date: 2016-01-25 13:54:23
Message-ID: 2557763.60zgpBkApj@nb.usersys.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Monday 25 of January 2016 16:37:56 Vladimir Sitnikov wrote:
> Pavel>This is not acceptable, unfortunately.
>
> Rrrr.
> Of course I mean source.jar.
>
> wget http://search.maven.org/remotecontent?filepath=org/osgi/org.osgi.enterprise/5.0.0/org.osgi.enterprise-5.0.0-sources.jar
> unzip org.osgi.enterprise-5.0.0-sources.jar
> cd ...
> mvn install

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.066 s
[INFO] Finished at: 2016-01-25T14:42:35+01:00
[INFO] Final Memory: 5M/117M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/tmp/osgi). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

> Would you please look into org.osgi.enterprise-5.0.0-sources.jar at
> least once before you say "is not acceptable" one more time?

I've done so. This is probably build product, not the original
tarball/zipfile to build from. Even if it was, this is way to hell -- we
can't bundle stuff like that.

> Pavel>Because it is not packaged yet. If it is used on Linux, then through
> Pavel>maven. But we don't need to take care of that usecases.
>
> Pavel> Then they don't use Linux RPMs a
>
> It is chicken-and-egg problem. No OSGi support in RPMs => projects
> chose "redistribute all the required jar files" and ignore PRMs =>
> RPMs do not get better.

Not supporting OSGi does not necessarily mean that RPMs are not getting
better. Users of jars from RPMs obviously do not care too much about
OSGi, otherwise this would have been already packaged..

> So the question is what is the purpose of pgjdbc.jar.rpm

In example: I'm working on small Java project that needs to connect to
PostgreSQL. So I wan't to install pgjdbc.jar -- but I do trust my Linux
distribution, not maven -- so all I need is to install that. Hitting
'maven install' is not acceptable for me as a user at all, because I can't
be sure what are the consequences.

> if everybody redistributes the jar?

I don't understand this, can you elaborate please?

Pavel

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vladimir Sitnikov 2016-01-25 14:07:49 Re: Merge pgjdbc-parent-poms project into pgjdbc please
Previous Message Dave Cramer 2016-01-25 13:46:56 Re: Merge pgjdbc-parent-poms project into pgjdbc please