[ https://issues.apache.org/jira/browse/MCHECKSTYLE-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14939374#comment-14939374
]
Dennis Lundberg commented on MCHECKSTYLE-275:
---------------------------------------------
For the sake of SemVer, I would propose that we wait until version 3.0.0 to do this change.
> remove old deprecated parameters from report
> --------------------------------------------
>
> Key: MCHECKSTYLE-275
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-275
> Project: Maven Checkstyle Plugin
> Issue Type: Task
> Components: checkstyle:checkstyle
> Affects Versions: 2.13
> Reporter: Hervé Boutemy
> Assignee: Michael Osipov
> Priority: Minor
>
> there are a bunch of parameters that are deprecated since 2005 (I don't even tried to
find the version form the plugin: it was before 2.0):
> - format: Use configLocation instead
> - propertiesFile: Use propertiesLocation instead
> - propertiesURL: Use propertiesLocation instead
> - headerFile: Use headerLocation instead
> - suppressionsFile: Use suppressionsLocation instead
> - packageNamesFile: Use packageNamesLocation instead
> removing these will clean up source code
> in fact, we should have a general policy for parameter deprecation:
> 1. add a warning when detecting deprecated parameter usage exactly at the same time as
deprecating the parameter,
> 2. a few versions later (no hurry), change warning to failure
> 3. then a few versions later remove the code
> for this case, I intend to go to step 3 directly if nobody is against it
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|