Skip to content

Commit

Permalink
[enhance] Add definition of addSourceDirs to check mojo
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Nov 11, 2024
1 parent 1ef0895 commit c7999c7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ abstract class BaseViolationCheckMojo extends AbstractMojo implements SpotBugsPl
@Parameter(defaultValue = 'false', property = 'spotbugs.includeTests')
boolean includeTests

/** Run Spotbugs with -sourcepath parameter populated with the known source roots. */
@Parameter(defaultValue = "false", property = "spotbugs.addSourceDirs")
boolean addSourceDirs

/** List of artifacts this plugin depends on. Used for resolving the Spotbugs core plugin. */
@Parameter(property = 'plugin.artifacts', readonly = true, required = true)
List pluginArtifacts
Expand Down

0 comments on commit c7999c7

Please sign in to comment.