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 2557763.60zgpBkApj@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: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
verifyyou 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



pgsql-jdbc by date:

Previous
From: Dave Cramer
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