RalfNaujokat opened a new issue, #11292:
URL: https://github.com/apache/maven/issues/11292

   ### 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?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to