Skip to content

[MCOMPILER-606] Compilation fails when there's a module descriptor #888

@jira-importer

Description

@jira-importer

Philippe De Neve opened MCOMPILER-606 and commented

Note: applicable only when using maven 4 rc1 or rc2 and Java 23.

When a project has a module descriptor, the build fails because of an error issued by the maven-compiler-plugin compile goal. Subsequent compile (without clean) succeeds.

To reproduce:

git clone https://gitlab.com/philippedn/jptb.git
cd jptb
git checkout MCOMPILER-606
./mvnw compile

Output:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project jptb: Fatal error compiling: error: release version 23 not supported -> [Help 1]


Affects: 3.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions