[
https://issues.apache.org/jira/browse/MNG-5955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schulte updated MNG-5955:
-----------------------------------
Labels: (was: regression)
> [Regression] Module cannot resolve parent project version
> ---------------------------------------------------------
>
> Key: MNG-5955
> URL: https://issues.apache.org/jira/browse/MNG-5955
> Project: Maven
> Issue Type: Bug
> Components: POM
> Affects Versions: 3.3.9
> Reporter: Andrea Scarpino
>
> Starting with 3.3.9 modules cannot resolve parent.project.version anymore:
> {noformat}
> $ 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
> {noformat}
> Parent POM contains:
> {noformat}
> <version>0.0.1-SNAPSHOT</version>
> {noformat}
> While modules POMs contains:
> {noformat}
> <parent>
> <groupId>org.foo</groupId>
> <artifactId>org.foo.parent</artifactId>
> <version>${parent.project.version}</version>
> </parent>
> {noformat}
> It works fine with 3.3.1 and 3.3.3.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)