[SPARK-12499][BUILD] don't force MAVEN_OPTS
[SPARK-12499][BUILD] don't force MAVEN_OPTS

allow the user to override MAVEN_OPTS (2GB wasn't sufficient for me)

Author: Adrian Bridgett <adrian@smop.co.uk>

Closes #10448 from abridgett/feature/do_not_force_maven_opts.

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