Pages

Monday 27 August 2012

Adding Microsoft SQL Server JDBC Driver to your local Maven repository

The Microsoft SQL Server JDBC driver is not available in public repositories because of licensing issues but it is easy to install into into the local repository on your machine. This procedure can be used for other libraries as well.


Extract the file and locate the sqljdbc4.jar.


Download the driver JAR from the link provided by Olaf and add it to your local Maven repository with;


mvn install:install-file -Dfile=sqljdbc4.jar -Dpackaging=jar -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.0


Modify your POM


<dependency>
  <groupId>com.microsoft.sqlserver</groupId>
  <artifactId>sqljdbc4</artifactId>
  <version>4.0</version>
</dependency>

provide your pom the repository of your local machine

<repository>
   <id>local</id>
   <name>local</name>
   <url>file://C:/Users/mywindows/.m2/repository</url>
</repository>


17 comments:

  1. for some reason when I ran the command to download the jar via maven it didn't download the jar. In the end I downloaded it from Microsoft, unpacked, cut, paste and rename into my local repo.

    ReplyDelete
  2. nice bLog! its interesting. thank you for sharing.... buy driving lisense for sale

    ReplyDelete
  3. We offer only original high-quality fake passports, driver’s licenses, ID cards, stamps and other products for a number of countries like: USA, Australia, Belgium, Brazil, Canada, Italia, Finland, France, Germany, Israel, Mexico, Netherlands, South Africa, Spain, United Kingdom. This list is not full.

    feel free to contact via email

    globaldocumentsconsultancy@gmail.com
    http://globaldocumentsconsultancy.com/

    Keywords:
    fake USA(United States) passports,
    fake Australian passports,
    fake Belgium passports,
    fake Brazilian(Brazil) passports,
    fake Canadian(Canada) passports,
    order false passports,
    order novelty passports,
    order fake driver license,
    order false driver license,
    order novelty driver license,
    order Diplomatic passports,

    ReplyDelete
  4. waoo http://blog.andrew.bernaz.co.uk/2012/08/adding-microsoft-sql-server-jdbc-driver.html

    ReplyDelete
  5. Id certificates are considered the source of justifying the actual requirements of a odder. An individual can easily overcome counterfeiting through the help of fake id cards. Teenagers or pupils are the type that mainly utilise fake id certificates in most areas. If you ever check out this unique https://app.box.com/notes/635411517614?s=ada24abrjmw704z4oozo0gh3w8s1abgb website, you can obtain increasingly more information about Club21IDs over the internet platform.

    ReplyDelete
  6. Fake id stands out as the way to obtain fun as well as crime which individuals use in their own life. There is 1-2 web site which provides excellent quality fake ids. For more additional reading details about please click here or check our official website https://noathgha.soup.io/post/684046255/What-Everybody-Else-Does-When-It-Comes

    ReplyDelete
  7. Do you need a driver's license? do you need a second passport? do you need an ID?

    visit https://prolinedocs.com

    we provide registered passports, ID's & Driver's license for all countries.

    all the documents we process are registered in the specified database so our clients face no problems using our documents anywhere.

    Buy German driver's license online

    buy uk driver's license online

    buy european driver's license online

    buy uk passports online

    buy USA passports online

    buy canadian passports online

    WE PROVIDE WITH ANY DESIRED NATIONALITY

    we provide you 100 percent registered database documents.

    our service is well trusted over the world and have over 600 happy clients

    visit our website https://prolinedocs.com

    contact us via email: prolinedocs@protonmail.com

    contact us via whatsapp: +1(415)-326-4380

    ReplyDelete
  8. Vashikaran mantras and astrology is one among the most effective techniques to address minor difficulties in life that's been bothering you for quite a long time. Mantras and literary rituals functions best in case of love related difficulties, in the event that you are receiving any trouble connected with relationships and love then you definitely need to contact. For more informationa about click to a following link https://howcanigetmyexloveback.com/

    ReplyDelete
  9. Vashikaran mantras and astrology is just one among the very best tactics to address minor difficulties on life that's been bothering you to get quite a long moment. Mantras and Spartan rituals functions great if love associated with issues, in the event that you're receiving any trouble connected with relationships and love then you definitely need to absolutely contact. For more information about click to a following link http://powerfulloveshabarmantra.com/

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Writing a blog post is really important for growth of your websites. Thanks for sharing amazing tips. get one of the best buy fake drivers license then visit on our website.

    ReplyDelete
  12. Very well written article. It was an awesome article to read. Complete rich content and fully informative. I totally Loved it.Buy Fake Drivers License Online

    ReplyDelete
  13. The article is very nice, thank you for sharing it! I'm not fully through yet (it is extremely long) but it seems well researched and detailed.
    Free online chat
    Live Video Call with Girls

    ReplyDelete
  14. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. Buy Fake Canadian Passports Online

    ReplyDelete
  15. I generally want quality content and I found that in your post. The information you have shared about driver is beneficial and significant for us. Keep sharing these kinds of articles here. Thank you. fake florida drivers license

    ReplyDelete
  16. Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us. skills assessment

    ReplyDelete
  17. You wrote this post very carefully. The amount of information is stunning and also a gainful article for us. Keep sharing this kind of articles, Thank you. Buy fake China Passport simply online

    ReplyDelete