Julian Sedding created FELIX-4063:
-------------------------------------

             Summary: Avoid warnings when using @SlingServlet and @SlingFilter 
annotations
                 Key: FELIX-4063
                 URL: https://issues.apache.org/jira/browse/FELIX-4063
             Project: Felix
          Issue Type: Bug
          Components: Maven SCR Plugin
    Affects Versions: scr annotations 1.9.2
            Reporter: Julian Sedding
            Priority: Minor


FELIX-4033 introduced build-time warning messages for private properties 
defined for components with metatype = false.

The @SlingServlet and @SlingFilter annotations set several properties to be 
private, thus causing warnings like the following to be reported if metatype = 
false (the default value).

[WARNING] /path/TheServlet.java [0:0]: Property sling.servlet.methods in class 
TheServlet is set as private. This is redundant as no metatype will be 
generated.

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

Reply via email to