apache / apache/daffodil-sbt

Warn/error on incompatible Java/Scala version

Open
#33 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
2
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Some combinations of versions of Java, Scala, and Daffodil are known to be incompatible. The plugin should error or have a prominent warning when this is the case.

Known/documented incompatibilities:

> // Compatible version sets include:
> // Java 8, 11, Scala 2.12.11 (exactly), Daffodil 3.0.0 (and below)
> // Java 8, 11, 17, Scala 2.12.15 (and above), Daffodil 3.1.0 (and above)
> // cannot be java 17 with daffodil 2.7.0 and scalaVersion 2.12.11.

Note that we should only error on known incompatibilities so we can still test with new versions, even if they are not yet known to be compatible. If we later determine new versions are incompatible then we can update the plugin.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by tracing where the plugin receives or evaluates Java, Scala, and Daffodil versions, then compare that path with the documented compatible and incompatible combinations in the issue. Done means known incompatibilities produce a prominent warning or error while unknown combinations remain allowed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.