removed the logFile as it is no longer used

Former-commit-id: 51466302d3697dcb07673493cd33776a4bd395c3
This commit is contained in:
Jeremy Long
2015-06-19 06:41:33 -04:00
parent fce742910e
commit 572418a2f5

View File

@@ -109,14 +109,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
*/ */
@Parameter(readonly = true, required = true, property = "reactorProjects") @Parameter(readonly = true, required = true, property = "reactorProjects")
private List<MavenProject> 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". * 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". * 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) @Parameter(property = "project.reporting.outputDirectory", required = true)
private File reportOutputDirectory; private File reportOutputDirectory;
/** /**
@@ -598,12 +590,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
* @throws DatabaseException thrown if there is a database exception * @throws DatabaseException thrown if there is a database exception
*/ */
protected Engine initializeEngine() throws DatabaseException { protected Engine initializeEngine() throws DatabaseException {
final InputStream in = BaseDependencyCheckMojo.class
.getClassLoader().getResourceAsStream(LOG_PROPERTIES_FILE);
LogUtils.prepareLogger(in, logFile);
populateSettings(); populateSettings();
return new Engine(this.project, return new Engine(this.project,
this.reactorProjects); this.reactorProjects);
} }