[ 
https://issues.apache.org/jira/browse/MNG-5955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Scarpino updated MNG-5955:
---------------------------------
    Description: 
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 
com.klopotek.wco:com.klopotek.wco.api:[unknown-version]: Failure to find 
com.klopotek.wco:com.klopotek.wco.parent:pom:${parent.project.version} in 
http://10.17.36.158:8081/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.

  was:
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...
Downloading: 
https://repo.maven.apache.org/maven2/org/foo/foo.parent/$%7Bparent.project.version%7D/org.foo.parent-$%7Bparent.project.version%7D.pom
{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.


> [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
>              Labels: regression
>
> 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 
> com.klopotek.wco:com.klopotek.wco.api:[unknown-version]: Failure to find 
> com.klopotek.wco:com.klopotek.wco.parent:pom:${parent.project.version} in 
> http://10.17.36.158:8081/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)

Reply via email to