Cannot update properties dependencies when the property is defined in the super 
module and refered in the sub-module.
---------------------------------------------------------------------------------------------------------------------

                 Key: MVERSIONS-134
                 URL: http://jira.codehaus.org/browse/MVERSIONS-134
             Project: Maven 2.x Versions Plugin
          Issue Type: Bug
            Reporter: Yongjun Rong


I have a multiple module project as below:
--pom.xml
--sub1
--sub1/pom.xml
--sub2
--sub2/pom.xml

When a property defined in the super module pom.xml as below:
{noformat}
<project>
...
    <properties>
           <test-property-version>1.1.1</test-property-version>
           ....
    </properties>
....
    <modules>
                <module>sub1</module>
                <module>sub2</module>
    </modules>
...
</project>
It is used as below in sub1/pom.xml and sub2/pom.xml

<project>
...
        <dependency>
            <groupId>org.super</groupId>
            <artifactId>sub1</artifactId>
            <version>${test-property-version}</version>
        </dependency>
...
</project>
{noformat}

The versions plugin goal "update-properties and display-property-updates" 
cannot find it and update it correctly.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to