Maven 1.x Announcement Plugin

Failing when the version is missing should be optional

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3
  • Fix Version/s: 1.4
  • Component/s: None
  • Labels:
    None
  • Testcase included:
    yes
  • Number of attachments :
    0

Description

The announcement goal fails if the current version is not added on the <versions> element. Although this is nice, sometimes it might not be convenient (for instance, you might have a project made of several sub-projects and you would want to run the announcement on each sub-project using multi-project).

So, we should add a new property, like maven.announcement.versions.ignore, whose default value is false (to keep backwards compatibility).

Activity

Hide
Felipe Leme added a comment -

On a second thought, there are more places where those restrictions should be ignored - for instance, if the project does not have a changes.xml. So, we better add a generic maven.announcement.lenient property instead....

Show
Felipe Leme added a comment - On a second thought, there are more places where those restrictions should be ignored - for instance, if the project does not have a changes.xml. So, we better add a generic maven.announcement.lenient property instead....

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
1h
Original Estimate - 1 hour
Remaining:
1h
Remaining Estimate - 1 hour
Logged:
Not Specified
Time Spent - Not Specified