[
https://issues.apache.org/jira/browse/MCHECKSTYLE-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15843541#comment-15843541
]
Hudson commented on MCHECKSTYLE-275:
------------------------------------
SUCCESS: Integrated in Jenkins build maven-plugins #8699 (See
[https://builds.apache.org/job/maven-plugins/8699/])
[MCHECKSTYLE-275] remove old deprecated parameters from report
Now that we're moving to the next major 3.0.0, the old deprecated parameters
from CheckstyleReport can be removed. The parameter packageNamesLocation,
although not officially deprecated, doesn't do anything since the upgrade to
Checkstyle 5.0 (circa 2009 in version 2.4 with r825243 in CHECKSTYLE-105) which
removed that support, and can safely be removed as well. (gboue:
[http://svn.apache.org/viewvc/?view=rev&rev=1780613])
* (edit)
maven-checkstyle-plugin/src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleReport.java
* (edit)
maven-checkstyle-plugin/src/site/apt/examples/custom-developed-checkstyle.apt.vm
* (edit)
maven-checkstyle-plugin/src/test/plugin-configs/custom-plugin-config.xml
* (edit)
maven-checkstyle-plugin/src/test/plugin-configs/dep-resolution-exception-plugin-config.xml
* (edit)
maven-checkstyle-plugin/src/test/plugin-configs/fail-on-error-plugin-config.xml
* (edit) maven-checkstyle-plugin/src/test/plugin-configs/min-plugin-config.xml
* (edit)
maven-checkstyle-plugin/src/test/plugin-configs/no-files-plugin-config.xml
* (edit)
maven-checkstyle-plugin/src/test/plugin-configs/no-rules-plugin-config.xml
* (edit)
maven-checkstyle-plugin/src/test/plugin-configs/no-severity-plugin-config.xml
* (edit)
maven-checkstyle-plugin/src/test/plugin-configs/no-source-plugin-config.xml
* (edit)
maven-checkstyle-plugin/src/test/plugin-configs/test-source-directory-plugin-config.xml
* (edit)
maven-checkstyle-plugin/src/test/plugin-configs/useFile-plugin-config.xml
> 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
> 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)