Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
If the check-version fail because the current version is not set at xdocs/changes.xml, maven shows the following message:
The release '' could not be found in change log
Instead of:
The release 'x.y.z' could not be found in change log
(where x.y.z is the project's current version.
The fix is simple: it's just a matter of changing line 70 of plugin.jelly, from:
<ant:fail>The release '${maven.announcement.version}' could not be found in change log</ant:fail>
to:
<ant:fail>The release '${versionVariable}' could not be found in change log</ant:fail>
Anyway, I'm sending a patch for that...
Felipe
Patch with the fix.