Skip to content

maven: Update lang level detection #43

Description

@mbien

the maven plugin is currently only checking the source element, not the property or release version.

Xpp3Dom source = sourceLevelConfiguration.getChild("source");

If the property is left undefined, it would be better to use the runtime JDK version (max supported?) instead of a hardcoded fallback, analog to how javac works or the maven-compiler-plugin.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions