updated settings cleanup to prevent issue with the update process

Former-commit-id: 07122c535d47f3f414659013555fa826ce0e9b9c
This commit is contained in:
Jeremy Long
2014-05-03 10:55:15 -04:00
parent 1ddb468a08
commit e58b7782ac
6 changed files with 10 additions and 8 deletions

View File

@@ -953,7 +953,7 @@ public class DependencyCheckMojo extends AbstractMojo implements MavenMultiPageR
"Unable to connect to the dependency-check database; analysis has stopped");
logger.log(Level.FINE, "", ex);
} finally {
Settings.cleanup();
Settings.cleanup(true);
if (engine != null) {
engine.cleanup();
}
@@ -994,7 +994,7 @@ public class DependencyCheckMojo extends AbstractMojo implements MavenMultiPageR
"Unable to connect to the dependency-check database; analysis has stopped");
logger.log(Level.FINE, "", ex);
} finally {
Settings.cleanup();
Settings.cleanup(true);
if (engine != null) {
engine.cleanup();
}