Re: latest jdbc driver (9.1-901) in maven repository?

From: "Johann 'Myrkraverk' Oskarsson" <johann(at)2ndquadrant(dot)com>
To: PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: latest jdbc driver (9.1-901) in maven repository?
Date: 2011-11-18 06:03:47
Message-ID: x6k46y55mk.fsf@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Oliver Jowett <oliver(at)opencloud(dot)com> writes:

>>> On 18 November 2011 14:52, fed <resdev(at)gmail(dot)com> wrote:
>>>> I don't find the latest jdbc driver (9.1-901) on maven
>>>> repository, the last one on the repository is the 9.0-801.jdbc4,
>>>> do you plan to update it?

> So it looks like your options are:
>
> 1) do a 3rd party upload yourself; or

> 2) submit patches to the build system so that Kris can easily push
> releases to the repository
>
> option 2) is the longer-term fix but it does seem like quite a bit
> of work (I'm not even sure if you can do that without putting a
> maven build around the existing ant build)

In the mean time, this is how I have installed custom built jdbc
drivers into maven, locally.

mvn install:install-file -Dfile=postgres.jar -groupId=postgresql
-DartifactId=postgresql -Dpackaging=jar -Dversion="your version"

Reference:
http://maven.apache.org/plugins/maven-install-plugin/usage.html

Is there a chance this can be used to create an ant task to publish
the driver?

--
Johann Oskarsson http://www.2ndquadrant.com/ |[]
PostgreSQL Development, 24x7 Support, Training and Services --+--
|
Blog: http://my.opera.com/myrkraverk/blog/

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Achilleas Mantzios 2011-11-18 09:09:27 Tomcat7 connection pool with postgresql
Previous Message Oliver Jowett 2011-11-18 03:52:21 Re: latest jdbc driver (9.1-901) in maven repository?