Skip to content

maven.compiler.release support is not consistent with javac #686

@slandelle

Description

@slandelle

We want scala-maven-plugin's support of maven.compiler.release to be consistent with maven-compiler plugin's.

On the Java side, maven.compiler.release translates to --release that was introduced in Java 9.
Trying to use it with Java 8 triggers a invalid flag: --release crash.
As of scala-maven-plugin 3.8.1, compilation succeeds.

We should crash as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions