[ https://issues.apache.org/jira/browse/MNG-5955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schulte closed MNG-5955. ---------------------------------- Resolution: Won't Fix Assignee: Christian Schulte This is not a regression. Behaviour is correct. The parent version element has not been taken into account while resolving parent projects locally before and that has been fixed recently. Google will yield things like [http://stackoverflow.com/questions/1981151/warning-on-using-project-parent-version-as-the-version-of-a-module-in-maven-3] immediately. This has been restricted further in [Maven 3.4.0-SNAPSHOT|https://builds.apache.org/view/All/job/maven-3.3-release-status-build/]. > [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 > Assignee: Christian Schulte > > 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)