Skip to content

Commit

Permalink
Consistently use MavenReport#getReportOutputDirectory()
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Nov 17, 2023
1 parent c16ec94 commit ceac0bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,21 +187,6 @@ protected boolean isEmpty(Collection<?> coll) {
return coll == null || coll.isEmpty();
}

@Override
protected String getOutputDirectory() {
return outputDirectory.getAbsolutePath();
}

@Override
public File getReportOutputDirectory() {
return outputDirectory;
}

@Override
public void setReportOutputDirectory(File reportOutputDirectory) {
this.outputDirectory = reportOutputDirectory;
}

@Override
protected MavenProject getProject() {
return project;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public boolean canGenerateReport() {
@Override
public void executeReport(Locale locale) {
try {
copyResources(new File(getOutputDirectory()));
copyResources(getReportOutputDirectory());
} catch (IOException e) {
getLog().error("Cannot copy resources", e);
}
Expand Down

0 comments on commit ceac0bf

Please sign in to comment.