Skip to content

Move scala dependencies to root pom#11671

Merged
xiangfu0 merged 3 commits intoapache:masterfrom
gortiz:scala-deps-on-root
Oct 4, 2023
Merged

Move scala dependencies to root pom#11671
xiangfu0 merged 3 commits intoapache:masterfrom
gortiz:scala-deps-on-root

Conversation

@gortiz
Copy link
Copy Markdown
Contributor

@gortiz gortiz commented Sep 25, 2023

The reason to be of this PR is to be able to progress on #11656.

As explained there, the scala version currently used in Pinot does not support Java 21. This PR changes the code to:

  • Centralize the scala config in the pom (as we do with most dependencies).
  • Upgrade scala from 2.12.11 to 2.12.18.
  • Make the usage of scala.version homogeneous. Previously different projects mixed the meaning of scala.version and scala.compat.version. Now scala.version is always the actual scala version used (with minor included) and scala.compat.version is the scala family used (2.12 by default and 2.13 if some profile is enabled).

This changes are included in #11672, so we can decide to merge this alone or merge everything together.

@gortiz gortiz mentioned this pull request Sep 25, 2023
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 25, 2023

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.10%. Comparing base (873992f) to head (5279c84).
⚠️ Report is 3307 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #11671      +/-   ##
============================================
+ Coverage     62.95%   63.10%   +0.14%     
- Complexity     1114     1118       +4     
============================================
  Files          2342     2342              
  Lines        125919   125919              
  Branches      19362    19362              
============================================
+ Hits          79278    79461     +183     
+ Misses        40979    40805     -174     
+ Partials       5662     5653       -9     
Flag Coverage Δ
integration <0.01% <ø> (ø)
integration1 <0.01% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 63.07% <ø> (+48.65%) ⬆️
java-17 62.94% <ø> (+48.52%) ⬆️
java-20 62.94% <ø> (-0.02%) ⬇️
temurin 63.10% <ø> (+0.14%) ⬆️
unittests 63.10% <ø> (+0.14%) ⬆️
unittests1 67.24% <ø> (+0.18%) ⬆️
unittests2 14.44% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Jackie-Jiang Jackie-Jiang added the dependencies Pull requests that update a dependency file label Sep 25, 2023
Copy link
Copy Markdown
Contributor

@Jackie-Jiang Jackie-Jiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @xiangfu0 can you also take a look?

@gortiz gortiz mentioned this pull request Sep 27, 2023
7 tasks
@xiangfu0 xiangfu0 merged commit 0bb84ae into apache:master Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants