fixed bug that might contribute to issue #189

This commit is contained in:
Jeremy Long
2015-09-05 06:48:00 -04:00
parent 49736a87aa
commit 1f0e789575

View File

@@ -441,8 +441,9 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
}
final Object obj = current.getContextValue(getDataFileContextKey());
if (obj != null) {
if (obj instanceof File) {
return (File) obj;
if (obj instanceof String) {
File f = new File((String) obj);
return f;
}
} else {
if (getLog().isDebugEnabled()) {