Skip to content

Maven 4 infer bug #11321

@cstamas

Description

@cstamas

Affected version

master

Bug description

I came across this in ITs.

Using latest master:

Apache Maven 4.1.0-SNAPSHOT (b0cbab3fa7ce3ffd7c5c88f07ab78a03e8bf5d70)
Maven home: /home/cstamas/.sdkman/candidates/maven/latest-master
Java version: 21.0.8, vendor: Eclipse Adoptium, runtime: /home/cstamas/.sdkman/candidates/java/21.0.8-tem
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.17.4-200.fc42.x86_64", arch: "amd64", family: "unix"

Untar the tarball, cd into its basedir. This works:

mvn validate

This explodes with SO:

mvn validate -f deps

Example:
https://gist.github.com/cstamas/85ebeec9774454c2b00673a4ae3dedf9

Cause: "erroneously" I created a .mvn directory in deps directory. It is wrong, but still, SO is bad.

mvn4-infer.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:blockerBlocks development and/or testing work, production could not run

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions