Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.3.9
-
None
-
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
- is duplicated by
-
MNG-6193 Properties not working in parent version tag
- Closed