Tamas Cservenak created MNG-7606:
------------------------------------

             Summary: Maven 3.9.0-SNAPSHOT cannot build Maven 4.0.0-SNAPSHOT
                 Key: MNG-7606
                 URL: https://issues.apache.org/jira/browse/MNG-7606
             Project: Maven
          Issue Type: Bug
            Reporter: Tamas Cservenak


How to reproduce: build maven-3.9.x branch 
(e921f1564ef9460ca58745eb52e3967dbbd0b9e7) then checkout master branch 
(c6ecff9923088d854d4621e17d602f1c70dda806) and try to build it with built 
3.9.0-SNAPSHOT: it fails.

Error is:
{noformat}
[cstamas@blondie maven (master)]$ mvn -V
Apache Maven 3.9.0-SNAPSHOT (e921f1564ef9460ca58745eb52e3967dbbd0b9e7)
Maven home: /home/cstamas/.sdkman/candidates/maven/3.9.0-SNAPSHOT
Java version: 17.0.5, vendor: Eclipse Adoptium, runtime: 
/home/cstamas/.sdkman/candidates/java/17.0.5-tem
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.0.9-300.fc37.x86_64", arch: "amd64", family: 
"unix"
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for 
org.junit.jupiter:junit-jupiter-engine:jar is missing. @ line 485, column 17
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.maven:maven:4.0.0-alpha-3-SNAPSHOT 
(/home/cstamas/Worx/apache-maven/maven/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for 
org.junit.jupiter:junit-jupiter-engine:jar is missing. @ line 485, column 17
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[cstamas@blondie maven (master)]$  {noformat}
Maven 3.8.6 builds master just fine.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to