Maven 1.x Announcement Plugin
  1. Maven 1.x Announcement Plugin
  2. MPANNOUNCEMENT-21

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

    Details

    • Type: Bug Bug
    • Status: Reopened Reopened
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows XP, Maven 1.1-RC1, Plugin version 1.4.2
    • Number of attachments :
      0

      Description

      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.

        Activity

        Hide
        Lukas Theussl added a comment -

        Use maven.announcement.lenient=true, see MPANNOUNCEMENT-19.

        Show
        Lukas Theussl added a comment - Use maven.announcement.lenient=true, see MPANNOUNCEMENT-19 .
        Hide
        dion gillard added a comment -

        This can be fixed by providing

        maven.announcement.lenient=true

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

        Show
        dion gillard added a comment - This can be fixed by providing maven.announcement.lenient=true But, still, MPANNOUNCEMENT-19 is a compatibility-breaking change.
        Hide
        dion gillard added a comment -

        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?

        Show
        dion gillard added a comment - 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?
        Hide
        Lukas Theussl added a comment -

        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.

        Show
        Lukas Theussl added a comment - 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.
        Hide
        Lukas Theussl added a comment -

        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...

        Show
        Lukas Theussl added a comment - 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...

          People

          • Assignee:
            Unassigned
            Reporter:
            dion gillard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: