Narrow down VersionFilterAnalyzer scope (original) (raw)
Context
The VersionFilterAnalyzer JavaDoc states the following:
This analyzer attempts to filter out erroneous version numbers collected. Initially, this will focus on JAR files that contain a POM version number that matches the file name - if identified all other version information will be removed.
Despite this intention, it analyzes all dependencies, whatever type they are. We would like to down its responsibility to what is stated in the JavaDoc.
Discussed during #8352
Acceptance criteria
- the
VersionFilterAnalyzerextendsAbstractFileTypeAnalyzer - only jar files that contain a POM version number that matches the file name are analyzed by the analyzer