You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2017/02/12 19:25:41 UTC

[jira] [Commented] (MPOM-162) Replace usage of the deprecated sourceDirectory and testSourceDirectory in Checkstyle configuration

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

Guillaume Boué commented on MPOM-162:
-------------------------------------

FIxed in [r1782693|http://svn.apache.org/viewvc?rev=1782693&view=rev].

> Replace usage of the deprecated sourceDirectory and testSourceDirectory in Checkstyle configuration
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MPOM-162
>                 URL: https://issues.apache.org/jira/browse/MPOM-162
>             Project: Maven POMs
>          Issue Type: Improvement
>          Components: maven
>    Affects Versions: MAVEN-30
>            Reporter: Guillaume Boué
>            Assignee: Guillaume Boué
>             Fix For: MAVEN-31
>
>
> The current Checkstyle configuration in the Maven Parent uses:
> {code:xml}
> <sourceDirectory>src/main/java</sourceDirectory>
> <testSourceDirectory>src/test/java</testSourceDirectory>
> {code}
> Those two parameters [are deprecated|https://maven.apache.org/plugins-archives/maven-checkstyle-plugin-2.16/check-mojo.html#sourceDirectory], and need to be replaced with
> {code:xml}
> <sourceDirectories>
>   <sourceDirectory>src/main/java</sourceDirectory>
> </sourceDirectories>
> <testSourceDirectories>
>   <testSourceDirectory>src/test/java</testSourceDirectory>
> </testSourceDirectories>
> {code}



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