Author: hboutemy
Date: Sat Oct 11 15:44:12 2014
New Revision: 1631068

URL: http://svn.apache.org/r1631068
Log:
configured m-checkstyle-p with workaround to avoid checking generated content

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=1631068&r1=1631067&r2=1631068&view=diff
==============================================================================
--- maven/pom/trunk/maven/pom.xml (original)
+++ maven/pom/trunk/maven/pom.xml Sat Oct 11 15:44:12 2014
@@ -794,7 +794,6 @@ under the License.
     <mavenPluginToolsVersion>3.3</mavenPluginToolsVersion>
     <!-- don't fail check for some rules that are too hard to enforce (could 
even be told broken for some) -->
     
<checkstyle.violation.ignore>RedundantThrows,NewlineAtEndOfFile</checkstyle.violation.ignore>
-    <checkstyle.excludes>**/HelpMojo.java</checkstyle.excludes>
   </properties>
 
   <dependencyManagement>
@@ -895,6 +894,9 @@ under the License.
           <configuration>
             <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>
           </configuration>
         </plugin>
       </plugins>


Reply via email to