[ 
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...
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.

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

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.


> [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...
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to