@@ -251,7 +251,7 @@ public abstract class AbstractCheckstyleReport
251
251
252
252
/**
253
253
* Specifies the location of the source directory to be used for Checkstyle.
254
- *
254
+ *
255
255
* @deprecated instead use {@link #sourceDirectories}. For version 3.0.0, this parameter is only defined to break
256
256
* the build if you use it!
257
257
*/
@@ -267,7 +267,7 @@ public abstract class AbstractCheckstyleReport
267
267
// Compatibility with all Maven 3: default of 'project.compileSourceRoots' is done manually because of MNG-5440
268
268
@ Parameter
269
269
private List <String > sourceDirectories ;
270
-
270
+
271
271
/**
272
272
* Specifies the location of the test source directory to be used for Checkstyle.
273
273
*
@@ -278,7 +278,7 @@ public abstract class AbstractCheckstyleReport
278
278
@ Parameter
279
279
@ Deprecated
280
280
private File testSourceDirectory ;
281
-
281
+
282
282
/**
283
283
* Specifies the location of the test source directories to be used for Checkstyle.
284
284
* Default value is <code>${project.testCompileSourceRoots}</code>.
@@ -355,8 +355,11 @@ public abstract class AbstractCheckstyleReport
355
355
356
356
/**
357
357
* Specifies if the RSS should be enabled or not.
358
+ *
359
+ * @deprecated This feature will be removed in a future version.
358
360
*/
359
- @ Parameter ( property = "checkstyle.enable.rss" , defaultValue = "true" )
361
+ @ Parameter ( property = "checkstyle.enable.rss" , defaultValue = "false" )
362
+ @ Deprecated
360
363
private boolean enableRSS ;
361
364
362
365
/**
@@ -397,7 +400,7 @@ public abstract class AbstractCheckstyleReport
397
400
/**
398
401
* When using custom treeWalkers, specify their names here so the checks
399
402
* inside the treeWalker end up the the rule-summary.
400
- *
403
+ *
401
404
* @since 2.11
402
405
*/
403
406
@ Parameter
@@ -406,7 +409,7 @@ public abstract class AbstractCheckstyleReport
406
409
/**
407
410
* Specifies whether modules with a configured severity of <code>ignore</code> should be omitted during Checkstyle
408
411
* invocation.
409
- *
412
+ *
410
413
* @since 3.0.0
411
414
*/
412
415
@ Parameter ( defaultValue = "false" )
@@ -466,6 +469,7 @@ public abstract class AbstractCheckstyleReport
466
469
* @since 2.4
467
470
*/
468
471
@ Component ( role = CheckstyleRssGenerator .class , hint = "default" )
472
+ @ Deprecated
469
473
protected CheckstyleRssGenerator checkstyleRssGenerator ;
470
474
471
475
/**
@@ -602,7 +606,7 @@ private List<Artifact> collectArtifacts( String hint )
602
606
private List <Artifact > getCheckstylePluginDependenciesAsArtifacts ( Map <String , Plugin > plugins , String hint )
603
607
{
604
608
List <Artifact > artifacts = new ArrayList <>();
605
-
609
+
606
610
Plugin checkstylePlugin = plugins .get ( plugin .getGroupId () + ":" + plugin .getArtifactId () );
607
611
if ( checkstylePlugin != null )
608
612
{
0 commit comments