Maven 2 & 3

Version not inherited for SNAPSHOT version

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0.4
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    Windows 2000
  • Complexity:
    Intermediate
  • Number of attachments :
    2

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 !

  1. module1.pom
    02/Nov/06 10:03 AM
    0.4 kB
    Stéphane Veyret
  2. parent.pom
    02/Nov/06 10:03 AM
    0.7 kB
    Stéphane Veyret

Issue Links

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: