Hello maven users,

Should maven release plug-in handle parent.version references in
dependencies? If yes, then there is a bug in recently released 2.0-beta-9
version of the plug-in, release:prepare breaks if there is a dependency with
version set to ${parent.version}.

E.g. If there is a multi-module maven project P with version 0.0.1-SNAPSHOT,
and if there are two child modules A and B of the project P, both with
version set to ${parent.version}, and if module B depends on module A and
expresses that dependency using version ${parent.version}, release:prepare
will break stating that "The version could not be updated:
${parent.version}"

Regards,
Stevo.

Reply via email to