[SPARK-38641][BUILD] Get rid of invalid configuration elements in mvn_scalafmt in main pom.xml
[SPARK-38641][BUILD] Get rid of invalid configuration elements in mvn_scalafmt in main pom.xml

### What changes were proposed in this pull request?
In main pom.xml, for mvn_scalafmt plugin, I removed 'parameters' since it's invalid , and replace 'skip' with 'validateOnly' since 'skip' is invalid too.

### Why are the changes needed?
I think we should not leave invalid items there in the pom.xml

I've contacted the author of mvn_scalafmt, Ciaran Kearney, to confirm if these 2 configuration items are no longer there since v 1.0.0, and he said: "That's correct.  The command line parameters were removed by scalafmt itself a few versions ago and skip was replaced by validateOnly (which checks formatting without changing files."

### Does this PR introduce _any_ user-facing change?
Yes

### How was this patch tested?
Run mvn-scalafmt_2.12:format locally via mvn.

Closes #35956 from morvenhuang/SPARK-38641.

Authored-by: morvenhuang <c0f30601cb704839c567b8f9dbb4f283f4fbb82e@gmail.com>
Signed-off-by: Sean Owen <d519fa33a62684a61ab04b24d26f83452d51b34c@gmail.com>

zzcclp/spark,witgo/spark,mahak/spark,HyukjinKwon/spark,shaneknapp/spark,hvanhovell/spark,shaneknapp/spark,mahak/spark,nchammas/spark,cloud-fan/spark,apache/spark,nchammas/spark,hvanhovell/spark,witgo/spark,vinodkc/spark,WeichenXu123/spark,zzcclp/spark,vinodkc/spark,srowen/spark,ueshin/apache-spark,dongjoon-hyun/spark,shaneknapp/spark,shaneknapp/spark,cloud-fan/spark,gengliangwang/spark,rednaxelafx/apache-spark,nchammas/spark,WeichenXu123/spark,holdenk/spark,gengliangwang/spark,holdenk/spark,zzcclp/spark,mahak/spark,JoshRosen/spark,dongjoon-hyun/spark,shaneknapp/spark,vinodkc/spark,WeichenXu123/spark,JoshRosen/spark,gengliangwang/spark,vinodkc/spark,mahak/spark,dongjoon-hyun/spark,cloud-fan/spark,mahak/spark,rednaxelafx/apache-spark,rednaxelafx/apache-spark,apache/spark,hvanhovell/spark,nchammas/spark,zzcclp/spark,hvanhovell/spark,nchammas/spark,WeichenXu123/spark,HyukjinKwon/spark,JoshRosen/spark,ueshin/apache-spark,WeichenXu123/spark,wangyum/spark,zzcclp/spark,ueshin/apache-spark,ueshin/apache-spark,dongjoon-hyun/spark,apache/spark,wangyum/spark,zero323/spark,rednaxelafx/apache-spark,zero323/spark,HyukjinKwon/spark,JoshRosen/spark,HyukjinKwon/spark,gengliangwang/spark,holdenk/spark,holdenk/spark,rednaxelafx/apache-spark,wangyum/spark,witgo/spark,rednaxelafx/apache-spark,ueshin/apache-spark,ueshin/apache-spark,JoshRosen/spark,vinodkc/spark,witgo/spark,hvanhovell/spark,dongjoon-hyun/spark,zero323/spark,cloud-fan/spark,holdenk/spark,holdenk/spark,mahak/spark,hvanhovell/spark,srowen/spark,gengliangwang/spark,wangyum/spark,gengliangwang/spark,witgo/spark,apache/spark,cloud-fan/spark,zzcclp/spark,srowen/spark,zero323/spark,mahak/spark,srowen/spark,wangyum/spark,vinodkc/spark,apache/spark,witgo/spark,srowen/spark,wangyum/spark,witgo/spark,zero323/spark,WeichenXu123/spark,JoshRosen/spark,HyukjinKwon/spark,WeichenXu123/spark,apache/spark,zzcclp/spark,gengliangwang/spark,HyukjinKwon/spark,wangyum/spark,dongjoon-hyun/spark,shaneknapp/spark,holdenk/spark,zero323/spark,cloud-fan/spark,nchammas/spark,rednaxelafx/apache-spark,apache/spark,zero323/spark,shaneknapp/spark,vinodkc/spark,hvanhovell/spark,cloud-fan/spark,srowen/spark,JoshRosen/spark,ueshin/apache-spark,srowen/spark,nchammas/spark,HyukjinKwon/spark,dongjoon-hyun/spark