Affected version
head
Bug description
src/main/java/org/apache/maven/shared/dependency/analyzer/asm/DependencyClassFileVisitor.java
This is exactly the mistake checked exceptions were designed to prevent. Replace VisitClassException with a checked exception and add throws/catch blocks where needed.
It looks like this can be fixed without changing the public API.