Created
December 7, 2010 14:31
-
-
Save jcromartie/731839 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEMPDIR=`mktemp -d /tmp/install-sqljdbc.XXX` | |
cd "$TEMPDIR" | |
URL="http://download.microsoft.com/download/D/6/A/D6A241AC-433E-4CD2-A1CE-50177E8428F0/1033/sqljdbc_3.0.1301.101_enu.tar.gz" | |
TARBALL=install.tar.gz | |
curl -o $TARBALL "$URL" | |
tar -xzf $TARBALL | |
mvn install:install-file -Dfile=`find $TEMPDIR -name sqljdbc4.jar` -DgroupId=com.microsoft -DartifactId=sqljdbc4 -Dversion=3.0 -Dpackaging=jar | |
rm -rf "$TEMPDIR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment