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

Stephen Connolly edited comment on MVERSIONS-115 at 12/12/11 5:10 AM:
----------------------------------------------------------------------

May be related to MVERSIONS-131
                
      was (Author: stephenconnolly):
    MVERSIONS-131 describes this issue better
                  
> Missing version update inside dependency
> ----------------------------------------
>
>                 Key: MVERSIONS-115
>                 URL: https://jira.codehaus.org/browse/MVERSIONS-115
>             Project: Maven 2.x Versions Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: maven3-beta-1
>            Reporter: Marcus Holl
>             Fix For: Backlog
>
>         Attachments: missingversionupdate.zip
>
>
> The scenario is:
> 1.) Parent project which defines a version
> 2.) Child project that does not define an explicit version (version is 
> inherited from the parent)
> 3.) Another project that holds a reference to the child project mentioned 
> before in the dependency section. Inside that dependency we have to specify 
> the version of the project that is referenced. Since the version of that 
> project is inherited from the parent project that version is the version of 
> the parent project.
> 4.) An aggregator project that collects the projects 1.) to 3.).
> Now we change the version of the parent project.
> The expected result is: The version inside the dependency definition inside 
> project 3.) is updated with the new version that was applied to the parent.
> The result is: The version inside the dependency definition inside project 
> 3.) is not updated with the new version that was applied to the parent.
> The call that was invoked inside the aggregator project was: mvn 
> org.codehaus.mojo:versions-maven-plugin:1.2:set -DnewVersion=1.0.9-SNAPSHOT 
> -DgroupId=dependencysimple -DartifactId=parent
> Attached there is a zip file (missingversionupdate.zip) that outlines that 
> behaviour:
> - Inside /initial_state we have the status before any version change.
> - Inside /expected we have that expected result
> - Inside /result we have the output of the call mentioned above.
> Best regards,
> Marcus

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