Skip to content

Commit

Permalink
fix outputDirectory not work at running spotbugs:spotbugs goal
Browse files Browse the repository at this point in the history
  • Loading branch information
exiahuang committed May 26, 2024
1 parent f1ac967 commit f22809b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {

log.debug("****** SpotBugsMojo executeSpotbugs *******")

File htmlTempFile = new File("${project.build.directory}/spotbugs.html")
File htmlTempFile = new File("${outputDirectory}/spotbugs.html")
if (htmlOutput) {
forceFileCreation(htmlTempFile)
}
Expand Down

0 comments on commit f22809b

Please sign in to comment.