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/