Sign up using Facebook. First, add a scope tag to the dependency, you should require the JBDC driver only at runtime: Be careful with the answers above. Could not resolve dependencies for project: Stack Overflow works best with JavaScript enabled.

Uploader: Tera
Date Added: 3 January 2009
File Size: 45.40 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 95113
Price: Free* [*Free Regsitration Required]

Um, getting eclipse to do this is probably more hassle than it is worth.

Just run the command from a mzven. Even after installing the sqlserver jar, my maven was trying to fetch the dependecy from maven repository. Error Compiling Maven Project.

That would be extremely helpful. By clicking “Post Dql Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. I would like to load it through maven, so this was not actually answer to my question. See my answer below for more details and a much better solution. Sign up or log in Sign up using Google. Could not resolve dependencies. I took inspiration from this answer to another Stack Overflow question and I’ve also blogged about it here.


But sometimes, it’s just easier and still appropriate to do a quick-and-dirty job.

For my use-case integration testing it was sufficient to use a system scope for the JDBC driver’s dependency as such:. Could not resolve dependencies for project: Could you please let me know how do i use the install-file target of the install plugin using Eclipse?

hibernate – Setting up maven dependency for SQL Server – Stack Overflow

It definitely is better, mostly. Olaf 5, 1 14 Sign up using Email and Password. Dee Mar 28 ’14 at For that driver, there is a maven artifact that you can use:. Post as a guest Name. So, you will have to download the JDBC driver, and put it in your own repo. But how do I put it in my own repo and use it?

Ashish 2, 2 13 Hi All, I want to add xql dependency for sql jdbc driver. You jrbc download the jar here: Maven dependency for sql jdbc driver in pom.


Download Microsoft JDBC Driver for SQL Server

For my use-case integration testing it was sufficient to use a system scope for the JDBC driver’s dependency as such: Please do let me know the procedure. Be careful with the answers above. Therefore I downloaded the sqljdbc4.

Looks like there are some disagreements between Maven and Microsoft folks regarding licensing and redistribution of the JDBC driver: Answer for the “new” and sl Microsoft.

What is the right maven dependency value? I then, provided my pom the repository of my local machine and it works fine after that