Commit 9f4647e
fix: skip Scala compilation on JDK < 17 for fabric-cosmos-spark-auth_4-0_2-13
Set cosmos.spark.skip=true for JDK < 17, matching the pattern used by
azure-cosmos-spark_4-0_2-13 and azure-cosmos-spark_4-1_2-13. This flows
through maven.main.skip to skip both the Java compiler (maven-compiler-plugin)
and the Scala compiler (scala-maven-plugin), which supports maven.main.skip.
Without this, the scala-maven-plugin attempts to compile with -release 17
on JDK 8/11, causing build failures.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 57ba2de commit 9f4647e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
| 536 | + | |
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
542 | 546 | | |
543 | 547 | | |
544 | 548 | | |
| |||
0 commit comments