Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4wiD-0002af-6Z for pgsql-jdbc@arkaria.postgresql.org; Tue, 16 Jun 2015 19:39:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z4wiC-0006vV-Lc for pgsql-jdbc@arkaria.postgresql.org; Tue, 16 Jun 2015 19:39:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z4wiC-0006vJ-1J for pgsql-jdbc@postgresql.org; Tue, 16 Jun 2015 19:39:56 +0000 Received: from smtprelay01.ispgateway.de ([80.67.31.35]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z4wi8-0006an-Er for pgsql-jdbc@postgresql.org; Tue, 16 Jun 2015 19:39:55 +0000 Received: from [88.66.7.101] (helo=Zauselmaus) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1Z4wi7-00014c-JJ for pgsql-jdbc@postgresql.org; Tue, 16 Jun 2015 21:39:51 +0200 From: "Markus KARG" To: References: <000c01d0a7b6$97571ee0$c6055ca0$@eu> <45e4ecb7fe5cfb9bc3c61480284b810c@imap.procolix.com> In-Reply-To: <45e4ecb7fe5cfb9bc3c61480284b810c@imap.procolix.com> Subject: Re: Pre-processing during build Date: Tue, 16 Jun 2015 21:39:58 +0200 Organization: Markus KARG, Staatl. gepr. Inf. Message-ID: <007701d0a86c$3b04d090$b10e71b0$@eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: de Thread-Index: AdCoMdciqbxTCyeXTaG/M4IiwrlyLwAOgjkw X-AVK-Virus-Check: AVA 25.1869;71FD75 X-AVK-Spam-Check: 1; str=0001.0A0C0202.55807B87.01B0,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0; F1206 X-Df-Sender: bWFya3VzQGhlYWRjcmFzaGluZy5ldQ== X-Pg-Spam-Score: -2.6 (--) 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 Well, we actually opened this discussion because we WANT particularly Maven= and we DO NOT want the flexibility of ANT but follow CoC, hence make PGJDB= C at-most a simple, "standard" project with as less as possible customizati= ons... The less flexibility you have the more standards you follow the easi= er new programmer's can get at speed with the project. More flexiblity =3D = more complexity =3D more customization =3D longer time to get about =3D les= s new programmers will join. That's the idea behind this thread, actually. -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.o= rg] On Behalf Of Mark Rotteveel Sent: Dienstag, 16. Juni 2015 09:09 To: pgsql-jdbc@postgresql.org Subject: Re: [JDBC] Pre-processing during build On Mon, 15 Jun 2015 18:42:13 -0400, Sehrope Sarkuni wrote: > I think a purely Maven based build with separate targets should be possible > via a generated-sources plugin. Off the top of my head I'm not sure which > plugins it would use though. It's been a while since I wrote anything like > that though I do remember it being a bit of a pain to get right. On the > plus side we only have to figure it out once right? :) My experience is that Ant gives you a lot more flexibility. For Jaybird I considered moving to a Maven based build, but I finally decided against it because it was too much hassle. The difference with the PostgreSQL JDBC is that Jaybird uses JDBC version specific sources-folders with common classes (and abstract classes for common implementation). =20 > I'm a big fan of Mavenizing the build process. A lot of the value of it > will come from how it will simplify things like adding tests. It eliminates > a lot of the double and sometimes triple entry (i.e. add the test class, > add it to a suite, add the suite to build.xml). You don't need Maven to achieve that. For one you don't need testsuites, with JUnit 3 it is a bit harder, but you could use a consistent naming convention and filter tests in the Ant plugin, with JUnit 4 you could use (class or instance) rules, or filtering based on annotations. Mark --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc