Skip to content

Narrow down VersionFilterAnalyzer scope #8356

@nhumblot

Description

@nhumblot

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 VersionFilterAnalyzer extends AbstractFileTypeAnalyzer
  • only jar files that contain a POM version number that matches the file name are analyzed by the analyzer

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions