Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group