Author: gboue Date: Sun Feb 12 19:24:47 2017 New Revision: 1782693 URL: http://svn.apache.org/viewvc?rev=1782693&view=rev Log: [MPOM-162] Replace usage of the deprecated sourceDirectory and testSourceDirectory in Checkstyle configuration
Using the new sourceDirectories and testSourceDirectories instead of the deprecated parameters. Modified: maven/pom/trunk/maven/pom.xml Modified: maven/pom/trunk/maven/pom.xml URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=1782693&r1=1782692&r2=1782693&view=diff ============================================================================== --- maven/pom/trunk/maven/pom.xml (original) +++ maven/pom/trunk/maven/pom.xml Sun Feb 12 19:24:47 2017 @@ -944,8 +944,12 @@ under the License. <configLocation>config/maven_checks.xml</configLocation> <headerLocation>config/maven-header.txt</headerLocation> <!-- workaround to avoid analysing generated content (Modello, plugin help mojo, ...) --> - <sourceDirectory>src/main/java</sourceDirectory> - <testSourceDirectory>src/test/java</testSourceDirectory> + <sourceDirectories> + <sourceDirectory>src/main/java</sourceDirectory> + </sourceDirectories> + <testSourceDirectories> + <testSourceDirectory>src/test/java</testSourceDirectory> + </testSourceDirectories> </configuration> <dependencies> <!-- MCHECKSTYLE-327: the maven_checks.xml was moved to a shared project -->