sql-servermavenrepositoryodbc-sql-server-driver

Include SqlServerDriver on maven project


I have this problem: I have to connect to a sql server db using sqlServerDriver in my maven project. The problem is: i can't find any repository that provide me the artifact:

    <groupId>com.microsoft.sqlserver</groupId>
    <artifactId>sqljdbc4</artifactId>
    <version>3.0</version>

I've read some suggestion about deploying it in it's own repository, but can i redistribuite this Microsoft artifact? Or is there any other way? like physically include the jar on the project and then instruct maven to get the jar as a resource.. (but i haven't idea if this is possible and how to make it..)


Solution