Re: Publish artifacts to Maven central

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Stephen Nelson <stephen(at)eccostudio(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Publish artifacts to Maven central
Date: 2012-10-30 16:03:46
Message-ID: CADK3HH+A5KtT3sqEMr-z0SPeWE-_JvGn3aXBA2DvzwfK13Nraw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Stephen,

If the build script is within ant I think you need to call it twice
with JAVA_HOME pointed at different JVM's

This is probably the simplest as it is easily extended for JAVA 8, and beyond.

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On Tue, Oct 30, 2012 at 11:53 AM, Stephen Nelson <stephen(at)eccostudio(dot)com> wrote:
> On Fri, Oct 26, 2012 at 7:54 AM, Craig Ringer <ringerc(at)ringerc(dot)id(dot)au> wrote:
>> It really would. I've had it on my to-do for ages, but I haven't done
>> much with Ant and I was concerned about getting the build right for the
>> different versions.
>>
>
> Yeah, I finding that to be the slightly more involved part. To get
> accepted to Maven Central I think you need to supply a jar with
> javadoc and one with the sources. Looking at the current build there's
> different source code included depending on the JDBC version you're
> building for.
>
> The question I have is should this current build script handle the
> building of both versions, or will the script itself be called twice -
> once for each JDBC version? It could be done either way I think, but I
> guess this will need to hook into the other automated build discussion
> happening on another thread so that things work together.
>
>> --
>> Craig Ringer
>>
>>
>
> --
> Stephen Nelson
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Daniel Serodio (lists) 2012-10-31 14:59:34 Please public the latest drivers to Maven Central
Previous Message Stephen Nelson 2012-10-30 15:53:37 Publish artifacts to Maven central