File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/main/groovy/org/codehaus/mojo/spotbugs Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -857,10 +857,10 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
857
857
}
858
858
859
859
if (! sarifOutput) {
860
- args << " -xml:withMessages"
860
+ args << " -xml:withMessages= " + tempFile . getAbsolutePath()
861
861
}
862
862
else {
863
- args << " -sarif"
863
+ args << " -sarif= " + tempFile . getAbsolutePath()
864
864
}
865
865
866
866
args << " -auxclasspathFromInput"
@@ -956,10 +956,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
956
956
args << maxRank
957
957
}
958
958
959
- args << " -output"
960
- args << tempFile. getAbsolutePath()
961
-
962
-
963
959
if (classFilesDirectory. exists() && classFilesDirectory. isDirectory()) {
964
960
log. debug(" Adding to Source Directory ->" + classFilesDirectory. absolutePath)
965
961
args << classFilesDirectory. absolutePath
You can’t perform that action at this time.
0 commit comments