Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: announcement
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Currently the url parameter to the AnnouncementMojo is required. This is not suitable for all projects.

      As far as I can tell the url parameter is only used for two things:

      1. Act as a stand-in value for the introduction parameter, if that is not supplied
      2. Forwarded to the Velocity template for use there

      Our use case is that we have a project that doesn't have a url. We still want to email an announcement when a new version is released. We are forced to enter a dummy url in our plugin configuration to get around this.

      I'd like to remove the @required annotation from AnnouncementMojo.url. Are there any objections to this?

      Projects already using the plugin will not be affected, because they already have a url specified in their configuration.

        Activity

        Hide
        Dennis Lundberg added a comment -

        Fixed in r824891.

        Show
        Dennis Lundberg added a comment - Fixed in r824891 .

          People

          • Assignee:
            Dennis Lundberg
            Reporter:
            Dennis Lundberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: