latest jdbc driver (9.1-901) in maven repository?
latest jdbc driver (9.1-901) in maven repository?
От:
fed <resdev@gmail.com>
Дата:
Hi, 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? http://mvnrepository.com/artifact/postgresql/postgresql Thanks
Re: latest jdbc driver (9.1-901) in maven repository?
От:
Oliver Jowett <oliver@opencloud.com>
Дата:
On 18 November 2011 14:52, fed wrote: > Hi, > > 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? What is the usual process that Maven users go through to update the repository for a project that doesn't itself use maven? Oliver
Re: latest jdbc driver (9.1-901) in maven repository?
От:
fed <resdev@gmail.com>
Дата:
Sorry but i don't know this. In my case i am not using maven directly but i use apache ivy as dependency manager and ivy uses maven repository to resolve the dependencies. I hope in the mailing list there is someone more expert on this. On 18 November 2011 02:59, Oliver Jowett wrote: > On 18 November 2011 14:52, fed wrote: >> Hi, >> >> 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? > > What is the usual process that Maven users go through to update the > repository for a project that doesn't itself use maven? > > Oliver >
Re: latest jdbc driver (9.1-901) in maven repository?
От:
Oliver Jowett <oliver@opencloud.com>
Дата:
On 18 November 2011 15:10, fed wrote: > Sorry but i don't know this. > > In my case i am not using maven directly but i use apache ivy as > dependency manager and ivy uses maven repository to resolve the > dependencies. Opencloud uses Ivy and we just publish third-party jars into our local repository directly as needed. (You usually want control over this anyway rather than blindly importing from maven, since ivy configurations don't match up too well with the maven world in general) My question about how-is-this-usually-done was half rhetorical - surely maven repository has a process for handling non-maven projects? (If it doesn't, that does explain a few things!) Oliver
Re: latest jdbc driver (9.1-901) in maven repository?
От:
David Rees <drees76@gmail.com>
Дата:
On Thu, Nov 17, 2011 at 5:59 PM, Oliver Jowett wrote: > On 18 November 2011 14:52, fed 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? > > What is the usual process that Maven users go through to update the > repository for a project that doesn't itself use maven? Here's the process to upload a 3rd party artifact to maven central: https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository -Dave
Re: latest jdbc driver (9.1-901) in maven repository?
От:
Oliver Jowett <oliver@opencloud.com>
Дата:
On 18 November 2011 16:12, David Rees wrote: > On Thu, Nov 17, 2011 at 5:59 PM, Oliver Jowett wrote: >> On 18 November 2011 14:52, fed 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? >> >> What is the usual process that Maven users go through to update the >> repository for a project that doesn't itself use maven? > > Here's the process to upload a 3rd party artifact to maven central: > > https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository Thanks. A quick read there and it seems like the policy is that either the project publishes directly (which seems to be quite an involved process to set up), or a 3rd party uses the 3rd party upload system; but they don't want project releases using the 3rd party upload system as a publication system. 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) Oliver
Re: latest jdbc driver (9.1-901) in maven repository?
От:
"Johann 'Myrkraverk' Oskarsson" <johann@2ndquadrant.com>
Дата:
Oliver Jowett writes:
>>> On 18 November 2011 14:52, fed 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/
Re: latest jdbc driver (9.1-901) in maven repository?
От:
"Johann 'Myrkraverk' Oskarsson" <johann@2ndquadrant.com>
Дата:
I did not see this on the list, so I'm "forwarding it."
Dave Cramer writes:
> On Fri, Nov 18, 2011 at 1:03 AM, Johann 'Myrkraverk' Oskarsson
>> 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?
>>
>>
> Looks like this
>
> http://maven.apache.org/ant-tasks/index.html
>
> Might be the answer?
--
Johann Oskarsson http://www.2ndquadrant.com/ |[]
PostgreSQL Development, 24x7 Support, Training and Services --+--
|
Blog: http://my.opera.com/myrkraverk/blog/