You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/08/09 18:36:00 UTC

[jira] [Created] (SLING-11523) Replace scannotation and asm by classgraph

Konrad Windszus created SLING-11523:
---------------------------------------

             Summary: Replace scannotation and asm by classgraph
                 Key: SLING-11523
                 URL: https://issues.apache.org/jira/browse/SLING-11523
             Project: Sling
          Issue Type: Improvement
          Components: Maven Plugins and Archetypes
            Reporter: Konrad Windszus
             Fix For: Sling Maven Plugin 2.4.4


Currently for goal {{generate-adapter-metadata}} the outdated [Scannotation Library|http://scannotation.sourceforge.net/] is used which received its last update in 2013. In addition also inspecting the class files with an additional library (like ASM) is necessary to get the actual field values.

Instead we should use https://github.com/classgraph/classgraph to scan for annotations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)