SPARK-5822 [BUILD] cannot import src/main/scala & src/test/scala into eclipse as source folder
SPARK-5822 [BUILD] cannot import src/main/scala & src/test/scala into eclipse as source folder

   When import the whole project into eclipse as maven project, found that the
   src/main/scala & src/test/scala can not be set as source folder as default
   behavior, so add a "add-source" goal in scala-maven-plugin to let this work.

Author: gli <gli@redhat.com>

Closes #4531 from ligangty/addsource and squashes the following commits:

4e4db4c [gli] [IDE] cannot import src/main/scala & src/test/scala into eclipse as source folder

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