Skip to content

Strange output '[unknown project]' in maven output when using -e -X, maybe related to issue #11109 and pull #11178 #11292

@RalfNaujokat

Description

@RalfNaujokat

Affected version

maven 4.0.0-rc4, maven 4.0.0-SNAPSHOT, maven 4.1.0-SNAPSHOT

Bug description

The issue #11109 was fixed with #11178, but it seems, it only cures some sympoms.

With Maven 4.0.0-rc4 i can (of course) still see the issue #11109.
So i switched to Maven versions 4.0.0-SNAPSHOT and 4.1.0-SNAPSHOT.
Now the NullPointerException is gone, but the build fails with
Non-resolvable parent POM: The following artifacts could not be resolved: de.ralfn.**:25.10.11-SNAPSHOT (absent) (remote repositories: rns-all (https://nexus**/, default, releases), rns-all (https://nexus**/, default, releases+snapshots)) and parent could not be found in reactor @ de.ralfn**:${revision}, file:///builds/gitlab/de.ralfn/**/pom.xml, line 6, column 2: One or more requests failed
(some items faded out)
This artifacts are definitely in my nexus, i deploy them with local builds on my workstation.
What is noticeable is, there are lines with text [unknown project] in maven output when using options -e -X.

What is really strange:
This currently happens only in my Gitlab piplines, local builds on my workstation are fine with any Maven 4 version.
The build image is always the same, i am only switching the maven versions by setting a CI env. var.
The same image was and is still working for Maven 3 projects, so i don't think, there are other issues involved.

May be its related to nested subprojects, some single projects build fine.
I am using the the simplified parent defs like
<parent> <relativePath>../pom.xml</relativePath> </parent>
But why should this fail in the pipeline while it works on my local machine?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

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