Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-211

@Mojo annotations aren't inherited

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Not A Problem
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      We have a project where a mojo defined in one plugin module is inherited from in another. With Javadoc-style markup, the child class is also declared as an mojo. With @Mojo, the child class needs to re-declare @Mojo in order to be included in the plugin definition.

      I'm reporting this as 'trivial' priority. I've fixed it by copying those @Mojo annotations across.

      I wouldn't have a problem with WONTFIXing this. I think the new behaviour is clearer, and I'm not convinced that the previous behaviour was intentional or desirable. However, it is still a change.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joewalton Joseph Walton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: