Skip to content

Commit a446d71

Browse files
committed
[ci] Cleanup javadocs
1 parent 8f1f26a commit a446d71

File tree

1 file changed

+7
-67
lines changed

1 file changed

+7
-67
lines changed

src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy

Lines changed: 7 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
7474
@Parameter(defaultValue = "false", property = "spotbugs.sarifOutput", required = true)
7575
boolean sarifOutput
7676

77+
/**
78+
* Sarif full Path used with sarif.
79+
*
80+
* @since 4.3.1
81+
*/
7782
@Parameter(defaultValue = "false", property = "spotbugs.sarifFullPath", required = true)
7883
boolean sarifFullPath
7984

@@ -87,7 +92,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
8792

8893

8994
/**
90-
* Set the name of the output SARIF file produced
95+
* Set the name of the output SARIF file produced.
9196
*
9297
* @since 4.7.2.2
9398
*/
@@ -142,28 +147,24 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
142147

143148
/**
144149
* Directory containing the test class files for Spotbugs to analyze.
145-
*
146150
*/
147151
@Parameter(defaultValue = '${project.build.testOutputDirectory}', required = true)
148152
File testClassFilesDirectory
149153

150154
/**
151155
* Location of the Xrefs to link to.
152-
*
153156
*/
154157
@Parameter(defaultValue = '${project.reporting.outputDirectory}/xref')
155158
File xrefLocation
156159

157160
/**
158161
* Location of the Test Xrefs to link to.
159-
*
160162
*/
161163
@Parameter(defaultValue = '${project.reporting.outputDirectory}/xref-test')
162164
File xrefTestLocation
163165

164166
/**
165167
* The directories containing the sources to be compiled.
166-
*
167168
*/
168169
@Parameter(defaultValue = '${project.compileSourceRoots}', required = true, readonly = true)
169170
List compileSourceRoots
@@ -186,14 +187,12 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
186187

187188
/**
188189
* Run Spotbugs with -sourcepath parameter populated with the known source roots.
189-
*
190190
*/
191191
@Parameter(defaultValue = "false", property = "spotbugs.addSourceDirs")
192192
boolean addSourceDirs
193193

194194
/**
195195
* List of artifacts this plugin depends on. Used for resolving the Spotbugs core plugin.
196-
*
197196
*/
198197
@Parameter(property = "plugin.artifacts", required = true, readonly = true)
199198
List pluginArtifacts
@@ -207,14 +206,12 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
207206

208207
/**
209208
* The local repository, needed to download the coreplugin jar.
210-
*
211209
*/
212210
@Parameter(property = "localRepository", required = true, readonly = true)
213211
ArtifactRepository localRepository
214212

215213
/**
216214
* Remote repositories which will be searched for the coreplugin jar.
217-
*
218215
*/
219216
@Parameter(property = "project.remoteArtifactRepositories", required = true, readonly = true)
220217
List remoteArtifactRepositories
@@ -227,14 +224,12 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
227224

228225
/**
229226
* Maven Project.
230-
*
231227
*/
232228
@Parameter(property = "project", required = true, readonly = true)
233229
MavenProject project
234230

235231
/**
236232
* Encoding used for xml files. Default value is UTF-8.
237-
*
238233
*/
239234
@Parameter(defaultValue = "UTF-8", readonly = true)
240235
String xmlEncoding
@@ -259,7 +254,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
259254

260255
/**
261256
* Threshold of minimum bug severity to report. Valid values are High, Default, Low, Ignore, and Exp (for experimental).
262-
*
263257
*/
264258
@Parameter(defaultValue = "Default", property = "spotbugs.threshold")
265259
String threshold
@@ -272,119 +266,86 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
272266

273267
/**
274268
* Used to look up Artifacts in the remote repository.
275-
*
276269
*/
277270
@Component(role = RepositorySystem.class)
278271
RepositorySystem factory
279272

280273
/**
281-
* <p>
282274
* File name of the include filter. Only bugs in matching the filters are reported.
283-
* </p>
284-
*
285275
* <p>
286276
* Potential values are a filesystem path, a URL, or a classpath resource.
287-
* </p>
288-
*
289277
* <p>
290278
* This parameter is resolved as resource, URL, then file. If successfully
291279
* resolved, the contents of the configuration is copied into the
292280
* <code>${project.build.directory}</code>
293281
* directory before being passed to Spotbugs as a filter file.
294282
* It supports multiple files separated by a comma
295-
* </p>
296283
*
297284
* @since 1.0-beta-1
298285
*/
299286
@Parameter(property = "spotbugs.includeFilterFile")
300287
String includeFilterFile
301288

302289
/**
303-
* <p>
304290
* File name for include filter files. Only bugs in matching the filters are reported.
305-
* </p>
306-
*
307291
* <p>
308292
* Potential values are a filesystem path, a URL, or a classpath resource.
309-
* </p>
310-
*
311293
* <p>
312294
* This is an alternative to <code>&lt;includeFilterFile&gt;</code> which allows multiple
313295
* files to be specified as separate elements in a pom.
314-
* </p>
315-
*
316296
* <p>
317297
* This parameter is resolved as resource, URL, then file. If successfully
318298
* resolved, the contents of the configuration is copied into the
319299
* <code>${project.build.directory}</code>
320300
* directory before being passed to Spotbugs as a filter file.
321-
* </p>
322301
*
323302
* @since 4.7.1.0
324303
*/
325304
@Parameter(property = "spotbugs.includeFilterFiles")
326305
List includeFilterFiles
327306

328307
/**
329-
* <p>
330308
* File name of the exclude filter. Bugs matching the filters are not reported.
331-
* </p>
332-
*
333309
* <p>
334310
* Potential values are a filesystem path, a URL, or a classpath resource.
335-
* </p>
336-
*
337311
* <p>
338312
* This parameter is resolved as resource, URL, then file. If successfully
339313
* resolved, the contents of the configuration is copied into the
340314
* <code>${project.build.directory}</code>
341315
* directory before being passed to Spotbugs as a filter file.
342316
* It supports multiple files separated by a comma
343-
* </p>
344317
*
345318
* @since 1.0-beta-1
346319
*/
347320
@Parameter(property = "spotbugs.excludeFilterFile")
348321
String excludeFilterFile
349322

350323
/**
351-
* <p>
352324
* File name for exclude filter files. Bugs matching the filters are not reported.
353-
* </p>
354-
*
355325
* <p>
356326
* This is an alternative to <code>&lt;excludeFilterFile&gt;</code> which allows multiple
357327
* files to be specified as separate elements in a pom.
358-
* </p>
359-
*
360328
* <p>
361329
* This parameter is resolved as resource, URL, then file. If successfully
362330
* resolved, the contents of the configuration is copied into the
363331
* <code>${project.build.directory}</code>
364332
* directory before being passed to Spotbugs as a filter file.
365-
* </p>
366333
*
367334
* @since 4.7.1.0
368335
*/
369336
@Parameter(property = "spotbugs.excludeFilterFiles")
370337
List excludeFilterFiles
371338

372339
/**
373-
* <p>
374340
* File names of the baseline files. Bugs found in the baseline files won't be reported.
375-
* </p>
376-
*
377341
* <p>
378342
* Potential values are a filesystem path, a URL, or a classpath resource.
379-
* </p>
380-
*
381343
* <p>
382344
* This parameter is resolved as resource, URL, then file. If successfully
383345
* resolved, the contents of the configuration is copied into the
384346
* <code>${project.build.directory}</code>
385347
* directory before being passed to Spotbugs as a filter file.
386-
* </p>
387-
*
348+
* <p>
388349
* This is a comma-delimited list.
389350
*
390351
* @since 2.4.1
@@ -393,25 +354,17 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
393354
String excludeBugsFile
394355

395356
/**
396-
* <p>
397357
* File names of the baseline files. Bugs found in the baseline files won't be reported.
398-
* </p>
399-
*
400358
* <p>
401359
* Potential values are a filesystem path, a URL, or a classpath resource.
402-
* </p>
403-
*
404360
* <p>
405361
* This is an alternative to <code>&lt;excludeBugsFile&gt;</code> which allows multiple
406362
* files to be specified as separate elements in a pom.
407-
* </p>
408-
*
409363
* <p>
410364
* This parameter is resolved as resource, URL, then file. If successfully
411365
* resolved, the contents of the configuration is copied into the
412366
* <code>${project.build.directory}</code>
413367
* directory before being passed to Spotbugs as a filter file.
414-
* </p>
415368
*
416369
* @since 4.7.1.0
417370
*/
@@ -459,32 +412,23 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
459412
String omitVisitors
460413

461414
/**
462-
* <p>
463415
* The plugin list to include in the report. This is a comma-delimited list.
464-
* </p>
465-
*
466416
* <p>
467417
* Potential values are a filesystem path, a URL, or a classpath resource.
468-
* </p>
469-
*
470418
* <p>
471419
* This parameter is resolved as resource, URL, then file. If successfully
472420
* resolved, the contents of the configuration is copied into the
473421
* <code>${project.build.directory}</code>
474422
* directory before being passed to Spotbugs as a plugin file.
475-
* </p>
476423
*
477424
* @since 1.0-beta-1
478425
*/
479426
@Parameter(property = "spotbugs.pluginList")
480427
String pluginList
481428

482429
/**
483-
* <p>
484430
* Collection of PluginArtifact to work on. (PluginArtifact contains groupId, artifactId, version, type.)
485431
* See <a href="./usage.html#Using Detectors from a Repository">Usage</a> for details.
486-
* </p>
487-
*
488432
*
489433
* @since 2.4.1
490434
*/
@@ -586,9 +530,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
586530
int timeout
587531

588532
/**
589-
* <p>
590533
* The arguments to pass to the forked VM (ignored if fork is disabled).
591-
* </p>
592534
*
593535
* @since 2.4.1
594536
*/
@@ -618,9 +560,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
618560
String userPrefs
619561

620562
/**
621-
* <p>
622563
* System properties to set in the VM (or the forked VM if fork is enabled).
623-
* <p>
624564
*
625565
* @since 4.3.0
626566
*/

0 commit comments

Comments
 (0)