[ http://jira.codehaus.org/browse/MNG-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenney Westerhof closed MNG-2647. --------------------------------- Resolution: Duplicate > Version not inherited for SNAPSHOT version > ------------------------------------------ > > Key: MNG-2647 > URL: http://jira.codehaus.org/browse/MNG-2647 > Project: Maven 2 > Issue Type: Bug > Components: Inheritance and Interpolation, POM > Affects Versions: 2.0.4 > Environment: Windows 2000 > Reporter: Stéphane Veyret > Fix For: Reviewed Pending Version Assignment > > Attachments: module1.pom, parent.pom > > > I have the parent module which defines 2 modules. In the modules, the version > is inherited from the parent. If I am working on a SNAPSHOT version, the > child modules get the timestamp version instead of what was given to parent. > If you have a look at the attachements, the problem is that module1 version > in deployed pom will be something like 1234567.123456-7 and when searching > for dependent module2 version, will fail because it will try to download a > released version 1234567.123456-7 of module 2. > Only this seem to be a bug to me, but this is even stranger considering the > version of module2 is defined in dependecyManagement of parent pom with > ${project.version}. This project.version is correct (3.4.0_SNAPSHOT) in > parent pom ! -- 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