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

[Regression] Module cannot resolve parent project version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.3.9
    • None
    • POM
    • None

    Description

      Starting with 3.3.9 modules cannot resolve parent.project.version anymore:

      $ apache-maven-3.3.9/bin/mvn clean compile
      [INFO] Scanning for projects...
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [FATAL] Non-resolvable parent POM for org.foo:org.foo.api:[unknown-version]: Failure to find org.foo:org.foo.parent:pom:${parent.project.version} in http://artifactory.local/artifactory/libs-release was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 8, column 10
      

      Parent POM contains:

             <version>0.0.1-SNAPSHOT</version>
      

      While modules POMs contains:

              <parent>
                      <groupId>org.foo</groupId>
                      <artifactId>org.foo.parent</artifactId>
                      <version>${parent.project.version}</version>
              </parent>
      

      It works fine with 3.3.1 and 3.3.3.

      Attachments

        Issue Links

          Activity

            People

              schulte77 Christian Schulte
              ascarpino Andrea Scarpino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: