Optionally include Hive as a dependency of the REPL.
Optionally include Hive as a dependency of the REPL.

Due to the way spark-shell launches from an assembly jar, I don't think this change will affect anyone who isn't trying to launch the shell directly from sbt.  That said, it is kinda nice to be able to launch all things directly from SBT when developing.

Author: Michael Armbrust <michael@databricks.com>

Closes #801 from marmbrus/hiveRepl and squashes the following commits:

9570571 [Michael Armbrust] Optionally include Hive as a dependency of the REPL.

hhbyyh/spark,mdespriee/spark,rednaxelafx/apache-spark,ibm-research-ireland/sparkoscope,michalsenkyr/spark,Aegeaner/spark,nchammas/spark,WindCanDie/spark,lxsmnv/spark,andrewor14/spark,apache-spark-on-k8s/spark,hvanhovell/spark,jkbradley/spark,JerryLead/spark,cloud-fan/spark,kevinyu98/spark,mzl9039/spark,mahak/spark,pronix/spark,holdenk/spark,adrian-ionescu/apache-spark,yanboliang/spark,SnappyDataInc/spark,lxsmnv/spark,kissmetrics/spark,wangyum/spark,rekhajoshm/spark,nilsgrabbert/spark,metamx/spark,markhamstra/spark,pgandhi999/spark,ptkool/spark,ron8hu/spark,panfengfeng/spark,actuaryzhang/spark,stanzhai/spark,kevinyu98/spark,liyichao/spark,bdrillard/spark,mahak/spark,haowu80s/spark,kimoonkim/spark,kissmetrics/spark,ericvandenbergfb/spark,rikima/spark,spark-test/spark,witgo/spark,JoshRosen/spark,WeichenXu123/spark,minixalpha/spark,rezasafi/spark,saltstar/spark,gengliangwang/spark,vinodkc/spark,gengliangwang/spark,rednaxelafx/apache-spark,kimoonkim/spark,jianran/spark,chuckchen/spark,dhruve/spark,SnappyDataInc/spark,gengliangwang/spark,xflin/spark,wzhfy/spark,pronix/spark,vinodkc/spark,guoxiaolongzte/spark,spark-test/spark,hvanhovell/spark,debugger87/spark,witgo/spark,goldmedal/spark,huang1900/spark,ericvandenbergfb/spark,haowu80s/spark,goldmedal/spark,jkbradley/spark,stanzhai/spark,caneGuy/spark,aosagie/spark,Panos-Bletsos/spark-cost-model-optimizer,saltstar/spark,caneGuy/spark,saltstar/spark,liutang123/spark,apache-spark-on-k8s/spark,janewangfb/spark,jrshust/spark,kissmetrics/spark,LantaoJin/spark,stanzhai/spark,caneGuy/spark,joseph-torres/spark,ibm-research-ireland/sparkoscope,hhbyyh/spark,michalsenkyr/spark,nilsgrabbert/spark,SHASHANKB/spark,xflin/spark,HyukjinKwon/spark,xflin/spark,loneknightpy/spark,shuangshuangwang/spark,metamx/spark,apache-spark-on-k8s/spark,zuotingbing/spark,maropu/spark,tejasapatil/spark,debugger87/spark,shuangshuangwang/spark,hhbyyh/spark,bOOm-X/spark,bravo-zhang/spark,esi-mineset/spark,stanzhai/spark,ueshin/apache-spark,icexelloss/spark,sachintyagi22/spark,SHASHANKB/spark,someorz/spark,ptkool/spark,bdrillard/spark,MLnick/spark,zzcclp/spark,tejasapatil/spark,kevinyu98/spark,JoshRosen/spark,dbtsai/spark,cloud-fan/spark,caneGuy/spark,nchammas/spark,janewangfb/spark,sahilTakiar/spark,hhbyyh/spark,andrewor14/spark,jrshust/spark,shaneknapp/spark,rezasafi/spark,bOOm-X/spark,srowen/spark,ConeyLiu/spark,saturday-shi/spark,jrshust/spark,sahilTakiar/spark,dongjoon-hyun/spark,aray/spark,zuotingbing/spark,ptkool/spark,publicRoman/spark,jrshust/spark,witgo/spark,adrian-ionescu/apache-spark,shubhamchopra/spark,big-pegasus/spark,rekhajoshm/spark,apache/spark,zzcclp/spark,tejasapatil/spark,holdenk/spark,zhouyejoe/spark,ron8hu/spark,zero323/spark,sahilTakiar/spark,zero323/spark,vinodkc/spark,byakuinss/spark,chuckchen/spark,darionyaphet/spark,UndeadBaneGitHub/spark,yanboliang/spark,HyukjinKwon/spark,big-pegasus/spark,akopich/spark,szhem/spark,ueshin/apache-spark,narahari92/spark,HyukjinKwon/spark,holdenk/spark,facaiy/spark,BryanCutler/spark,bdrillard/spark,JoshRosen/spark,gengliangwang/spark,map222/spark,ibm-research-ireland/sparkoscope,mike0sv/spark,kevinyu98/spark,saturday-shi/spark,ajaysaini725/spark,alunarbeach/spark,szhem/spark,stanzhai/spark,cin/spark,janewangfb/spark,sachintyagi22/spark,adrian-ionescu/apache-spark,WindCanDie/spark,tengpeng/spark,mzl9039/spark,patrick-nicholson/spark,sureshthalamati/spark,nilsgrabbert/spark,JerryLead/spark,saturday-shi/spark,patrick-nicholson/spark,andrewor14/spark,bOOm-X/spark,aray/spark,ericvandenbergfb/spark,shubhamchopra/spark,michalsenkyr/spark,Panos-Bletsos/spark-cost-model-optimizer,kimoonkim/spark,techaddict/spark,vinodkc/spark,icexelloss/spark,big-pegasus/spark,map222/spark,BryanCutler/spark,guoxiaolongzte/spark,shuangshuangwang/spark,jiangxb1987/spark,nlalevee/spark,ioana-delaney/spark,ahnqirage/spark,ericvandenbergfb/spark,mike0sv/spark,publicRoman/spark,witgo/spark,ahnqirage/spark,adrian-ionescu/apache-spark,1haodian/spark,wangyum/spark,tengpeng/spark,holdenk/spark,kissmetrics/spark,zzcclp/spark,cloud-fan/spark,icexelloss/spark,ibm-research-ireland/sparkoscope,ajaysaini725/spark,brad-kaiser/spark,poffuomo/spark,lxsmnv/spark,mzl9039/spark,guoxiaolongzte/spark,zzcclp/spark,wangmiao1981/spark,mzl9039/spark,andrewor14/spark,bOOm-X/spark,MLnick/spark,narahari92/spark,tengpeng/spark,tengpeng/spark,mahak/spark,skonto/spark,dhruve/spark,ueshin/apache-spark,milliman/spark,BryanCutler/spark,joseph-torres/spark,sachintyagi22/spark,jlopezmalla/spark,patrick-nicholson/spark,huang1900/spark,dongjoon-hyun/spark,BryanCutler/spark,kevinyu98/spark,ericvandenbergfb/spark,UndeadBaneGitHub/spark,JerryLead/spark,huang1900/spark,jkbradley/spark,tengpeng/spark,hhbyyh/spark,andrewor14/iolap,dongjoon-hyun/spark,narahari92/spark,ueshin/apache-spark,bravo-zhang/spark,UndeadBaneGitHub/spark,highfei2011/spark,skonto/spark,szhem/spark,lxsmnv/spark,spark-test/spark,minixalpha/spark,maropu/spark,aosagie/spark,sureshthalamati/spark,goldmedal/spark,nlalevee/spark,esi-mineset/spark,pronix/spark,aosagie/spark,stanzhai/spark,JerryLead/spark,SnappyDataInc/spark,metamx/spark,lvdongr/spark,ajaysaini725/spark,srowen/spark,dbtsai/spark,JerryLead/spark,jlopezmalla/spark,mzl9039/spark,mdespriee/spark,apache/spark,akopich/spark,tengpeng/spark,debugger87/spark,minixalpha/spark,debugger87/spark,SHASHANKB/spark,gengliangwang/spark,ioana-delaney/spark,ron8hu/spark,skonto/spark,pronix/spark,cloud-fan/spark,sahilTakiar/spark,dhruve/spark,hvanhovell/spark,cloud-fan/spark,pronix/spark,wzhfy/spark,mike0sv/spark,mdespriee/spark,BryanCutler/spark,ibm-research-ireland/sparkoscope,bdrillard/spark,saltstar/spark,loneknightpy/spark,haowu80s/spark,eyalfa/spark,shaneknapp/spark,akopich/spark,LantaoJin/spark,HyukjinKwon/spark,jrshust/spark,chuckchen/spark,cin/spark,maropu/spark,taroplus/spark,MLnick/spark,kevinyu98/spark,akopich/spark,ajaysaini725/spark,ron8hu/spark,sureshthalamati/spark,jianran/spark,jlopezmalla/spark,ConeyLiu/spark,Panos-Bletsos/spark-cost-model-optimizer,patrick-nicholson/spark,xuanyuanking/spark,techaddict/spark,apache/spark,liyichao/spark,wangmiao1981/spark,yanboliang/spark,MLnick/spark,caneGuy/spark,gioenn/xSpark,kimoonkim/spark,big-pegasus/spark,saturday-shi/spark,rekhajoshm/spark,SHASHANKB/spark,wzhfy/spark,cin/spark,panfengfeng/spark,WeichenXu123/spark,brad-kaiser/spark,hvanhovell/spark,gengliangwang/spark,ericvandenbergfb/spark,maropu/spark,bravo-zhang/spark,goldmedal/spark,jiangxb1987/spark,gengliangwang/spark,BryanCutler/spark,jkbradley/spark,mahak/spark,nlalevee/spark,setjet/spark,ueshin/apache-spark,shaneknapp/spark,dbtsai/spark,kiszk/spark,apache-spark-on-k8s/spark,pgandhi999/spark,aokolnychyi/spark,huang1900/spark,someorz/spark,ptkool/spark,aokolnychyi/spark,rezasafi/spark,UndeadBaneGitHub/spark,gioenn/xSpark,zhouyejoe/spark,rikima/spark,taroplus/spark,mdespriee/spark,eyalfa/spark,mdespriee/spark,zero323/spark,Aegeaner/spark,saltstar/spark,dbtsai/spark,jiangxb1987/spark,nilsgrabbert/spark,rednaxelafx/apache-spark,spark-test/spark,apache-spark-on-k8s/spark,gioenn/xSpark,jiangxb1987/spark,ahnqirage/spark,map222/spark,wangmiao1981/spark,kiszk/spark,UndeadBaneGitHub/spark,andrewor14/iolap,pgandhi999/spark,metamx/spark,hhbyyh/spark,UndeadBaneGitHub/spark,aray/spark,minixalpha/spark,janewangfb/spark,markhamstra/spark,caneGuy/spark,actuaryzhang/spark,icexelloss/spark,liutang123/spark,aray/spark,debugger87/spark,JoshRosen/spark,ddna1021/spark,michalsenkyr/spark,JerryLead/spark,brad-kaiser/spark,kiszk/spark,bravo-zhang/spark,lxsmnv/spark,shaneknapp/spark,setjet/spark,hhbyyh/spark,map222/spark,skonto/spark,adrian-ionescu/apache-spark,adrian-ionescu/apache-spark,kissmetrics/spark,shubhamchopra/spark,kimoonkim/spark,nchammas/spark,dongjoon-hyun/spark,aokolnychyi/spark,ddna1021/spark,haowu80s/spark,shuangshuangwang/spark,Panos-Bletsos/spark-cost-model-optimizer,esi-mineset/spark,cin/spark,tejasapatil/spark,debugger87/spark,actuaryzhang/spark,tejasapatil/spark,pgandhi999/spark,saturday-shi/spark,big-pegasus/spark,aray/spark,sureshthalamati/spark,LantaoJin/spark,lvdongr/spark,poffuomo/spark,shubhamchopra/spark,tengpeng/spark,nlalevee/spark,ddna1021/spark,Aegeaner/spark,facaiy/spark,xflin/spark,joseph-torres/spark,publicRoman/spark,lxsmnv/spark,byakuinss/spark,Aegeaner/spark,facaiy/spark,cin/spark,poffuomo/spark,darionyaphet/spark,lvdongr/spark,kiszk/spark,eyalfa/spark,lxsmnv/spark,apache/spark,jiangxb1987/spark,kiszk/spark,maropu/spark,jianran/spark,esi-mineset/spark,milliman/spark,spark-test/spark,1haodian/spark,shubhamchopra/spark,narahari92/spark,shuangshuangwang/spark,xuanyuanking/spark,eyalfa/spark,rikima/spark,Aegeaner/spark,matthewfranglen/spark,nchammas/spark,ron8hu/spark,zuotingbing/spark,someorz/spark,techaddict/spark,highfei2011/spark,facaiy/spark,WindCanDie/spark,darionyaphet/spark,huang1900/spark,alunarbeach/spark,byakuinss/spark,janewangfb/spark,wangyum/spark,rednaxelafx/apache-spark,mike0sv/spark,MLnick/spark,mzl9039/spark,sureshthalamati/spark,yanboliang/spark,narahari92/spark,pgandhi999/spark,skonto/spark,rezasafi/spark,sureshthalamati/spark,ddna1021/spark,ConeyLiu/spark,alunarbeach/spark,apache-spark-on-k8s/spark,andrewor14/iolap,taroplus/spark,ioana-delaney/spark,aray/spark,milliman/spark,kimoonkim/spark,nlalevee/spark,narahari92/spark,map222/spark,dhruve/spark,mdespriee/spark,1haodian/spark,andrewor14/spark,icexelloss/spark,dhruve/spark,milliman/spark,facaiy/spark,zhouyejoe/spark,facaiy/spark,xflin/spark,nilsgrabbert/spark,wangmiao1981/spark,darionyaphet/spark,1haodian/spark,mzl9039/spark,gioenn/xSpark,srowen/spark,loneknightpy/spark,michalsenkyr/spark,saturday-shi/spark,poffuomo/spark,yanboliang/spark,mike0sv/spark,zero323/spark,ConeyLiu/spark,bOOm-X/spark,ibm-research-ireland/sparkoscope,dongjoon-hyun/spark,akopich/spark,pgandhi999/spark,szhem/spark,jianran/spark,aosagie/spark,sahilTakiar/spark,panfengfeng/spark,bravo-zhang/spark,WeichenXu123/spark,facaiy/spark,liyichao/spark,WindCanDie/spark,xuanyuanking/spark,byakuinss/spark,ibm-research-ireland/sparkoscope,Aegeaner/spark,zzcclp/spark,kissmetrics/spark,Panos-Bletsos/spark-cost-model-optimizer,dbtsai/spark,byakuinss/spark,goldmedal/spark,alunarbeach/spark,bravo-zhang/spark,poffuomo/spark,cloud-fan/spark,aosagie/spark,holdenk/spark,bOOm-X/spark,ron8hu/spark,icexelloss/spark,HyukjinKwon/spark,liyichao/spark,rekhajoshm/spark,aray/spark,zuotingbing/spark,guoxiaolongzte/spark,highfei2011/spark,ddna1021/spark,MLnick/spark,kevinyu98/spark,yanboliang/spark,wzhfy/spark,WindCanDie/spark,nlalevee/spark,rikima/spark,spark-test/spark,markhamstra/spark,setjet/spark,lvdongr/spark,LantaoJin/spark,panfengfeng/spark,jkbradley/spark,wangyum/spark,xflin/spark,markhamstra/spark,jlopezmalla/spark,cloud-fan/spark,minixalpha/spark,dhruve/spark,setjet/spark,chuckchen/spark,ahnqirage/spark,aokolnychyi/spark,darionyaphet/spark,hvanhovell/spark,huang1900/spark,mike0sv/spark,metamx/spark,SnappyDataInc/spark,aokolnychyi/spark,shubhamchopra/spark,pgandhi999/spark,spark-test/spark,ddna1021/spark,huang1900/spark,markhamstra/spark,gioenn/xSpark,WindCanDie/spark,apache/spark,dbtsai/spark,highfei2011/spark,WeichenXu123/spark,holdenk/spark,vinodkc/spark,wzhfy/spark,wangyum/spark,bOOm-X/spark,publicRoman/spark,dbtsai/spark,zzcclp/spark,jianran/spark,actuaryzhang/spark,rednaxelafx/apache-spark,kiszk/spark,sahilTakiar/spark,ueshin/apache-spark,big-pegasus/spark,yanboliang/spark,big-pegasus/spark,ioana-delaney/spark,eyalfa/spark,JoshRosen/spark,mahak/spark,taroplus/spark,ddna1021/spark,JoshRosen/spark,rekhajoshm/spark,bdrillard/spark,narahari92/spark,UndeadBaneGitHub/spark,ahnqirage/spark,zuotingbing/spark,byakuinss/spark,eyalfa/spark,sachintyagi22/spark,brad-kaiser/spark,zuotingbing/spark,bdrillard/spark,setjet/spark,nchammas/spark,cin/spark,zhouyejoe/spark,guoxiaolongzte/spark,techaddict/spark,janewangfb/spark,nilsgrabbert/spark,chuckchen/spark,skonto/spark,MLnick/spark,loneknightpy/spark,joseph-torres/spark,mdespriee/spark,icexelloss/spark,jrshust/spark,someorz/spark,SnappyDataInc/spark,panfengfeng/spark,srowen/spark,someorz/spark,rikima/spark,janewangfb/spark,taroplus/spark,publicRoman/spark,alunarbeach/spark,esi-mineset/spark,apache-spark-on-k8s/spark,dongjoon-hyun/spark,ioana-delaney/spark,jlopezmalla/spark,panfengfeng/spark,andrewor14/spark,ahnqirage/spark,rekhajoshm/spark,metamx/spark,haowu80s/spark,ajaysaini725/spark,goldmedal/spark,loneknightpy/spark,rikima/spark,haowu80s/spark,ConeyLiu/spark,byakuinss/spark,someorz/spark,techaddict/spark,nlalevee/spark,wangmiao1981/spark,bdrillard/spark,rezasafi/spark,rekhajoshm/spark,milliman/spark,SHASHANKB/spark,publicRoman/spark,wangmiao1981/spark,highfei2011/spark,bravo-zhang/spark,milliman/spark,lvdongr/spark,patrick-nicholson/spark,ConeyLiu/spark,SHASHANKB/spark,debugger87/spark,srowen/spark,LantaoJin/spark,someorz/spark,apache/spark,srowen/spark,jkbradley/spark,sachintyagi22/spark,szhem/spark,shubhamchopra/spark,joseph-torres/spark,markhamstra/spark,liutang123/spark,alunarbeach/spark,minixalpha/spark,zhouyejoe/spark,shuangshuangwang/spark,darionyaphet/spark,ConeyLiu/spark,esi-mineset/spark,WindCanDie/spark,goldmedal/spark,gioenn/xSpark,jianran/spark,liutang123/spark,rezasafi/spark,srowen/spark,saltstar/spark,michalsenkyr/spark,panfengfeng/spark,sureshthalamati/spark,jianran/spark,taroplus/spark,maropu/spark,jlopezmalla/spark,loneknightpy/spark,ajaysaini725/spark,shuangshuangwang/spark,holdenk/spark,lvdongr/spark,caneGuy/spark,andrewor14/iolap,esi-mineset/spark,ioana-delaney/spark,actuaryzhang/spark,1haodian/spark,aokolnychyi/spark,joseph-torres/spark,poffuomo/spark,SnappyDataInc/spark,HyukjinKwon/spark,actuaryzhang/spark,shaneknapp/spark,vinodkc/spark,xuanyuanking/spark,andrewor14/iolap,loneknightpy/spark,1haodian/spark,LantaoJin/spark,LantaoJin/spark,wzhfy/spark,brad-kaiser/spark,wzhfy/spark,ahnqirage/spark,dongjoon-hyun/spark,patrick-nicholson/spark,liutang123/spark,Aegeaner/spark,vinodkc/spark,kissmetrics/spark,wangmiao1981/spark,patrick-nicholson/spark,shaneknapp/spark,taroplus/spark,jrshust/spark,xuanyuanking/spark,guoxiaolongzte/spark,zzcclp/spark,xuanyuanking/spark,ptkool/spark,wangyum/spark,actuaryzhang/spark,chuckchen/spark,liyichao/spark,brad-kaiser/spark,JerryLead/spark,chuckchen/spark,SnappyDataInc/spark,zhouyejoe/spark,alunarbeach/spark,nchammas/spark,map222/spark,hvanhovell/spark,zhouyejoe/spark,zuotingbing/spark,saltstar/spark,hvanhovell/spark,kiszk/spark,Panos-Bletsos/spark-cost-model-optimizer,jiangxb1987/spark,zero323/spark,pronix/spark,markhamstra/spark,jlopezmalla/spark,rikima/spark,ericvandenbergfb/spark,tejasapatil/spark,techaddict/spark,jiangxb1987/spark,skonto/spark,andrewor14/spark,mahak/spark,xuanyuanking/spark,maropu/spark,joseph-torres/spark,sachintyagi22/spark,liyichao/spark,JoshRosen/spark,HyukjinKwon/spark,tejasapatil/spark,setjet/spark,cin/spark,publicRoman/spark,stanzhai/spark,liutang123/spark,SHASHANKB/spark,andrewor14/iolap,zero323/spark,BryanCutler/spark,kimoonkim/spark,akopich/spark,mahak/spark,highfei2011/spark,sachintyagi22/spark,szhem/spark,1haodian/spark,adrian-ionescu/apache-spark,WeichenXu123/spark,highfei2011/spark,ioana-delaney/spark,WeichenXu123/spark,map222/spark,lvdongr/spark,witgo/spark,aosagie/spark,ueshin/apache-spark,rednaxelafx/apache-spark,ptkool/spark,witgo/spark,liyichao/spark,ajaysaini725/spark,witgo/spark,rednaxelafx/apache-spark,minixalpha/spark,mike0sv/spark,techaddict/spark,milliman/spark,michalsenkyr/spark,akopich/spark,ron8hu/spark,ptkool/spark,sahilTakiar/spark,setjet/spark,xflin/spark,nilsgrabbert/spark,WeichenXu123/spark,saturday-shi/spark,liutang123/spark,gioenn/xSpark,aosagie/spark,rezasafi/spark,eyalfa/spark,shaneknapp/spark,aokolnychyi/spark,zero323/spark,dhruve/spark,guoxiaolongzte/spark,poffuomo/spark,Panos-Bletsos/spark-cost-model-optimizer,andrewor14/iolap,szhem/spark,wangyum/spark,brad-kaiser/spark,darionyaphet/spark,nchammas/spark,apache/spark,jkbradley/spark,metamx/spark