Re: Publish artifacts to Maven central - Mailing list pgsql-jdbc

From Tom Dunstan
Subject Re: Publish artifacts to Maven central
Date
Msg-id CAPPfruxNtMjmQTiteY_1sr1h4dDPiKkWMMLo9s2F_fwBEPHxGg@mail.gmail.com
Whole thread Raw
In response to Re: Publish artifacts to Maven central  (Stephen Nelson <stephen@eccostudio.com>)
Responses Re: Publish artifacts to Maven central
List pgsql-jdbc
On 5 April 2013 01:52, Stephen Nelson <stephen@eccostudio.com> wrote:

On 4 Apr 2013 13:12, "Dave Cramer" <pg@fastcrypt.com> wrote:
>
> However it appears maven forces 
>
> org/postgresql/postgresql/postgresql-JDBC4-1002.jar
>

From a Maven developers point of view they're not worried about the directory structure as they just specify group id, artifact id and version in the pom.xml. So you just need to come up with reasonable parameters for each of those.

The existing artefacts in maven central have a group id of "postgresql",  an artefact id of "postgresql" and a version format of "9.1-901-1.jdbc4". See e.g. http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22postgresql%22%20AND%20a%3A%22postgresql%22

Is there a particular reason to change the all of that at this point? I know I personally would probably have made the group "org.postgresql" and the artefact id "jdbc-driver" and maybe specified the jdbc version as a classifier (although some build systems are a bit funny about classifiers). But people have been using the existing group and artefact id, so I don't see much point changing it now.

Cheers

Tom

pgsql-jdbc by date:

Previous
From: Stephen Nelson
Date:
Subject: Re: Publish artifacts to Maven central
Next
From: Dave Cramer
Date:
Subject: Re: Publish artifacts to Maven central