mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-05-01 04:34:45 +02:00
removed cleanup in favor of close from autoclosable
This commit is contained in:
@@ -16,4 +16,4 @@
|
||||
# Copyright (c) 2014 Jeremy Long. All Rights Reserved.
|
||||
#
|
||||
|
||||
invoker.goals = install ${project.groupId}:${project.artifactId}:${project.version}:check -X -T 1
|
||||
invoker.goals = install ${project.groupId}:${project.artifactId}:${project.version}:check -X -T 12
|
||||
|
||||
@@ -150,7 +150,7 @@ public class AggregateMojo extends BaseDependencyCheckMojo {
|
||||
if (exCol != null && this.isFailOnError()) {
|
||||
throw new MojoExecutionException("One or more exceptions occurred during dependency-check analysis", exCol);
|
||||
}
|
||||
engine.cleanup();
|
||||
engine.close();
|
||||
getSettings().cleanup();
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ public class CheckMojo extends BaseDependencyCheckMojo {
|
||||
throw new MojoExecutionException("One or more exceptions occurred during dependency-check analysis", exCol);
|
||||
}
|
||||
}
|
||||
engine.cleanup();
|
||||
engine.close();
|
||||
}
|
||||
getSettings().cleanup();
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ public class BaseDependencyCheckMojoTest extends BaseTest {
|
||||
Assume.assumeNoException(ex);
|
||||
}
|
||||
assertFalse(engine.getDependencies().length == 0);
|
||||
engine.cleanup();
|
||||
engine.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user