[FIXED JENKINS-33693] Do not hardcode .bat extension.
[FIXED JENKINS-33693] Do not hardcode .bat extension.

As the default maven command is on the path we can not hard code the
command to mvn.bat as since maven 3.something it has been mvn.cmd

As this is on the path we can just use mvn and let Windows do its thing
with PATHEXT which will has both .BAT and .CMD by default.

This fixes ATH failures when the ATH is run on windows.

escoem/jenkins,alvarolobato/jenkins,damianszczepanik/jenkins,ydubreuil/jenkins,hplatou/jenkins,patbos/jenkins,daniel-beck/jenkins,Vlatombe/jenkins,jenkinsci/jenkins,lilyJi/jenkins,damianszczepanik/jenkins,ndeloof/jenkins,rsandell/jenkins,ajshastri/jenkins,wuwen5/jenkins,andresrc/jenkins,damianszczepanik/jenkins,bkmeneguello/jenkins,viqueen/jenkins,SebastienGllmt/jenkins,protazy/jenkins,ydubreuil/jenkins,hplatou/jenkins,kohsuke/hudson,Ykus/jenkins,samatdav/jenkins,gitaccountforprashant/gittest,rsandell/jenkins,dariver/jenkins,lilyJi/jenkins,ikedam/jenkins,azweb76/jenkins,protazy/jenkins,alvarolobato/jenkins,damianszczepanik/jenkins,jpbriend/jenkins,bkmeneguello/jenkins,viqueen/jenkins,lilyJi/jenkins,alvarolobato/jenkins,ErikVerheul/jenkins,NehemiahMi/jenkins,daniel-beck/jenkins,viqueen/jenkins,samatdav/jenkins,FarmGeek4Life/jenkins,tfennelly/jenkins,rlugojr/jenkins,godfath3r/jenkins,tfennelly/jenkins,MarkEWaite/jenkins,amuniz/jenkins,v1v/jenkins,evernat/jenkins,wuwen5/jenkins,escoem/jenkins,ydubreuil/jenkins,Jimilian/jenkins,Ykus/jenkins,batmat/jenkins,vjuranek/jenkins,samatdav/jenkins,alvarolobato/jenkins,NehemiahMi/jenkins,jpbriend/jenkins,escoem/jenkins,v1v/jenkins,wuwen5/jenkins,MarkEWaite/jenkins,MarkEWaite/jenkins,amuniz/jenkins,evernat/jenkins,alvarolobato/jenkins,bkmeneguello/jenkins,azweb76/jenkins,godfath3r/jenkins,olivergondza/jenkins,gitaccountforprashant/gittest,fbelzunc/jenkins,christ66/jenkins,SebastienGllmt/jenkins,protazy/jenkins,christ66/jenkins,recena/jenkins,olivergondza/jenkins,vjuranek/jenkins,batmat/jenkins,FarmGeek4Life/jenkins,jglick/jenkins,aldaris/jenkins,tfennelly/jenkins,olivergondza/jenkins,SebastienGllmt/jenkins,Jochen-A-Fuerbacher/jenkins,oleg-nenashev/jenkins,bpzhang/jenkins,tfennelly/jenkins,oleg-nenashev/jenkins,Vlatombe/jenkins,andresrc/jenkins,gitaccountforprashant/gittest,ikedam/jenkins,sathiya-mit/jenkins,amuniz/jenkins,sathiya-mit/jenkins,ErikVerheul/jenkins,bpzhang/jenkins,oleg-nenashev/jenkins,christ66/jenkins,christ66/jenkins,dariver/jenkins,gitaccountforprashant/gittest,aldaris/jenkins,olivergondza/jenkins,Ykus/jenkins,jpbriend/jenkins,godfath3r/jenkins,varmenise/jenkins,oleg-nenashev/jenkins,recena/jenkins,rlugojr/jenkins,andresrc/jenkins,Vlatombe/jenkins,rlugojr/jenkins,amuniz/jenkins,evernat/jenkins,bpzhang/jenkins,pjanouse/jenkins,v1v/jenkins,varmenise/jenkins,olivergondza/jenkins,Vlatombe/jenkins,evernat/jenkins,jenkinsci/jenkins,varmenise/jenkins,bpzhang/jenkins,daniel-beck/jenkins,varmenise/jenkins,Jimilian/jenkins,viqueen/jenkins,dennisjlee/jenkins,amuniz/jenkins,ikedam/jenkins,stephenc/jenkins,vjuranek/jenkins,pjanouse/jenkins,dennisjlee/jenkins,samatdav/jenkins,MarkEWaite/jenkins,Jochen-A-Fuerbacher/jenkins,evernat/jenkins,vjuranek/jenkins,christ66/jenkins,lilyJi/jenkins,MichaelPranovich/jenkins_sc,patbos/jenkins,amuniz/jenkins,evernat/jenkins,ajshastri/jenkins,ydubreuil/jenkins,NehemiahMi/jenkins,amuniz/jenkins,ajshastri/jenkins,SebastienGllmt/jenkins,rsandell/jenkins,NehemiahMi/jenkins,pjanouse/jenkins,jglick/jenkins,rsandell/jenkins,viqueen/jenkins,stephenc/jenkins,Jimilian/jenkins,stephenc/jenkins,jglick/jenkins,ndeloof/jenkins,escoem/jenkins,Jimilian/jenkins,recena/jenkins,evernat/jenkins,christ66/jenkins,kohsuke/hudson,v1v/jenkins,jenkinsci/jenkins,hplatou/jenkins,alvarolobato/jenkins,jenkinsci/jenkins,jpbriend/jenkins,aldaris/jenkins,dariver/jenkins,daniel-beck/jenkins,daniel-beck/jenkins,ajshastri/jenkins,samatdav/jenkins,rlugojr/jenkins,damianszczepanik/jenkins,jpbriend/jenkins,azweb76/jenkins,ydubreuil/jenkins,pjanouse/jenkins,vjuranek/jenkins,batmat/jenkins,viqueen/jenkins,gitaccountforprashant/gittest,protazy/jenkins,MarkEWaite/jenkins,batmat/jenkins,wuwen5/jenkins,patbos/jenkins,lilyJi/jenkins,azweb76/jenkins,dariver/jenkins,DanielWeber/jenkins,rsandell/jenkins,batmat/jenkins,pjanouse/jenkins,vjuranek/jenkins,tfennelly/jenkins,ndeloof/jenkins,aldaris/jenkins,sathiya-mit/jenkins,Ykus/jenkins,samatdav/jenkins,ikedam/jenkins,varmenise/jenkins,godfath3r/jenkins,protazy/jenkins,escoem/jenkins,andresrc/jenkins,patbos/jenkins,ErikVerheul/jenkins,Jochen-A-Fuerbacher/jenkins,protazy/jenkins,bpzhang/jenkins,wuwen5/jenkins,tangkun75/jenkins,Ykus/jenkins,gusreiber/jenkins,MichaelPranovich/jenkins_sc,godfath3r/jenkins,ikedam/jenkins,hplatou/jenkins,stephenc/jenkins,Jochen-A-Fuerbacher/jenkins,ydubreuil/jenkins,patbos/jenkins,jglick/jenkins,FarmGeek4Life/jenkins,oleg-nenashev/jenkins,azweb76/jenkins,v1v/jenkins,NehemiahMi/jenkins,Jimilian/jenkins,batmat/jenkins,rsandell/jenkins,ErikVerheul/jenkins,ikedam/jenkins,stephenc/jenkins,stephenc/jenkins,alvarolobato/jenkins,tfennelly/jenkins,MarkEWaite/jenkins,jglick/jenkins,bkmeneguello/jenkins,SebastienGllmt/jenkins,fbelzunc/jenkins,escoem/jenkins,daniel-beck/jenkins,kohsuke/hudson,bpzhang/jenkins,ikedam/jenkins,hplatou/jenkins,andresrc/jenkins,batmat/jenkins,jenkinsci/jenkins,DanielWeber/jenkins,tfennelly/jenkins,jpbriend/jenkins,oleg-nenashev/jenkins,tangkun75/jenkins,fbelzunc/jenkins,dennisjlee/jenkins,wuwen5/jenkins,Jimilian/jenkins,gusreiber/jenkins,fbelzunc/jenkins,Ykus/jenkins,ndeloof/jenkins,andresrc/jenkins,daniel-beck/jenkins,rsandell/jenkins,pjanouse/jenkins,varmenise/jenkins,oleg-nenashev/jenkins,patbos/jenkins,jglick/jenkins,ErikVerheul/jenkins,escoem/jenkins,Jochen-A-Fuerbacher/jenkins,jenkinsci/jenkins,wuwen5/jenkins,ydubreuil/jenkins,FarmGeek4Life/jenkins,tangkun75/jenkins,ikedam/jenkins,fbelzunc/jenkins,tangkun75/jenkins,godfath3r/jenkins,olivergondza/jenkins,stephenc/jenkins,DanielWeber/jenkins,dennisjlee/jenkins,viqueen/jenkins,DanielWeber/jenkins,andresrc/jenkins,azweb76/jenkins,lilyJi/jenkins,rsandell/jenkins,kohsuke/hudson,recena/jenkins,rlugojr/jenkins,v1v/jenkins,damianszczepanik/jenkins,NehemiahMi/jenkins,jglick/jenkins,FarmGeek4Life/jenkins,tangkun75/jenkins,bkmeneguello/jenkins,lilyJi/jenkins,kohsuke/hudson,protazy/jenkins,sathiya-mit/jenkins,Jimilian/jenkins,Vlatombe/jenkins,NehemiahMi/jenkins,rlugojr/jenkins,DanielWeber/jenkins,recena/jenkins,pjanouse/jenkins,aldaris/jenkins,gitaccountforprashant/gittest,bpzhang/jenkins,Ykus/jenkins,dennisjlee/jenkins,gitaccountforprashant/gittest,kohsuke/hudson,sathiya-mit/jenkins,hplatou/jenkins,FarmGeek4Life/jenkins,christ66/jenkins,ndeloof/jenkins,Jochen-A-Fuerbacher/jenkins,kohsuke/hudson,sathiya-mit/jenkins,Vlatombe/jenkins,daniel-beck/jenkins,gusreiber/jenkins,bkmeneguello/jenkins,FarmGeek4Life/jenkins,fbelzunc/jenkins,dariver/jenkins,sathiya-mit/jenkins,tangkun75/jenkins,jenkinsci/jenkins,samatdav/jenkins,MarkEWaite/jenkins,ajshastri/jenkins,dennisjlee/jenkins,jpbriend/jenkins,DanielWeber/jenkins,aldaris/jenkins,bkmeneguello/jenkins,gusreiber/jenkins,gusreiber/jenkins,MichaelPranovich/jenkins_sc,Jochen-A-Fuerbacher/jenkins,ajshastri/jenkins,azweb76/jenkins,kohsuke/hudson,damianszczepanik/jenkins,ErikVerheul/jenkins,olivergondza/jenkins,SebastienGllmt/jenkins,aldaris/jenkins,hplatou/jenkins,tangkun75/jenkins,damianszczepanik/jenkins,SebastienGllmt/jenkins,recena/jenkins,v1v/jenkins,gusreiber/jenkins,MichaelPranovich/jenkins_sc,MichaelPranovich/jenkins_sc,jenkinsci/jenkins,gusreiber/jenkins,varmenise/jenkins,rlugojr/jenkins,vjuranek/jenkins,MarkEWaite/jenkins,fbelzunc/jenkins,MichaelPranovich/jenkins_sc,dariver/jenkins,Vlatombe/jenkins,MichaelPranovich/jenkins_sc,ndeloof/jenkins,dennisjlee/jenkins,dariver/jenkins,recena/jenkins,godfath3r/jenkins,ajshastri/jenkins,patbos/jenkins,ndeloof/jenkins,DanielWeber/jenkins,ErikVerheul/jenkins