Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
3.0.0
-
None
-
None
-
None
Description
In situations where a local release of a snapshot must be made (i.e. for someone who does not have commit rights and needs to create a version that does not get clobbered every time Hudson runs), the use of ${project.version} in POMs causes problems. This is because parent POMs (and their descendants) will substitute the version of the locally released version throughout the ancestor tree, and obviously those versions do not exist.
I can't think of a way around this other than to not use ${project.version}. Release plugin should be able to manage this properly, no?