oscerd commented on pull request #1019:
URL: 
https://github.com/apache/camel-kafka-connector/pull/1019#issuecomment-780371659


   I believe you should add an exclusion at maven checkstyle plugin 
configuration level
   
   Here:
   
   ```
                       <executions>
                           <execution>
                               <id>default-cli</id>
                               <phase>validate</phase>
                               <configuration>
                                   <includeResources>false</includeResources>
                                   
<configLocation>camel-checkstyle.xml</configLocation>
                                   <consoleOutput>true</consoleOutput>
                                   
<failsOnError>${checkstyle.failOnViolation}</failsOnError>
                                   <linkXRef>false</linkXRef>
                                   
<suppressionsLocation>camel-checkstyle-suppressions.xml</suppressionsLocation>
                                   <encoding>UTF-8</encoding>
                                   <sourceDirectories>
                                       
<sourceDirectory>${basedir}/src</sourceDirectory>
                                   </sourceDirectories>
                                   
<headerLocation>header-java.txt</headerLocation>
                                   
<includes>**/*.java,**/*.groovy,**/*.scala,**/*.xml,**/*.xsd</includes>
                                   **<excludes>
                                       
**/archetype-resources/**/*.java,**/archetype-resources/**/*.groovy,**/archetype-resources/**/*.scala,**/archetype-resources/**/*.xml,**/org/json/simple/**/*.java,**/camel-checkstyle.xml
                                   </excludes>**
                               </configuration>
                               <goals>
                                   <goal>checkstyle</goal>
                               </goals>
                           </execution>
                       </executions>
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to