cdi-unit / cdi-unit

Unit testing for CDI applications
http://cdi-unit.github.io/cdi-unit/
Apache License 2.0
95 stars 57 forks source link

FastClasspathScanner is outdated -- consider porting to ClassGraph #141

Closed classgraph-robot closed 6 years ago

classgraph-robot commented 6 years ago

Your project, BrynCooke/cdi-unit, depends on the outdated library FastClasspathScanner in the following source files:

FastClasspathScanner has been significantly reworked since the version your code depends upon:

ClassGraph is a significantly more robust library than FastClasspathScanner, and is more future-proof. All future development work will be focused on ClassGraph, and FastClasspathScanner will see no future development.

Please consider porting your code over to the new ClassGraph API, particularly if your project is in production or has downstream dependencies:

Feel free to close this bug report if this code is no longer in use. (You were sent this bug report because your project depends upon FastClasspathScanner, and has been starred by 70 users. Apologies if this bug report is not helpful.)

seanf commented 6 years ago

Thanks @classgraph-robot but you're a day late and a dollar short! :-) https://github.com/BrynCooke/cdi-unit/pull/139 was merged a few hours earlier.

lukehutch commented 6 years ago

@seanf you're way ahead of my robot :) I figured this would catch a few people already on the ball. Good job.

seanf commented 6 years ago

@lukehutch You might want to add something about try-with-resources and disableNestedJarScanning() in the migration guide: https://github.com/classgraph/classgraph/wiki/Porting-FastClasspathScanner-code-to-ClassGraph (I found them by reading release notes.)

lukehutch commented 6 years ago

Good suggestion, will do.