pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shijun Kong <skong@investoranalytics.com>
To: Stephen Nelson <stephen@eccostudio.com>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Publish artifacts to Maven central
Date: Thu, 1 Nov 2012 14:23:54 -0500
Message-ID: <CCB843FB.17292%skong@investoranalytics.com> (raw)
In-Reply-To: <CAHpHs3nXCmB=FBVtVUpfd4jqckF0s3gZ3pegw-tibthqBe-E_g@mail.gmail.com>

I am afraid you have to run once for each version. One way is to add one
maven pom file for the project and one profile for each version. The real
work can be delegated to existing ant job via maven ant plugin.

__________________________

Shijun Kong







On 10/30/12 11:53 AM, "Stephen Nelson" <stephen@eccostudio.com> wrote:

>On Fri, Oct 26, 2012 at 7:54 AM, Craig Ringer <ringerc@ringerc.id.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@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-jdbc


 This email message and any attachments may contain legally privileged or confidential information intended solely for the use of the individual or entity to whom it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution or copying of this message or its attachments is strictly prohibited. If you have received this message in error, please notify us immediately by telephone, fax or email and delete the message and all attachments to the message. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Investor Analytics LLC.




view thread (22+ messages)  latest in thread

Message-ID: <CCB843FB.17292%skong@investoranalytics.com>
Permalink:  ../CCB843FB.17292%25skong@investoranalytics.com/
Also on:    postgresql.org/message-id/CCB843FB.17292%skong@investoranalytics.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: skong@investoranalytics.com, stephen@eccostudio.com
  Subject: Re: Publish artifacts to Maven central
  In-Reply-To: <CCB843FB.17292%skong@investoranalytics.com>
  References: <CAHpHs3nXCmB=FBVtVUpfd4jqckF0s3gZ3pegw-tibthqBe-E_g@mail.gmail.com> <CCB843FB.17292%skong@investoranalytics.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