Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7606

Maven 3.9.0-SNAPSHOT cannot build Maven 4.0.0-SNAPSHOT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 3.9.0
    • None
    • None

    Description

      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:

      [cstamas@blondie maven (master)]$ mvn -V clean install
      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)]$  

      Maven 3.8.6 and 4.0.0-alpha-3-SNAPSHOT builds master just fine.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              cstamas Tamas Cservenak
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: