Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0.4
-
Fix Version/s: None
-
Component/s: Inheritance and Interpolation, POM
-
Labels:None
-
Environment:Windows 2000
-
Complexity:Intermediate
-
Number of attachments :
Description
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 !