[ 
https://issues.apache.org/jira/browse/MCHECKSTYLE-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862811#comment-15862811
 ] 

Hudson commented on MCHECKSTYLE-336:
------------------------------------

SUCCESS: Integrated in Jenkins build maven-plugins #8862 (See 
[https://builds.apache.org/job/maven-plugins/8862/])
[MCHECKSTYLE-336] Fail the build when deprecated parameters sourceDirectory or 
testSourceDirectory are used

With the major upgrade to 3.0.0, let's prepare the removal of the deprecated 
parameters. The build will fail if they are specified so that users can catch 
their usage more easily. They can be removed from the code in a later version. 
(gboue: [http://svn.apache.org/viewvc/?view=rev&rev=1782671])
* (edit) maven-checkstyle-plugin/src/it/MCHECKSTYLE-137/pom.xml
* (edit) 
maven-checkstyle-plugin/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java
* (edit) 
maven-checkstyle-plugin/src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleViolationCheckMojo.java
* (edit) 
maven-checkstyle-plugin/src/main/java/org/apache/maven/plugins/checkstyle/exec/CheckstyleExecutorRequest.java
* (edit) maven-checkstyle-plugin/src/site/apt/index.apt.vm
* (edit) 
maven-checkstyle-plugin/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleViolationCheckMojoTest.java
* (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


> Fail the build when deprecated parameters sourceDirectory or 
> testSourceDirectory are used
> -----------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-336
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-336
>             Project: Maven Checkstyle Plugin
>          Issue Type: Improvement
>          Components: checkstyle:check, checkstyle:checkstyle, 
> checkstyle:checkstyle-aggregate
>    Affects Versions: 2.17
>            Reporter: Guillaume Boué
>            Assignee: Guillaume Boué
>             Fix For: 3.0.0
>
>
> The parameters {{sourceDirectory}} and {{testSourceDirectory}} are deprecated 
> since version 2.13 of the plugin. They were both superseded with  
> {{sourceDirectories}} and {{testSourceDirectories}} respectively.
> In order for users to easily catch usage of those parameters, and prepare 
> their removal in a future version, the build will fail if they are specified, 
> with this major upgrade. A mention in the index of the site is further added 
> to document this.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to