Commit de960a5
[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 <[email protected]>
Signed-off-by: Sean Owen <[email protected]>1 parent e410d98 commit de960a5
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | 174 | | |
176 | 175 | | |
177 | 176 | | |
| |||
3350 | 3349 | | |
3351 | 3350 | | |
3352 | 3351 | | |
3353 | | - | |
3354 | | - | |
| 3352 | + | |
3355 | 3353 | | |
3356 | 3354 | | |
3357 | 3355 | | |
| |||
0 commit comments