apache / apache/livy

Build fails when using -Pscala-2.12

Open
#422 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
963
Forks
625
Avg merge
6d 21h
Merged PRs (30d)
6

Description

Build fails on assembly module due to scala-2.11 dependencies.
I think this is due to the `${scala.binary.version}` being used in the `modules` sections, and it's populated before the profiles are loaded.
When I ensure that scala-2.12 is the default in the `` then it works fine.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the build failure with the -Pscala-2.12 profile, focusing on the assembly module and its scala-2.11 dependencies. Read the modules sections, the scala.binary.version property, and the profile-loading configuration to trace when the value is populated. Done means assembly succeeds with -Pscala-2.12 and uses Scala 2.12 dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.