Skip to content

Xtext Maven plugin should specify required Java version #3663

@rosczja

Description

@rosczja

We wanted to upgrade our projects to Maven 3.9.12 and noticed an issue with Xtext Maven plugin. Our projects use Java 11 and Xtext 2.37, which would build just fine with Maven 3.9.11. The newer Maven versions will enforce the required Java version set in a plugins descriptor. For Xtext 2.37 it is seems to be autodetected and set to Java 17. Which did not seem right, because our projects build with Java 11 just fine.

I would like to suggest to add the "requiredJavaVersion" property of the "maven-plugin-plugin" configuration to a dedicated value instead of the default value "auto". So in future it is always clear what Java version is required by the Xtext Maven plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions