Created
July 13, 2015 21:41
-
-
Save brianmhess/84f8ade0dc0bc70aada3 to your computer and use it in GitHub Desktop.
This file contains 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
mkdir -p /tmp/opt/connector | |
cd /tmp/opt/connector | |
rm *.jar | |
curl -o ivy-2.3.0.jar \ | |
'http://search.maven.org/remotecontent?filepath=org/apache/ivy/ivy/2.3.0/ivy-2.3.0.jar' | |
curl -o spark-cassandra-connector_2.10-1.0.0-beta1.jar \ | |
'http://search.maven.org/remotecontent?filepath=com/datastax/spark/spark-cassandra-connector_2.10/1.0.0-beta1/spark-cassandra-connector_2.10-1.0.0-beta1.jar' | |
ivy () { java -jar ivy-2.3.0.jar -dependency \$* -retrieve "[artifact]-[revision](-[classifier]).[ext]"; } | |
ivy com.datastax.cassandra cassandra-driver-core 2.1.6 | |
ivy joda-time joda-time 2.8.1 | |
ivy org.joda joda-convert 1.7 | |
rm -f *-{sources,javadoc}.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment