mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 00:03:43 +01:00
corrected outputFile name to correctly use the target directory from project.getBuild().getDirectory()
Former-commit-id: 7ef2ca45e502e945e7356f9c63845eb4e7b532fc
This commit is contained in:
@@ -299,7 +299,8 @@ public abstract class ReportAggregationMojo extends AbstractMojo implements Mave
|
||||
if (isMultiModule(proj)) {
|
||||
continue;
|
||||
}
|
||||
File outputFile = new File(proj.getBasedir(), getDataFileName());
|
||||
//TODO can we get the path from the context?
|
||||
File outputFile = new File(proj.getBuild().getDirectory(), getDataFileName());
|
||||
if (outputFile.exists()) {
|
||||
files.add(outputFile);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user