Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

morvenhuang
Copy link
Contributor

@morvenhuang morvenhuang commented Mar 24, 2022

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.

@github-actions github-actions bot added the BUILD label Mar 24, 2022
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@srowen
Copy link
Member

srowen commented Mar 24, 2022

Merged to master

@srowen srowen closed this in de960a5 Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants