pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Raiskup <praiskup@redhat.com>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: List <pgsql-jdbc@postgresql.org>
Cc: Álvaro Hernández <aht@8kdata.com>
Cc: Vitalii Tymchyshyn <vit@tym.im>
Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
Date: Mon, 25 Jan 2016 14:54:23 +0100
Message-ID: <2557763.60zgpBkApj@nb.usersys.redhat.com> (raw)
In-Reply-To: <CAB=Je-ES=uC+Vq-0_mwXNHjYnG6OyPrUfxAy2p4ztMZyMmQc7Q@mail.gmail.com>
References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com>
	<1696656.EG9BvXK6lS@nb.usersys.redhat.com>
	<CAB=Je-ES=uC+Vq-0_mwXNHjYnG6OyPrUfxAy2p4ztMZyMmQc7Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.enterpris...
> 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



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (45+ messages)  latest in thread

Message-ID: <2557763.60zgpBkApj@nb.usersys.redhat.com>
Permalink:  ../2557763.60zgpBkApj@nb.usersys.redhat.com/
Also on:    postgresql.org/message-id/2557763.60zgpBkApj@nb.usersys.redhat.com

 · 

reply

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, aht@8kdata.com, vit@tym.im
  Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please
  In-Reply-To: <2557763.60zgpBkApj@nb.usersys.redhat.com>
  References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com> <1696656.EG9BvXK6lS@nb.usersys.redhat.com> <CAB=Je-ES=uC+Vq-0_mwXNHjYnG6OyPrUfxAy2p4ztMZyMmQc7Q@mail.gmail.com> <2557763.60zgpBkApj@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