swagger-maven-plugin icon indicating copy to clipboard operation
swagger-maven-plugin copied to clipboard

feat: replace reflections lib with classgraph

Open CarstenEnglert opened this issue 2 years ago • 2 comments

The reflections library is no longer maintained. There is no point in employing workarounds to the "SubTypesScanner not found issue" (for reference, one would have to build the reflections differently like here).

Instead, do the same as other libraries do: move to classgraph instead. It's faster, still being maintained, and doesn't have this annoying bug. Extra upside: no need to change the context classloader. classgraph has a more explicit classloader handling than reflections.

This fixes #96.

CarstenEnglert avatar Jan 03 '24 14:01 CarstenEnglert

Thanks for the contribution. I am not using the plugin in my daily work anymore but I'll try to find the time to create a new release as soon as possible.

langecode avatar Jan 05 '24 06:01 langecode

Hi @langecode,

Sorry to bother you again. Just wondering whether I need to create the new release myself (for use by collaborators) or do you have a rough idea, when you have time to look at this and potentially create a new official release?

CarstenEnglert avatar Jan 16 '24 09:01 CarstenEnglert