[ 
https://jira.codehaus.org/browse/MVERSIONS-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285656#comment-285656
 ] 

Yongjun Rong commented on MVERSIONS-134:
----------------------------------------

I'm not talking about parent project. This issue is with the parent/child 
module in one refactor.  As I described in the ticket, I have properties 
defined in one refactor in the parent pom, but it was used in the same refactor 
in the child pom.The versions plugin cannot update the property correctly. I 
had this fixes in my local. It worked for more than one year since I patched it.
                
> Cannot update properties dependencies when the property is defined in the 
> super module and refered in the sub-module.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: MVERSIONS-134
>                 URL: https://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, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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