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

Annotations in superclasses are not found if an intermediate class is not annotated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0
    • None

    Description

      My concrete mojo class extends an intermediate class which in turn extends an abstract mojo that defines parameters. Those parameters aren't being picked up when inheritance is indirect.

      i.e.,

      • A: Defines a @Parameter paramA
      • B extends A
      • C extends B, defines @Parameter paramC

      C's results only includes paramC.

      Adding a dummy @Parameter to B means C sees parameters from all three classes.

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              joewalton Joseph Walton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: