Joseph Walton created MPLUGIN-206:
-------------------------------------

             Summary: Annotations in superclasses are not found if an 
intermediate class is not annotated
                 Key: MPLUGIN-206
                 URL: https://jira.codehaus.org/browse/MPLUGIN-206
             Project: Maven 2.x Plugin Tools
          Issue Type: Bug
          Components: maven-plugin-annotations
    Affects Versions: 3.0
            Reporter: Joseph Walton


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to