mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-28 03:51:33 +01:00
@@ -1072,7 +1072,9 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
|||||||
"org.owasp.dependencycheck.dependency.VulnerabilityComparator",
|
"org.owasp.dependencycheck.dependency.VulnerabilityComparator",
|
||||||
"org.owasp.dependencycheck.dependency.VulnerableSoftware",
|
"org.owasp.dependencycheck.dependency.VulnerableSoftware",
|
||||||
"org.owasp.dependencycheck.data.cpe.IndexEntry");
|
"org.owasp.dependencycheck.data.cpe.IndexEntry");
|
||||||
ret = (List<Dependency>) ois.readObject();
|
@SuppressWarnings("unchecked")
|
||||||
|
final List<Dependency> depList = (List<Dependency>) ois.readObject();
|
||||||
|
ret = depList;
|
||||||
} catch (FileNotFoundException ex) {
|
} catch (FileNotFoundException ex) {
|
||||||
//TODO fix logging
|
//TODO fix logging
|
||||||
getLog().error("", ex);
|
getLog().error("", ex);
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ import org.slf4j.helpers.MessageFormatter;
|
|||||||
* @author colezlaw
|
* @author colezlaw
|
||||||
*/
|
*/
|
||||||
public class MavenLoggerAdapter extends MarkerIgnoringBase {
|
public class MavenLoggerAdapter extends MarkerIgnoringBase {
|
||||||
|
/**
|
||||||
|
* The serial version UID for serialization.
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A reference to the Maven log.
|
* A reference to the Maven log.
|
||||||
|
|||||||
Reference in New Issue
Block a user