mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 00:03:43 +01:00
added logging
Former-commit-id: ab39408750a77fb70d05b7115bf6c6ace4f7ff52
This commit is contained in:
@@ -54,6 +54,11 @@ public class Engine extends org.owasp.dependencycheck.Engine {
|
||||
public Engine(MavenProject project) throws DatabaseException {
|
||||
this.currentProject = project;
|
||||
final MavenProject parent = getRootParent();
|
||||
if (parent != null) {
|
||||
LOGGER.fine(String.format("Checking root project, %s, if updates have already been completed", parent.getArtifactId()));
|
||||
} else {
|
||||
LOGGER.fine("Checking root project, null, if updates have already been completed");
|
||||
}
|
||||
if (parent != null && parent.getContextValue("dependency-check-data-was-updated") != null) {
|
||||
System.setProperty(Settings.KEYS.AUTO_UPDATE, Boolean.FALSE.toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user