Skip to content

Database defrag runs even if no updates #5440

@karstenspang

Description

@karstenspang

Describe the bug
The database defrag is done, even if the database was not updated. This makes the build take about 4 seconds longer for each module. In my project, dependency-check is run four times; check of three modules, and an aggregate report.

Version of dependency-check used
The problem occurs using version 8.0.2 of the maven plugin

Log file
log from the aggregate report

To Reproduce
Run the build twice, shortly after each other.

Expected behavior
The database defrag is run only after updates to the database, like it was in earlier version, e.g. 7.4.4.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions