mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 00:03:43 +01:00
removed the logFile as it is no longer used
Former-commit-id: 51466302d3697dcb07673493cd33776a4bd395c3
This commit is contained in:
@@ -109,14 +109,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
*/
|
||||
@Parameter(readonly = true, required = true, property = "reactorProjects")
|
||||
private List<MavenProject> reactorProjects;
|
||||
/**
|
||||
* The path to the verbose log.
|
||||
*/
|
||||
@SuppressWarnings("CanBeFinal")
|
||||
@Parameter(property = "logFile", defaultValue = "")
|
||||
private String logFile = null;
|
||||
|
||||
//"project.reporting.outputDirectory"
|
||||
/**
|
||||
* The output directory. This generally maps to "target".
|
||||
*/
|
||||
@@ -125,7 +118,6 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
/**
|
||||
* Specifies the destination directory for the generated Dependency-Check report. This generally maps to "target/site".
|
||||
*/
|
||||
//Parameter(property = "reportOutputDirectory", defaultValue = "${project.reporting.outputDirectory}", required = true)
|
||||
@Parameter(property = "project.reporting.outputDirectory", required = true)
|
||||
private File reportOutputDirectory;
|
||||
/**
|
||||
@@ -598,12 +590,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
* @throws DatabaseException thrown if there is a database exception
|
||||
*/
|
||||
protected Engine initializeEngine() throws DatabaseException {
|
||||
final InputStream in = BaseDependencyCheckMojo.class
|
||||
.getClassLoader().getResourceAsStream(LOG_PROPERTIES_FILE);
|
||||
LogUtils.prepareLogger(in, logFile);
|
||||
|
||||
populateSettings();
|
||||
|
||||
return new Engine(this.project,
|
||||
this.reactorProjects);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user