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:24:41 UTC
[jira] [Created] (MPOM-162) Replace usage of the deprecated
sourceDirectory and testSourceDirectory in Checkstyle configuration
Guillaume Boué created MPOM-162:
-----------------------------------
Summary: 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)