Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aNiAt-0006AT-2Y for pgsql-jdbc@arkaria.postgresql.org; Mon, 25 Jan 2016 14:31:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aNiAs-0005Sd-Lr for pgsql-jdbc@arkaria.postgresql.org; Mon, 25 Jan 2016 14:31:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aNiAs-0005SX-C4 for pgsql-jdbc@postgresql.org; Mon, 25 Jan 2016 14:31:22 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aNiAp-0002oS-9i for pgsql-jdbc@postgresql.org; Mon, 25 Jan 2016 14:31:21 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id D0992113705; Mon, 25 Jan 2016 14:31:15 +0000 (UTC) Received: from nb.usersys.redhat.com (unused-4-197.brq.redhat.com [10.34.4.197]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0PEVEJJ032619 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Jan 2016 09:31:15 -0500 From: Pavel Raiskup To: Vladimir Sitnikov Cc: List , =?ISO-8859-1?Q?=C1lvaro_Hern=E1ndez?= , Vitalii Tymchyshyn Subject: Re: Merge pgjdbc-parent-poms project into pgjdbc please Date: Mon, 25 Jan 2016 15:31:13 +0100 Message-ID: <1487643.netUnirjdn@nb.usersys.redhat.com> User-Agent: KMail/4.14.10 (Linux/4.3.3-300.fc23.x86_64; KDE/4.14.14; x86_64; ; ) In-Reply-To: References: <2217774.p6G2ev8LQ6@nb.usersys.redhat.com> <2557763.60zgpBkApj@nb.usersys.redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On Monday 25 of January 2016 17:07:49 Vladimir Sitnikov wrote: > Pavel> This is probably build product > > It is a set of source files. You can't deny that. > You want the source, you get it. > The build script is missing, but *.spec is much better then as you > would be absolutely sure that nothing "unexpected" passes through. > > Pavel>we can't bundle stuff like that. > > There's no need to bundle that. It is a compile-time dependency to > build OSGi-enabled pgjdbc. Bundling is both about technical and non-technical issues. So I would consider this as bundling. > Vladimir>> if everybody redistributes the jar? > Pavel>I don't understand this, can you elaborate please? > > From my experience, 99.9% of projects redistribute the required java libraries. > I've never seen cases when the jar files were pulled from PRMs coming > with the OS. Ah, thanks. Yeah, I agree -- that will major set of Java projects. There are pros/cons; but this is again off-topic. I just need to state that I discuss here to advocate different approach (don't download the libraries over-and-over again). > I wonder if there are live uses of "pgjdbc.rpm". LibreOffice depend on pgjdbc, at least. We provide jdbc in Red Hat Enterprise Linux, because it is used by JBoss for example. But it is not just about this, those are just examples. It is really that simple -- I need pgjdbc because I need to access PostgreSQL server from my rather simple Java project. So far I have to either use old jdbc driver, or use maven -- but if I do require maven, I can't package my package into any distribution. So I rather don't use Java at all. Yeah, chicken-egg problem. > Pavel> I'm working on small Java project that needs to connect to > Pavel>PostgreSQL. > > Virtually all development requires not just "jar files" that can talk > to the database, but development requires "javadoc&source" jars. > Javadoc&source jars are used to look into pgjdbc source > code&documentation and double-check if the method you are going to > apply indeed does what you think it should do. Right, all distributions provide source and documentation. Or if not, it is a bug and nobody asked yet. Usually (GNU GPL) you have to provide the source, so this is strict rule of Red Hat at least. Pavel -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc