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

From Johann 'Myrkraverk' Oskarsson
Subject Re: latest jdbc driver (9.1-901) in maven repository?
Date
Msg-id x6k46y55mk.fsf@2ndquadrant.com
Whole thread Raw
In response to Re: latest jdbc driver (9.1-901) in maven repository?  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
Oliver Jowett <oliver@opencloud.com> writes:

>>> On 18 November 2011 14:52, fed <resdev@gmail.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/

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: latest jdbc driver (9.1-901) in maven repository?
Next
From: Achilleas Mantzios
Date:
Subject: Tomcat7 connection pool with postgresql