I am using eclipse with the maven 2 plugin.
I want to add the dependency for sqljdbc4, how can I do that?
Can’t seem to find it via the ‘add dependency’ option in eclipse?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If sqljdbc4 is the Microsoft SQL Server JDBC Driver, then you will very likely not find it in any “public” repository because of licensing issues.
So you’ll have to download it, unpack it and install it manually with either
mvn install:install-file(ormvn deploy:deploy-fileif you have a repository manager).Another option would be to use jTDS (which is open source and available in maven central repository) if your database engine is supported.