History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: MPANNOUNCEMENT-21
Type: Bug Bug
Status: Reopened Reopened
Priority: Critical Critical
Assignee: Unassigned
Reporter: dion gillard
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Announcement Plugin

Plugin causes site to fail during processing of xdoc plugin's downloads.jelly

Created: 18/Jun/07 12:41 AM   Updated: 18/Jun/07 01:33 AM
Component/s: None
Affects Version/s: 1.4.1
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Windows XP, Maven 1.1-RC1, Plugin version 1.4.2


 Description  « Hide
The xdoc plugin calls <attainGoal name="announcement:generate-all"/> during it's generation of reports from the POM.

This causes announcement:check-version to run and fail, if a project has a currentVersion not listed in the versions stanza.

This is very common, especially with x.y-SNAPSHOT as the currentVersion.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Lukas Theussl - 18/Jun/07 12:58 AM
Use maven.announcement.lenient=true, see MPANNOUNCEMENT-19.

dion gillard - 18/Jun/07 12:59 AM
This can be fixed by providing

maven.announcement.lenient=true

But, still, MPANNOUNCEMENT-19 is a compatibility-breaking change.


dion gillard - 18/Jun/07 01:02 AM
Why is breaking compatibility acceptable?
Why not default it to true and allow those that want the feature to set it to false?

I personally don't see the reasoning. Got an email discussion thread for me to read up on the history?


Lukas Theussl - 18/Jun/07 01:17 AM
This was done before I joined the Maven team, I don't know the history. I was not aware of a compatibility problem though, Felipe's comments at MPANNOUNCEMENT-19 seem to indicate that he took care of that. I'll check.

Lukas Theussl - 18/Jun/07 01:33 AM
Confirming that a build succeeds with m1.0.2 (announcement-plugin-1.3), but fails with 11rc1 if lenient is not set.

I don't feel like fixing this for m11-final though, I'd just document it as a compat problem...