Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a43Si-0004nd-M7 for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 09:12:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a43Si-0005JR-8e for pgsql-jdbc@arkaria.postgresql.org; Wed, 02 Dec 2015 09:12:32 +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 1a43Sh-0005Iz-Gv for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 09:12:31 +0000 Received: from mx3-phx2.redhat.com ([209.132.183.24]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a43Sc-0006Hz-Py for pgsql-jdbc@postgresql.org; Wed, 02 Dec 2015 09:12:31 +0000 Received: from zmail26.collab.prod.int.phx2.redhat.com (zmail26.collab.prod.int.phx2.redhat.com [10.5.83.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id tB29CM9c026344; Wed, 2 Dec 2015 04:12:22 -0500 Date: Wed, 2 Dec 2015 04:12:22 -0500 (EST) From: Pavel Kajaba To: =?utf-8?Q?Bal=C3=A1zs?= Zsoldos Cc: List Message-ID: <223960373.26393594.1449047542191.JavaMail.zimbra@redhat.com> In-Reply-To: References: <2138484843.20942254.1448530099460.JavaMail.zimbra@redhat.com> <2113338928.20942725.1448530160996.JavaMail.zimbra@redhat.com> <378969680.26311404.1449041058684.JavaMail.zimbra@redhat.com> Subject: Re: Migration to Maven MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.34.4.120] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - GC46 (Linux)/8.0.6_GA_5922) Thread-Topic: Migration to Maven Thread-Index: aIJoRu+SyA+e9NeXs4d/oPw9mJ3Pmg== 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 Can you advice us how to make it optional? If we did not provided required = files build errors occurred. We were able to build it, but we had to delete all source files, which requ= ired OSGi imports and edit build.xml. However I doubt this is appropriate s= olution. Pavel Kajaba. ----- Original Message -----=20 From: "Bal=C3=A1zs Zsoldos" =20 To: "List" =20 Sent: Wednesday, December 2, 2015 9:30:16 AM=20 Subject: Re: [JDBC] Migration to Maven=20 OSGi has problematic licence=20 All OSGi jars are licensed with Apache 2.0. Is it problematic?=20 OSGi is an optional dependency for postgresql jdbc driver. It is only=20 necessary if someone uses the driver within an OSGi container. I think it=20 is hardly the case when someone wants to use it from a linux package=20 management system. That means that osgi jars do not have to be on the=20 classpath at runtime when monolith application is started. I do not know=20 this Fedora solution, but isn't is possible to ignore this dependency in=20 the Fedoray package management after building the jar?=20 *Zsoldos Bal=C3=A1zs*=20 Rendszertervez=C5=91 | Software architect=20 +36 70 594 9234 | balazs.zsoldos@everit.biz=20 *EverIT Kft.*=20 1137 Budapest, Katona J=C3=B3zsef utca 17. III. em. 2.=20 http://www.everit.biz I info@everit.biz=20 Ezen =C3=BCzenet =C3=A9s annak b=C3=A1rmely csatolt anyaga bizalmas, jogi v= =C3=A9delem alatt=20 =C3=A1ll, a nyilv=C3=A1nos k=C3=B6zl=C3=A9st=C5=91l v=C3=A9dett. Az =C3=BCz= enetet kiz=C3=A1r=C3=B3lag a c=C3=ADmzett, illetve=20 az =C3=A1ltala meghatalmazottak haszn=C3=A1lhatj=C3=A1k fel. Ha =C3=96n nem= az =C3=BCzenet=20 c=C3=ADmzettje, =C3=BAgy k=C3=A9rj=C3=BCk, hogy telefonon, vagy e-mail-ben = =C3=A9rtes=C3=ADtse err=C5=91l az=20 =C3=BCzenet k=C3=BCld=C5=91j=C3=A9t =C3=A9s t=C3=B6r=C3=B6lje az =C3=BCzene= tet, valamint annak =C3=B6sszes csatolt=20 mell=C3=A9klet=C3=A9t a rendszer=C3=A9b=C5=91l. Ha =C3=96n nem az =C3=BCzen= et c=C3=ADmzettje, abban az esetben=20 tilos az =C3=BCzenetet vagy annak b=C3=A1rmely csatolt mell=C3=A9klet=C3=A9= t lem=C3=A1solnia,=20 elmentenie, az =C3=BCzenet tartalm=C3=A1t b=C3=A1rkivel k=C3=B6z=C3=B6lnie = vagy azzal vissza=C3=A9lnie.=20 This message and any attachment are confidential and are legally=20 privileged. It is intended solely for the use of the individual or entity=20 to whom it is addressed and others authorised to receive it. If you are not= =20 the intended recipient, please telephone or email the sender and delete=20 this message and any attachment from your system. Please note that any=20 dissemination, distribution, copying or use of or reliance upon the=20 information contained in and transmitted with this e-mail by or to anyone=20 other than the recipient designated above by the sender is unauthorised and= =20 strictly prohibited.=20 On Wed, Dec 2, 2015 at 8:24 AM, Pavel Kajaba wrote:=20
We are trying to build RPM package for postgresql-JDBC.=20 There is no SSPI and OSGi package in Fedora so we are unable to build it.=20 SSPI is totally useless since it's just Windows thing. OSGi has=20 problematic licence, but after doing some research it's not required to run= =20 postgresql-JDBC.=20 We believe that it would be really great for Fedora (also other distros -=20 lot of things depends on your great work) if We could manage to make these= =20 two components optional.=20 After doing some research and talk with Java friends, there is a way how=20 to make it optional during build time.=20 Profiles - both ant and Maven has them, but in case of migrating to Maven,= =20 I think it would be waste of time to create patch for ant profile since it= =20 would just throw away.=20 Let me know your thoughts about this.=20 Thanks!=20 Pavel Kajaba.=20 ----- Original Message -----=20 From: "Dave Cramer" =20 To: "Pavel Kajaba" =20 Cc: "List" , "Pavel Raiskup" <=20 praiskup@redhat.com>=20 Sent: Thursday, November 26, 2015 1:20:03 PM=20 Subject: Re: [JDBC] Migration to Maven=20 On 26 November 2015 at 04:29, Pavel Kajaba wrote:=20 > Hello,=20 >=20 > I would like to ask migration about build system from ant to maven.=20 >=20 > According to github (https://github.com/pgjdbc/pgjdbc/pull/322) there is= =20 > some work behind it.=20 >=20 > Anyway what do you think about creating profiles in ant/maven?=20 >=20 What problem are you trying to solve ?=20 Our bigger problem is to figure out how to have JDK 1.6, 1.7, and 1.8 and=20 ... all supported by one codebase=20 Dave Cramer=20 davec@postgresintl.com=20 www.postgresintl.com=20 >=20 --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)=20 To make changes to your subscription:=20 http://www.postgresql.org/mailpref/pgsql-jdbc=20
--=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc