mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 18:41:44 +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)) {
|
if (isMultiModule(proj)) {
|
||||||
continue;
|
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()) {
|
if (outputFile.exists()) {
|
||||||
files.add(outputFile);
|
files.add(outputFile);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user