Leinigen uses maven repos to satisfy project clj dependencies, but there is
nothing stopping you from putting your jar directly on the classpath. The
idiom for local jars is to put them in "libs/". In this case you do *not*
mention
this dependency in your project.clj, but the jar will be on the
Good to know! Thanks for the info on the alternatives. I have
used lein-localrepo before, but was hoping for something that could be more
easily shared with others. Looks like it is still the best course.
Thanks!
On Friday, September 23, 2016 at 11:58:39 AM UTC-4, Sean Corfield wrote:
>
> So
Some JDBC drivers are not available in public Maven-style repositories (such as
Microsoft’s Type 4 SQL Server JDBC driver) and that’s usually because there are
restrictions on distribution, preventing third party sites from hosting them
legally.
I searched Maven and you seem to be correct th
Thanks for the reply.
I was under the impression that the jdbc driver (or any jar you want to use
as a dependency) needs to be hosted on some kind of maven repository. Am I
wrong about that?
Here is the official download link for the Vertica jdbc
driver:
https://my.vertica.com/client_drivers
There is no need to push jdbc drivers to clojars.
I have never used Vertica but perhaps it helps if I show you how to add the
two jdbc-drivers that I do use.
Example 1; postgres
The details for the postgres-driver can be found here:
http://mvnrepository.com/artifact/org.postgresql/postgresql