Commit eaed471
[MINOR][BUILD] Remove undefined -Pscala-2.13 profile from dev scripts
### What changes were proposed in this pull request?
This PR removes the `-Pscala-2.13` profile specification from two dev scripts:
- `dev/lint-scala`
- `dev/scalafmt`
### Why are the changes needed?
The `-Pscala-2.13` profile is not defined in the project's Maven configuration, making these profile references unnecessary and potentially confusing. The default Scala version configured in `pom.xml` will be used instead, simplifying the build process.
### Changes Made
**dev/lint-scala:**
- Removed `-Pscala-2.13 \` line from the scalafmt validation command
**dev/scalafmt:**
- Removed the `VERSION` parameter logic
- Removed `-Pscala-$VERSION` from the Maven command
### Does this PR introduce any user-facing change?
No. This is an internal build script simplification that doesn't affect end users.
### How was this patch tested?
The changes maintain existing functionality by relying on the default Scala version configured in the project's Maven POM files rather than explicitly specifying an undefined profile.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #53655 from yaooqinn/remove-scala-2.13-profile-from-dev-scripts.
Authored-by: Kent Yao <[email protected]>
Signed-off-by: yangjie01 <[email protected]>1 parent 6695a69 commit eaed471
2 files changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
22 | 21 | | |
0 commit comments